|
MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...

Public Member Functions | |
| onSkinEditSectionLinks ( $skin, $title, $section, $sectionTitle, &$result, $lang) | |
| Use this hook to modify section edit links. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "SkinEditSectionLinks" to register handlers implementing this interface.
Definition at line 16 of file SkinEditSectionLinksHook.php.
| MediaWiki\Hook\SkinEditSectionLinksHook::onSkinEditSectionLinks | ( | $skin, | |
| $title, | |||
| $section, | |||
| $sectionTitle, | |||
| & | $result, | ||
| $lang ) |
Use this hook to modify section edit links.
| Skin | $skin | Skin object rendering the UI |
| Title | $title | Title being linked to (may not be the same as the page title, if the section is included from a template) |
| string | $section | Designation of the section being pointed to, to be included in the link, like "§ion=$section" |
| string | $sectionTitle | Section title, used in the default tooltip. Escape before using. By default, this is wrapped in the 'editsectionhint' message. |
| array | &$result | Array containing all link detail arrays. Each link detail array should contain the following keys:
|
| Language | $lang | Language to use for the link in the wfMessage function |
Implemented in MediaWiki\HookContainer\HookRunner.