Page MenuHomeWickedGov Phorge

DisplayOldSubtitleHook.php
No OneTemporary

Size
648 B
Referenced Files
None
Subscribers
None

DisplayOldSubtitleHook.php

<?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

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)

Event Timeline