5 global $wgInterwikiViewOnly;
7 if ( $wgInterwikiViewOnly ===
false ) {
23 global $wgInterwikiCentralDB;
25 if ( $wgInterwikiCentralDB ===
null || $wgInterwikiCentralDB ===
wfWikiID() ) {
29 if ( !Language::fetchLanguageName( $prefix ) ) {
32 if ( $prefix === $localPrefixInfo[
'iw_prefix'] ) {
40 [
'iw_prefix' => $prefix ],
$wgLogTypes
The logging system has two levels: an event type, which describes the general category and can be vie...
$wgAvailableRights
A list of available rights, in addition to the ones defined by the core.
$wgLogActionsHandlers
The same as above, but here values are names of classes, not messages.
wfGetDB( $db, $groups=[], $wiki=false)
Get a Database object.
wfWikiID()
Get an ASCII string identifying this wiki This is used as a prefix in memcached keys.
static onInterwikiLoadPrefix( $prefix, &$iwData)
static onExtensionFunctions()
static getAllPrefixes( $local=null)
Returns all interwiki prefix definitions.
the array() calling protocol came about after MediaWiki 1.4rc1.