public static function getAllWikiInfos() {
		if ( !isset( self::$wikiInfos ) ) {
			$wikiInfos = self::getAllDbInfos();
			foreach ( $wikiInfos as $dbname => &$wikiInfo ) {
				if ( !$wikiInfo['url'] ) {
					unset( $wikiInfos[ $dbname ] );
				}
			}

			self::$wikiInfos = $wikiInfos;
		}

		return self::$wikiInfos;
	}
public static function getAllWikiInfos() {
		if ( !isset( self::$wikiInfos ) ) {
			$wikiInfos = self::getAllDbInfos();
			foreach ( $wikiInfos as $dbname => &$wikiInfo ) {
				if ( !$wikiInfo['url'] ) {
					unset( $wikiInfos[ $dbname ] );
				}
			}

			self::$wikiInfos = $wikiInfos;
		}

		return self::$wikiInfos;
	}
public static function getAllWikiInfos ( ) { if ( ! isset ( self :: $ wikiInfos ) ) { $ wikiInfos = self :: getAllDbInfos ( ) ; foreach ( $ wikiInfos as $ dbname => & $ wikiInfo ) { if ( ! $ wikiInfo [ 'url' ] ) { unset ( $ wikiInfos [ $ dbname ] ) ; } } self :: $ wikiInfos = $ wikiInfos ; } return self :: $ wikiInfos ; }
Like getAllDbInfos, but without databases that aren't wikis.

Because meta_p.wiki also contains dbname='centralauth' we need to
filter out non-wikis. Do so by removing rows with NULL values for url
(see wmbug.com/65789). Could simply be done in SQL, but we want to
cache all db infos, so do here instead.

@return Array
Like getAllDbInfos but without databases that aren t wikis .