MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onImportSources (&$importSources) | |
This hook is called when reading from the $wgImportSources configuration variable. | |
Stable to implement.
Definition at line 9 of file ImportSourcesHook.php.
MediaWiki\Hook\ImportSourcesHook::onImportSources | ( | & | $importSources | ) |
This hook is called when reading from the $wgImportSources configuration variable.
This can be used to lazy-load the import sources list.
array | &$importSources | The value of $wgImportSources. Modify as necessary. See the comment in DefaultSettings.php for the detail of how to structure this array. |
Implemented in MediaWiki\Api\ApiHookRunner, and MediaWiki\HookContainer\HookRunner.