Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4105372
ImagePageShowTOCHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
602 B
Referenced Files
None
Subscribers
None
ImagePageShowTOCHook.php
View Options
<?php
namespace
MediaWiki\Page\Hook
;
use
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
Tue, Aug 18, 18:57 (2 w, 6 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
c4/bd/6132badd3a809dfb6da1d63ee230
Default Alt Text
ImagePageShowTOCHook.php (602 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment