Manual:Hooks/EditSectionLinkForOther
From MediaWiki.org
This feature has been deprecated and should not be used with current versions of MediaWiki.
This feature was deprecated (or possibly removed completely) in version 1.14.0.
| EditSectionLinkForOther | |
|---|---|
| Available from version 1.11.0 Removed in version 1.14.0 Override the return value of Linker::editSectionLinkForOther() |
|
*Define function: |
function fnMyHook( $skin, $title, $section, $hint, $link, $result ) { ... }
|
*Attach hook: |
$wgHooks['EditSectionLinkForOther'][] = 'fnMyHook'; |
| Called from: | Linker.php |
*For more information about attaching hooks, see Manual:Hooks.
*For examples of extensions using this hook, see Category:EditSectionLinkForOther extensions.
Warning: This hook has been removed in 1.14, use DoEditSectionLink in that version!
[edit] Details
- $skin: Skin rendering the UI
- $title: Title being linked to
- $section: Section to link to
- $hint: Anchor title/tooltip attributes
- $link: Default link
- $result: Result (alter this to override the generated links)
Can be used to change, modify, add links on the right side of the section header