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'][] = 'MyExtensionHooks::someExample';
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.
Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox