Jump to content

Manual:Hooks/SkinTemplateBuildNavUrlsNav urlsAfterPermalink

From mediawiki.org
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]