Difference between revisions of "Category:Pages with syntax highlighting errors"

From Official Kodi Wiki
Jump to: navigation, search
m (rollback)
 
Line 1: Line 1:
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.
+
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.
  
 
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].

Latest revision as of 21:19, 21 May 2020

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.

1 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

2 See also

Pages in category "Pages with syntax highlighting errors"

The following 7 pages are in this category, out of 7 total.