encodeJson( $this->getPygmentsLanguages() ) . ');' . 've.dm.MWSyntaxHighlightNode.static.addGeshiToPygmentsMap(' . $context->encodeJson( SyntaxHighlightGeSHiCompat::getGeSHiToPygmentsMap() ) . ');' . 've.dm.MWSyntaxHighlightNode.static.addPygmentsToAceMap(' . $context->encodeJson( SyntaxHighlightAce::getPygmentsToAceMap() ) . ');'; } /** * Get a full list of available languages * @return array */ private function getPygmentsLanguages() { return array_keys( require __DIR__ . '/../SyntaxHighlight.lexers.php' ); } /** * @return bool */ public function enableModuleContentVersion() { return true; } /** * @return bool */ public function supportsURLLoading() { return false; } }