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

From GhostBSD Wiki
Jump to: navigation, search
(Created page with "Extension:SyntaxHighlight adds pages that have a bad lang attribute in a <nowiki><source> or <syntaxhighlight> </nowiki> tag to this tracking category. The most common error...")
 
Line 4: Line 4:
  
 
The second most common error is the use of lang="sh" or lang="shell" which are unsupported. These can typically be replaced with lang="bash" or lang="shell-session".
 
The second most common error is the use of lang="sh" or lang="shell" which are unsupported. These can typically be replaced with lang="bash" or lang="shell-session".
 +
 +
Source: https://www.mediawiki.org/wiki/Category:Pages_with_syntax_highlighting_errors
 +
 +
 +
[[Category:Maintenance]]

Revision as of 03:14, 29 October 2020

Extension:SyntaxHighlight adds pages that have a bad lang attribute in a <source> or <syntaxhighlight> tag to this tracking category.

The most common error that leads to pages being tagged with this category is a <syntaxhighlight> or <source> tag with no lang attribute at all. These can typically be replaced with <pre> or lang="bash" can be added.

The second most common error is the use of lang="sh" or lang="shell" which are unsupported. These can typically be replaced with lang="bash" or lang="shell-session".

Source: https://www.mediawiki.org/wiki/Category:Pages_with_syntax_highlighting_errors

This category currently contains no pages or media.