On Mon, Jun 22, 2015 at 6:37 PM, MZMcBride <[email protected]> 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/blob/master/README#L16-40
.



> 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/blob/f3476de0158e464db442213d6731b691a2dd8af1/SyntaxHighlight_GeSHi.php#L12


> >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?
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to