Manual:Hooks/SkinTemplateBuildNavUrlsNav urlsAfterPermalink

From Linux Web Expert

SkinTemplateBuildNavUrlsNav_urlsAfterPermalink
<translate> Available from <tvar name=1><translate> version <tvar (r11803, codereview)</tvar></translate>
<translate> Removed in <tvar name=1><translate> version <tvar (Gerrit change 701110)</tvar></translate>
This hook is called after creating the "permanent link" tab. For more information, see phab:T254431.
<translate> Define function:</translate>
public static function onSkinTemplateBuildNavUrlsNav_urlsAfterPermalink( &$skin, &$nav_urls, &$revid, &$revid2 ) { ... }
<translate> Attach hook:</translate> <translate> In <tvar name=1>extension.json</tvar>:</translate>
{
	"Hooks": {
		"SkinTemplateBuildNavUrlsNav_urlsAfterPermalink": "MediaWiki\\Extension\\MyExtension\\Hooks::onSkinTemplateBuildNavUrlsNavurlsAfterPermalink"
	}
}
<translate> Called from:</translate> <translate> File(s):</translate> skins/SkinTemplate.php
<translate> Interface:</translate> SkinTemplateBuildNavUrlsNav_urlsAfterPermalinkHook.php

<translate> For more information about attaching hooks, see <tvar name=1>Manual:Hooks </tvar>.</translate>
<translate> For examples of extensions using this hook, see <tvar name=cat>Category:SkinTemplateBuildNavUrlsNav_urlsAfterPermalink extensions</tvar>.</translate>

Details