function getNsIndex( $text ) {
		$lctext = $this->lc( $text );
		if ( ( $ns = MWNamespace::getCanonicalIndex( $lctext ) ) !== null ) {
			return $ns;
		}
		$ids = $this->getNamespaceIds();
		return isset( $ids[$lctext] ) ? $ids[$lctext] : false;
	}
function getNsIndex( $text ) {
		$lctext = $this->lc( $text );
		if ( ( $ns = MWNamespace::getCanonicalIndex( $lctext ) ) !== null ) {
			return $ns;
		}
		$ids = $this->getNamespaceIds();
		return isset( $ids[$lctext] ) ? $ids[$lctext] : false;
	}
function getNsIndex ( $ text ) { $ lctext = $ this -> lc ( $ text ) ; if ( ( $ ns = MWNamespace :: getCanonicalIndex ( $ lctext ) ) !== null ) { return $ ns ; } $ ids = $ this -> getNamespaceIds ( ) ; return isset ( $ ids [ $ lctext ] ) ? $ ids [ $ lctext ] : false ; }
Get a namespace key by value, case insensitive.  Canonical namespace
names override custom ones defined for the current language.

@param $text String
@return mixed An integer if $text is a valid value otherwise false
Get a namespace key by value case insensitive . Canonical namespace names override custom ones defined for the current language .