Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F2753949
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
Fri, Jul 3, 21:56 (6 h, 14 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
d9/ed/3f337df1dbdc522ab42c0912bb8d
Default Alt Text
ImagePageShowTOCHook.php (602 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment