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;
	}