Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4064833
ArticlePageDataBeforeHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
845 B
Referenced Files
None
Subscribers
None
ArticlePageDataBeforeHook.php
View Options
<?php
namespace
MediaWiki\Page\Hook
;
use
MediaWiki\Page\WikiPage
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "ArticlePageDataBefore" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
ArticlePageDataBeforeHook
{
/**
* This hook is called before loading data of an article from the database.
*
* @since 1.35
*
* @param WikiPage $wikiPage WikiPage whose data will be loaded
* @param array &$fields Fields to load from the database
* @param array &$tables Tables to load from the database
* @param array &$joinConds Join conditions to load from the database
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onArticlePageDataBefore
(
$wikiPage
,
&
$fields
,
&
$tables
,
&
$joinConds
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 16 2026, 14:27 (12 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
21/91/9114ec3097f77d2947b6489633d2
Default Alt Text
ArticlePageDataBeforeHook.php (845 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment