Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5969213
TitleIsAlwaysKnownHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
879 B
Referenced Files
None
Subscribers
None
TitleIsAlwaysKnownHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
use
MediaWiki\Title\Title
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "TitleIsAlwaysKnown" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
TitleIsAlwaysKnownHook
{
/**
* This hook is called when determining if a page exists. Use this hook to
* override default behavior for determining if a page exists. If $isKnown is
* kept as null, regular checks happen. If it's a boolean, this value is returned
* by the isKnown method.
*
* @since 1.35
*
* @param Title $title Title object that is being checked
* @param bool|null &$isKnown Whether MediaWiki currently thinks this page is known
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onTitleIsAlwaysKnown
(
$title
,
&
$isKnown
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 13:36 (1 d, 5 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
86/64/a00421519f0a7a42226c437bbac3
Default Alt Text
TitleIsAlwaysKnownHook.php (879 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment