Category:Pages with syntax highlighting errors
The following pages display source code whose syntax should be enhanced using
<source>...</source>) but there was an error while parsing it:
- Most often, a suitable identification of the programming language or syntax is missing in the
lang="..."parameter of the tag (e.g.
<syntaxhighlight lang="HTML5">...</syntaxhighlight>), or the specified programming language is not supported.
- The list of supported languages is actually maintained separately of MediaWiki itself, in its "syntaxhighlight" extension using the GeSHi library.
- GeSHI itself was updated and simplified to use Pygments (it was tested with versions 1.6 and 2.0.2, this last version being provided by default with the GeSHI extension for MediaWiki), with the language lexers from Pygments, so now the MediaWiki extension only maintains a list of additional aliases to remap some languages to those known by Pygments (which supports more than 300 languages).
- If you don't know which one to use, try:
lang="html"for generic wikicode, or
lang="properties"for examples of use of templates with one line per parameter, or
lang="cpp"for Overpass API queries (and similar OSM query languages) (maybe Template:OverpassTurboExample suits your needs even better), or
lang="bash"for installation shell scripts or commands on Linux/Unix.
lang="text"and no highlighting will be performed (but it will render mostly like standard preformatted text in
<pre>...</pre>which performs better).
- In some cases, the source code is just too large to allow full expansion of highlighting styles in this wiki (limit reached on tag content size, now the size limit for the unformatted source code fragment is 100 KB). In these cases, the embedded source code will just be rendered as a plain preformated paragraph without any internal formatting. Most probably such large source code (or data) should better be hosted on an external open source (open data) repository (such as GitHub) where it will more easily viewed, updated and downloaded than on this wiki. If you want to keep it on this wiki, consider changing the surrounding tags into
Pages in category "Pages with syntax highlighting errors"
The following 53 pages are in this category, out of 53 total.
Media in category "Pages with syntax highlighting errors"
The following 11 files are in this category, out of 11 total.
- Progress of buildings in Agder, Norway.png 2,121 × 2,480; 2.65 MB
- Progress of buildings in Innlandet, Norway.png 2,487 × 2,480; 3.58 MB
- Progress of buildings in Møre og Romsdal, Norway.png 2,487 × 2,480; 2.2 MB
- Progress of buildings in Nordland, Norway.png 1,707 × 2,480; 1.45 MB
- Progress of buildings in Oslo, Norway.png 1,855 × 2,480; 2.56 MB
- Progress of buildings in Rogaland, Norway.png 1,921 × 2,480; 1.92 MB
- Progress of buildings in Troms og Finnmark, Norway.png 3,061 × 2,480; 1.85 MB
- Progress of buildings in Trøndelag, Norway.png 2,487 × 2,480; 2.83 MB
- Progress of buildings in Vestfold og Telemark, Norway.png 2,952 × 2,480; 2.89 MB
- Progress of buildings in Vestland, Norway.png 1,921 × 2,480; 2.33 MB
- Progress of buildings in Viken, Norway.png 2,952 × 2,480; 4.64 MB