Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5961781
SkinTemplateGetLanguageLinkHook.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
SkinTemplateGetLanguageLinkHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
use
MediaWiki\Output\OutputPage
;
use
MediaWiki\Title\Title
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "SkinTemplateGetLanguageLink" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
SkinTemplateGetLanguageLinkHook
{
/**
* This hook is called after building the data for a language link from
* which the actual html is constructed.
*
* @since 1.35
*
* @param array &$languageLink Array containing data about the link. The following keys can be
* modified: href, text, title, class, lang, hreflang. Each of them is a string.
* @param Title $languageLinkTitle Title object belonging to the external language link
* @param Title $title Title object of the page the link belongs to
* @param OutputPage $outputPage OutputPage object the links are built from
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onSkinTemplateGetLanguageLink
(
&
$languageLink
,
$languageLinkTitle
,
$title
,
$outputPage
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 08:23 (1 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
2b/ca/95de76974a4156b4f95102ba2a74
Default Alt Text
SkinTemplateGetLanguageLinkHook.php (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment