Extension:MobileFrontend/MobileLicenseLink

From mediawiki.org
MobileLicenseLink
Available from version 1.0.0
Internal hook that allows the modification of the license displayed in the footer or editor
Define function:
public static function onMobileLicenseLink( string $link that will be applied as raw params to the $msg, MobileContext $context, array $attribs to use on the link (unused), string $msg message key to use for label for license link ) { ... }
Attach hook: In extension.json:
{
	"Hooks": {
		"MobileLicenseLink": "MediaWiki\\Extension\\MyExtension\\Hooks::onMobileLicenseLink"
	}
}
Called from: File(s): MobileFrontend extension/MobileFrontend.skin.hooks.php
Interface: MobileLicenseLinkHook.php

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