Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4135569
ImagePageShowTOCHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
617 B
Referenced Files
None
Subscribers
None
ImagePageShowTOCHook.php
View Options
<?php
namespace
MediaWiki\Page\Hook
;
use
MediaWiki\Page\ImagePage
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "ImagePageShowTOC" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
ImagePageShowTOCHook
{
/**
* This hook is called when the file toc on an image page is generated.
*
* @since 1.35
*
* @param ImagePage $page
* @param string[] &$toc Array of `<li>` strings
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onImagePageShowTOC
(
$page
,
&
$toc
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, Aug 19, 13:16 (3 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
1b/d4/13514aaf83fbdbc82c0051106eed
Default Alt Text
ImagePageShowTOCHook.php (617 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment