Manual:Hooks/SkinCopyrightFooter
From MediaWiki.org
| SkinCopyrightFooter | |
|---|---|
| Available from version 1.16.0 (r52361) Allow for site and per-namespace customization of copyright notice. |
|
*Define function: |
function fnMyHook( $title, $type, &$msg, &$link ) { ... }
|
*Attach hook: |
$wgHooks['SkinCopyrightFooter'][] = 'MyExtensionHooks::someExample'; |
| Called from: | Skin.php |
*For more information about attaching hooks, see Manual:Hooks.
*For examples of extensions using this hook, see Category:SkinCopyrightFooter extensions.
[edit] Details
- $title: displayed page title
- $type: 'normal' or 'history' for old/diff views
- &$msg: overridable message; usually 'copyright' or 'history_copyright'. This message must be in HTML format, not wikitext!
- &$link: overridable HTML link to be passed into the message as $1