Manual:Hooks/PersonalUrls
From MediaWiki.org
< Manual:Hooks(Redirected from Manual:MediaWiki hooks/PersonalUrls)
| PersonalUrls | |
|---|---|
| Available from version 1.7.0 Called after the personal URLs have been set up, before they are shown. |
|
*Define function: |
function fnMyHook(&$personal_urls, &$wgTitle) { ... }
|
*Attach hook: |
$wgHooks['PersonalUrls'][] = 'fnMyHook'; |
| Called from: | SkinTemplate.php |
*For more information about attaching hooks, see Manual:Hooks.
*For examples of extensions using this hook, see Category:PersonalUrls extensions.
[edit] Details
- $personal_urls: the array of URLs set up so far
- $wgTitle: the Title object of the current article

