Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4150614
DisplayOldSubtitleHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
648 B
Referenced Files
None
Subscribers
None
DisplayOldSubtitleHook.php
View Options
<?php
namespace
MediaWiki\Page\Hook
;
use
Article
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "DisplayOldSubtitle" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
DisplayOldSubtitleHook
{
/**
* This hook is called before creating subtitle when browsing old versions of
* an article.
*
* @since 1.35
*
* @param Article $article Article being viewed
* @param int &$oldid Old ID being viewed
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onDisplayOldSubtitle
(
$article
,
&
$oldid
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 19 2026, 19:39 (6 w, 6 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
d9/52/43acc8040bb8f6d7121d6ff67ae0
Default Alt Text
DisplayOldSubtitleHook.php (648 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment