Category:Pages with syntax highlighting errors

From Wikitech
Jump to navigation Jump to search

mw:Extension:SyntaxHighlight adds pages to this tracking category if they have a missing or unsupported lang="…" attribute in a <source> or <syntaxhighlight> tag.

Common problems and solutions:

  1. a missing attribute
    1. Look for a specific Supported language
    2. Add lang="text"
  2. the unsupported attributes lang="sh" or lang="shell"
    1. Add lang="bash"
    2. Add lang="shell-session"
  3. the unsupported attributes lang="wikitext" or lang="mediawiki" (T29828)
    1. Add lang="html+handlebars"
    2. Add lang="moin"
  4. incorrect {{Codesample}} usage
    1. Check the parameters/values

This category currently contains no pages or media.