Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F6099691
SkinEditSectionLinksHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
SkinEditSectionLinksHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
use
MediaWiki\Language\Language
;
use
MediaWiki\Skin\Skin
;
use
MediaWiki\Title\Title
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "SkinEditSectionLinks" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
SkinEditSectionLinksHook
{
/**
* Use this hook to modify section edit links.
*
* @since 1.35
*
* @param Skin $skin Skin object rendering the UI
* @param Title $title Title being linked to (may not be the same as the page title,
* if the section is included from a template)
* @param string $section Designation of the section being pointed to, to be included in
* the link, like "§ion=$section"
* @param string $sectionTitle Section title, used in the default tooltip. Escape before using.
* By default, this is wrapped in the 'editsectionhint' message.
* @param array &$result Array containing all link detail arrays. Each link detail array should
* contain the following keys:
* - `targetTitle`: Target Title object
* - `text`: String for the text
* - `attribs`: Array of attributes
* - `query`: Array of query parameters to add to the URL
* @param Language $lang Language to use for the link in the wfMessage function
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onSkinEditSectionLinks
(
$skin
,
$title
,
$section
,
$sectionTitle
,
&
$result
,
$lang
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Oct 6 2026, 07:09 (6 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
c2/d6/ed6891b742d757891a3f75b80ebb
Default Alt Text
SkinEditSectionLinksHook.php (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment