Extension:CentralAuth/CentralAuthWikiList

From MediaWiki.org

Jump to: navigation, search
CentralAuthWikiList
Available from version 1.13.0
Get the list of wikis in which CentralAuth is active

*Define function:
function fnMyHook( &$wikiList ) { ... }

*Attach hook:
$wgHooks['CentralAuthWikiList'][] = 'fnMyHook';
Called from: CentralAuthUser.php

*For more information about attaching hooks, see Manual:Hooks.
*For examples of extensions using this hook, see Category:CentralAuthWikiList extensions.


[edit] Details

  • &$wikiList: list of wikis
If $wikiList isn't changed, then $wgLocalDatabases is used.