Extension:CentralAuth/Hooks/CentralAuthWikiList

CentralAuthWikiList
Available from version ???

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.

ParametersEdit

  • &$wikiList: An array of strings (string[]) representing a list of wikis. Defaults to null.