On Mon, Jun 22, 2015 at 6:37 PM, MZMcBride <z(a)mzmcbride.com> wrote:
I use the SyntaxHighlight_GeSHi MediaWiki extension on
a few non-Wikimedia
wikis. If I just run "git pull" in the extension's directory in a few
days, is that sufficient?
Almost. There are updated instructions in
https://github.com/wikimedia/mediawiki-extensions-SyntaxHighlight_GeSHi/blo…
.
The upgrade path isn't totally clear to me from
your e-mail. I'm also curious if the Pygments version of the extension
will change the required MediaWiki core version needed.
It requires MediaWiki 1.25, but the previous version did as well:
https://github.com/wikimedia/mediawiki-extensions-SyntaxHighlight_GeSHi/blo…
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
code.
Actually, not instead of, but in addition to.
Correct. My description of the current behavior was inaccurate. Thanks.
My only feature request would be for
a tracking category to be auto-populated. Something similar to "Pages
containing invalid syntax highlight languages" which would then allow wiki
editors to find and address these pages (by setting lang="text" or by
filing Phabricator Maniphest tasks to add support for missing languages).
Sounds reasonable. Could you file a task?