public function getLangNames() {
		// Lazy-load and cache
		if ( $this->langNames === null ) {
			$path = $this->localBaseDir . '/language/mw-classes/Names.php';
			// @codeCoverageIgnoreStart
			if ( !is_readable( $path ) ) {
				$this->errTrigger( 'Names.php is missing', __METHOD__, E_NOTICE );
				$this->langNames = [];
				return [];
			}
			// @codeCoverageIgnoreEnd

			// Load it
			require_once $path;
			$this->langNames = \MediaWiki\Languages\Data\Names::$names;
		}

		return $this->langNames;
	}
public function getLangNames() {
		// Lazy-load and cache
		if ( $this->langNames === null ) {
			$path = $this->localBaseDir . '/language/mw-classes/Names.php';
			// @codeCoverageIgnoreStart
			if ( !is_readable( $path ) ) {
				$this->errTrigger( 'Names.php is missing', __METHOD__, E_NOTICE );
				$this->langNames = [];
				return [];
			}
			// @codeCoverageIgnoreEnd

			// Load it
			require_once $path;
			$this->langNames = \MediaWiki\Languages\Data\Names::$names;
		}

		return $this->langNames;
	}
public function getLangNames ( ) { // Lazy-load and cache if ( $ this -> langNames === null ) { $ path = $ this -> localBaseDir . '/language/mw-classes/Names.php' ; // @codeCoverageIgnoreStart if ( ! is_readable ( $ path ) ) { $ this -> errTrigger ( 'Names.php is missing' , __METHOD__ , E_NOTICE ) ; $ this -> langNames = [ ] ; return [ ] ; } // @codeCoverageIgnoreEnd // Load it require_once $ path ; $ this -> langNames = \ MediaWiki \ Languages \ Data \ Names :: $ names ; } return $ this -> langNames ; }
Return all known languages.

NOTE: This method includes languages that have no translations.
If you create a "Language selector" that relates to the interface
where Intuition messages are used, use getAvailableLangs() instead.

@return array
Return all known languages .