A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Hooks/SkinSubPageSubtitle below:

Manual:Hooks/SkinSubPageSubtitle - MediaWiki

SkinSubPageSubtitle Available from version 1.12.0
Called before building the list of subpage links above a subpage
Define function:
public static function onSkinSubPageSubtitle( &$subpages, $skin, $out ) { ... }
Attach hook: In extension.json:
{
	"Hooks": {
		"SkinSubPageSubtitle": "MediaWiki\\Extension\\MyExtension\\Hooks::onSkinSubPageSubtitle"
	}
}
Called from: File(s): Skin.php Interface: SkinSubPageSubtitleHook.php

For more information about attaching hooks, see Manual:Hooks .
For examples of extensions using this hook, see Category:SkinSubPageSubtitle extensions.

Called before building the list of subpage links above a subpage (like this page).

Return false if you want the content of $subpages to be displayed (this will override Skin::subPageSubtitle()'s functionality), return true if you want the default set of links to be generated (unless, of course, another hook overrides).


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4