Category:Pages with syntax highlighting errors: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
m (categories on overview page)
m (added Category:Wiki using HotCat)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{polluted category}}
This category contains pages with {{xtag|syntaxhighlight}} or {{xtag|source}} calls which have encountered errors in parsing. To correct them, just define [https://github.com/wikimedia/mediawiki-extensions-SyntaxHighlight_GeSHi/blob/master/SyntaxHighlight.lexers.php a known computing language name] as an attribute (computing) of the <code><nowiki><source lang=></nowiki></code> tag.
{{Wikipedia category|hidden=yes|tracking=yes}}
{{empty category}}
 
This category contains pages with {{xtag|syntaxhighlight}} or {{xtag|source}} calls which have encountered errors in parsing. To correct them, just define [https://github.com/wikimedia/mediawiki-extensions-SyntaxHighlight_GeSHi/blob/master/SyntaxHighlight.lexers.php a known computing language name] as an [[Attribute (computing)|attribute]] of the <code><nowiki><source lang=></nowiki></code> tag.


Some languages are not yet supported. If the language is valid, do not change or remove the name of the language just to remove the maintenance category. The real fix is to get the language supported by [http://pygments.org/ Pygments].
Some languages are not yet supported. If the language is valid, do not change or remove the name of the language just to remove the maintenance category. The real fix is to get the language supported by [http://pygments.org/ Pygments].
Line 15: Line 11:
* [[Wikipedia:Syntax highlighting]]
* [[Wikipedia:Syntax highlighting]]
* [[mw:Extension:SyntaxHighlight]]
* [[mw:Extension:SyntaxHighlight]]
[[Category:Wiki]]

Latest revision as of 09:01, 26 August 2021

This category contains pages with <syntaxhighlight> or <source> calls which have encountered errors in parsing. To correct them, just define a known computing language name as an attribute (computing) of the <source lang=> tag.

Some languages are not yet supported. If the language is valid, do not change or remove the name of the language just to remove the maintenance category. The real fix is to get the language supported by Pygments.

Details

Many languages (mostly obscure) were de-supported due to the switch from GeSHi to Pygments for syntax highlighting. Fallbacks may be added to SyntaxHighlight_GeSHi.compat.php where languages are sufficiently similar. For unsupported commonly used languages, please contribute language definitions to Pygments.

A list of the lexers understood in version 1.30 that this wiki is running can be found here: https://phabricator.wikimedia.org/diffusion/ESHG/browse/REL1_30/SyntaxHighlight.lexers.php

See also

This category currently contains no pages or media.