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:
public static function onCentralAuthWikiList( &$wikiList ) { ... }

Attach hook:
$wgHooks['CentralAuthWikiList'][] = 'MyExtensionHooks::onCentralAuthWikiList';
Called from: File(s): CentralAuthUser.php

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


Details[edit | edit source]

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