Manual:Hooks/SkinTemplateBuildNavUrlsNav urlsAfterPermalink
This feature was removed from MediaWiki core in version 1.37.0 (after being deprecated in 1.35.0). Please see SidebarBeforeOutput for an alternative way to use this feature. |
SkinTemplateBuildNavUrlsNav_urlsAfterPermalink | |
---|---|
Available from version 1.6.0 (r11803, codereview) Removed in version 1.37.0 (Gerrit change 701110) This hook is called after creating the "permanent link" tab. For more information, see phab:T254431. | |
Define function: | public static function onSkinTemplateBuildNavUrlsNav_urlsAfterPermalink( &$skin, &$nav_urls, &$revid, &$revid2 ) { ... }
|
Attach hook: | In extension.json:
{
"Hooks": {
"SkinTemplateBuildNavUrlsNav_urlsAfterPermalink": "MediaWiki\\Extension\\MyExtension\\Hooks::onSkinTemplateBuildNavUrlsNavurlsAfterPermalink"
}
}
|
Called from: | File(s): skins/SkinTemplate.php |
Interface: | SkinTemplateBuildNavUrlsNav_urlsAfterPermalinkHook.php |
For more information about attaching hooks, see Manual:Hooks .
For examples of extensions using this hook, see Category:SkinTemplateBuildNavUrlsNav_urlsAfterPermalink extensions.
Details
edit- Should be used in conjunction with the BaseTemplateToolbox hook.