Manual:Hooks/PageHistoryLineEnding

From MediaWiki.org

Jump to: navigation, search
PageHistoryLineEnding
Available from version 1.10.0
right before the end <li> is added to a history line.

*Define function:
function fnMyHook($row, $s) { ... }

*Attach hook:
$wgHooks['PageHistoryLineEnding'][] = 'fnMyHook';
Called from: PageHistory.php

*For more information about attaching hooks, see Manual:Hooks.
*For examples of extensions using this hook, see Category:PageHistoryLineEnding extensions.


[edit] Details

  • $row: the revision row for this line
  • $s: the string representing this parsed line
Personal tools