Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4160875
DisplayOldSubtitleHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
663 B
Referenced Files
None
Subscribers
None
DisplayOldSubtitleHook.php
View Options
<?php
namespace
MediaWiki\Page\Hook
;
use
MediaWiki\Page\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 20 2026, 00:40 (9 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
c1/d1/9b62be882794358e3e5f3a582fef
Default Alt Text
DisplayOldSubtitleHook.php (663 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment