Category:Pages with syntax highlighting errors: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(Created page with "{{ll|Extension:SyntaxHighlight}} adds pages that have a bad <code>lang</code> attribute in a {{tag|source|open}} or {{tag|syntaxhighlight|open}} tag to this tracking category....")
 
No edit summary
Line 1: Line 1:
{{ll|Extension:SyntaxHighlight}} adds pages that have a bad <code>lang</code> attribute in a {{tag|source|open}} or {{tag|syntaxhighlight|open}} tag to this tracking category.
Lists pages that have a bad <code>lang</code> attribute in a {{code|<source>}} or {{code|<syntaxhighlight>}} tag to this tracking category.


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


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

Revision as of 02:09, 12 October 2020

Lists 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 701 pages are in this category, out of 701 total.

G

S