Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4056326
ImportSourcesHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
714 B
Referenced Files
None
Subscribers
None
ImportSourcesHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "ImportSources" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
ImportSourcesHook
{
/**
* This hook is called when reading from the $wgImportSources configuration variable.
*
* This can be used to lazy-load the import sources list.
*
* @since 1.35
*
* @param array &$importSources The value of $wgImportSources. Modify as necessary.
* See \MediaWiki\MainConfigSchema::ImportSources.
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onImportSources
(
&
$importSources
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 16 2026, 02:47 (13 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
0a/b2/224e2088ff376ca37a05ee99aa9e
Default Alt Text
ImportSourcesHook.php (714 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment