MediaWiki  master
SkinEditSectionLinksHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use Language;
6 use Skin;
7 use Title;
8 
38  public function onSkinEditSectionLinks( $skin, $title, $section, $sectionTitle,
39  &$result, $lang
40  );
41 }
Base class for language-specific code.
Definition: Language.php:56
The main skin class which provides methods and properties for all other skins.
Definition: Skin.php:52
Represents a title within MediaWiki.
Definition: Title.php:52
This is a hook handler interface, see docs/Hooks.md.
onSkinEditSectionLinks( $skin, $title, $section, $sectionTitle, &$result, $lang)
Use this hook to modify section edit links.
if(!isset( $args[0])) $lang