< Extension:CentralAuth < Hooks
CentralAuthWikiList | |
---|---|
Available from version 1.13.0 Get the list of wikis in which CentralAuth is active |
|
Define function: | public static function onCentralAuthWikiList( ?array &$wikiList ) { ... }
|
Attach hook: | $wgHooks['CentralAuthWikiList'][] = 'MyExtensionHooks::onCentralAuthWikiList';
|
Called from: | File(s): CentralAuth / includes/CentralAuthUser.php Function(s): getWikiList |
For more information about attaching hooks, see Manual:Hooks
For examples of other extensions using this hook, see Category:CentralAuthWikiList extensions.
Parameters
&$wikiList
: Anarray
of strings (string[]
) representing a list of wikis. Defaults tonull
. When not set, $wgLocalDatabases will be used.
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.