Category:Pages with syntax highlighting errors: Difference between revisions

Content deleted Content added
Explain that you should not remove an unsupported language.
start a Q & A on support
Line 6:
}}
 
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_GeSHi.lexers.php a known computing language name] as an [[Attribute (computing)|attribute]] of the <nowiki><source lang=></nowiki> 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].
 
== Details ==
Many languages (mostly obscure) were de-supported due to the switch from [[GeSHi]] to Pygments for [[syntax highlighting]] ([[phab:T85794]]). Fallbacks may be added to [https://phabricator.wikimedia.org/diffusion/ESHG/browse/master/SyntaxHighlight_GeSHi.compat.php SyntaxHighlight_GeSHi.compat.php] where languages are sufficiently similar. For unsupported commonly used languages, please contribute language definitions to [http://pygments.org/ Pygments]. See also [[phab:T105889]].
 
* '''Q.''' How do you get [[special:diff/737726535|<nowiki><source lang="text"></nowiki>]] supported? This was supported under [[GeSHi]]. Text is not an obscure language.
* '''A.'''
 
== See also ==