Category:Pages with syntax highlighting errors
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"
.
Pages in category "Pages with syntax highlighting errors"
The following 2 pages are in this category, out of 2 total.