Manual:Hooks/DisplayOldSubtitle
From MediaWiki.org
| DisplayOldSubtitle | |
|---|---|
| Available from version 1.8.0 Allows extensions to modify the displaying of links to other revisions when browsing through revisions. |
|
*Define function: |
function fnMyHook( $article, $oldid ) { ... }
|
*Attach hook: |
$wgHooks['DisplayOldSubtitle'][] = 'MyExtensionHooks::someExample'; |
| Called from: | Article.php |
*For more information about attaching hooks, see Manual:Hooks.
*For examples of extensions using this hook, see Category:DisplayOldSubtitle extensions.
[edit] Details
$article - The article object.
$oldid - The id of the revision to show.
