The switch to Pygments has caused Commons files generated using 'dot'
to no longer have syntax highlighting, and four are appearing in
But that will likely expand to the 26 files in
I couldn't see any language supported by Pygments which has similar
syntax, so we should probably set the lang=text for all 26.
Support for this language was requested in 2014, and you can vote for it at
While on the topic, there is a nice extension which would provide
native support for this format.
---------- Forwarded message ----------
From: Ori Livneh <ori(a)wikimedia.org>
Date: Tue, Jun 23, 2015 at 10:48 AM
Subject: [Wikitech-l] Upcoming SyntaxHighlight_GeSHi changes
To: wikitech-ambassadors(a)lists.wikimedia.org, Wikimedia developers
Over the course of the next two days, a major update to the
SyntaxHighlight_GeSHi extension will be rolled out to Wikimedia wikis. The
change swaps geshi, the unmaintained PHP library which performs the lexical
analysis and output formatting of code, for another library, called
The roll-out will remove support for 31 languages while adding support for
several hundred languages not previously supported, including Dart, Rust,
Julia, APL, Mathematica, SNOBOL, Puppet, Dylan, Racket, Swift, and many
others. See <https://people.wikimedia.org/~ori/geshi_changes.txt> for a
full list. The languages that will lose support are mostly obscure, with
the notable exception of ALGOL68, Oz, and MMIX.
The change is expected to slightly improve the time it takes to load and
render all pages on all wikis (not just those that contain code blocks!),
at the cost of a slight penalty (about a tenth of a second) on the time it
takes to save edits which introduce or modify a block of highlighted code
to an article.
Lastly, the way the extension handles unfamiliar languages will change.
Previously, if the specified language was not supported by the extension,
instead of a code block, the extension would print an error message. From
now on, it will simply output a plain, unhighlighted block of monospaced
The wikitext syntax for highlighting code will remain the same.
Wikitech-l mailing list