Page MenuHomeWickedGov Phorge

ImportSourcesHook.php
No OneTemporary

Size
714 B
Referenced Files
None
Subscribers
None

ImportSourcesHook.php

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

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)

Event Timeline