DokuWiki

It's better when it's simple

User Tools

Site Tools


Sidebar

Translations of this page?:

Learn about DokuWiki

Advanced Use

Corporate Use

Our Community


Follow us on Facebook, Twitter and other social networks.

Our Privacy Policy

devel:event:html_showrev_output

HTML_SHOWREV_OUTPUT

Description:
modify the showrev warning HTML
DefaultAction:
display the p_locale_xhtml('showrev')
Preventable:
yes
Added:
2015-02-19

This event is signalled by html_show() in inc/html.php. Use this to change the default old revision warning message.

Passed Data

The passed Doku_Event object has the field: $data.

The $data field is an array with the entries:

  • $data['rev']: reference to the $REV global variable
  • $data['date_at']: reference to the $DATE_AT global variable

The BEFORE event let you prevent the default behaviour and replace it with your own.

See also

devel/event/html_showrev_output.txt · Last modified: 2018-12-08 15:34 by torpedo