MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onSkinEditSectionLinks ( $skin, $title, $section, $tooltip, &$result, $lang) | |
Use this hook to modify section edit links. | |
Stable to implement.
Definition at line 13 of file SkinEditSectionLinksHook.php.
MediaWiki\Hook\SkinEditSectionLinksHook::onSkinEditSectionLinks | ( | $skin, | |
$title, | |||
$section, | |||
$tooltip, | |||
& | $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 | $tooltip | 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.