Manual:Hooks/SkinTemplateBuildNavUrlsNav urlsAfterPermalink

From mediawiki.org
Jump to navigation Jump to search
SkinTemplateBuildNavUrlsNav_urlsAfterPermalink
Available from version 1.6.0 (r11803)
Removed in version 1.37.0
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": "MyExtensionHooks::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]