Re: [Wikitech-l] Upcoming SyntaxHighlight_GeSHi changes

2015-07-15 Thread Derk-Jan Hartman
On 15 jul. 2015, at 18:43, Nicolas Vervelle nverve...@gmail.com wrote: Hi, Is this related to the fact that some pages are now categorized in Pages with syntax highlighting errors https://en.wikipedia.org/wiki/Category:Pages_with_syntax_highlighting_errors ? How can we find what is

Re: [Wikitech-l] Upcoming SyntaxHighlight_GeSHi changes

2015-07-15 Thread Nicolas Vervelle
Hi, Is this related to the fact that some pages are now categorized in Pages with syntax highlighting errors https://en.wikipedia.org/wiki/Category:Pages_with_syntax_highlighting_errors ? How can we find what is wrong in the page ? I tried several things to fix Wikipedia talk:WPCleaner, but

Re: [Wikitech-l] Upcoming SyntaxHighlight_GeSHi changes

2015-07-14 Thread John Mark Vandenberg
On Mon, Jul 13, 2015 at 1:30 PM, John Mark Vandenberg jay...@gmail.com wrote: On Tue, Jun 23, 2015 at 10:48 AM, Ori Livneh o...@wikimedia.org wrote: Hello, Over the course of the next two days, a major update to the SyntaxHighlight_GeSHi extension will be rolled out to Wikimedia wikis. The

Re: [Wikitech-l] Upcoming SyntaxHighlight_GeSHi changes

2015-07-14 Thread Ori Livneh
On Tue, Jul 14, 2015 at 4:35 AM, John Mark Vandenberg jay...@gmail.com wrote: On Mon, Jul 13, 2015 at 1:30 PM, John Mark Vandenberg jay...@gmail.com wrote: On Tue, Jun 23, 2015 at 10:48 AM, Ori Livneh o...@wikimedia.org wrote: Hello, Over the course of the next two days, a major update

Re: [Wikitech-l] Upcoming SyntaxHighlight_GeSHi changes

2015-07-12 Thread John Mark Vandenberg
On Tue, Jun 23, 2015 at 10:48 AM, Ori Livneh o...@wikimedia.org wrote: Hello, 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

Re: [Wikitech-l] Upcoming SyntaxHighlight_GeSHi changes

2015-06-30 Thread Ori Livneh
On Mon, Jun 29, 2015 at 11:04 AM, Ricordisamoa ricordisa...@openmailbox.org wrote: Il 29/06/2015 20:01, Brad Jorsch (Anomie) ha scritto: On Mon, Jun 22, 2015 at 8:48 PM, Ori Livneh o...@wikimedia.org wrote: Over the course of the next two days, a major update to the SyntaxHighlight_GeSHi

Re: [Wikitech-l] Upcoming SyntaxHighlight_GeSHi changes

2015-06-29 Thread Ricordisamoa
Il 29/06/2015 20:01, Brad Jorsch (Anomie) ha scritto: On Mon, Jun 22, 2015 at 8:48 PM, Ori Livneh o...@wikimedia.org wrote: 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

Re: [Wikitech-l] Upcoming SyntaxHighlight_GeSHi changes

2015-06-29 Thread Brad Jorsch (Anomie)
On Mon, Jun 22, 2015 at 8:48 PM, Ori Livneh o...@wikimedia.org wrote: 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

Re: [Wikitech-l] Upcoming SyntaxHighlight_GeSHi changes

2015-06-29 Thread Bartosz DziewoƄski
On Mon, 29 Jun 2015 20:01:08 +0200, Brad Jorsch (Anomie) bjor...@wikimedia.org wrote: ... Please tell me we're not really going to have the final state here be an extension named SyntaxHighlight_GeSHi that doesn't use GeSHi anymore. Yeah, that would suck somewhat.

Re: [Wikitech-l] Upcoming SyntaxHighlight_GeSHi changes

2015-06-27 Thread Aran
A nodejs service would be nice, but probably not on the cards in the near future - note however that the extension does include a simple method of ensuring that the highlighting module is called for blocks even if they're inserted into the page after load time such as in Ajax calls like live

Re: [Wikitech-l] Upcoming SyntaxHighlight_GeSHi changes

2015-06-25 Thread Alex Monk
(Now filed as https://phabricator.wikimedia.org/T103756) On 24 June 2015 at 16:03, Alex Monk kren...@gmail.com wrote: On 24 June 2015 at 03:44, MZMcBride z...@mzmcbride.com wrote: Nicolas Vervelle wrote: Previously, the error message contained the list of languages supported by the

Re: [Wikitech-l] Upcoming SyntaxHighlight_GeSHi changes

2015-06-24 Thread Alex Monk
On 24 June 2015 at 03:44, MZMcBride z...@mzmcbride.com wrote: Nicolas Vervelle wrote: Previously, the error message contained the list of languages supported by the extension, so it was easy to find which value you should use. Without the error message, how do we easily get the list of

Re: [Wikitech-l] Upcoming SyntaxHighlight_GeSHi changes

2015-06-23 Thread Ori Livneh
On Mon, Jun 22, 2015 at 10:30 PM, John Mark Vandenberg jay...@gmail.com wrote: Ugh, is there a way to configure pygments to have fallbacks for languages which are substantially based on another? e.g. xpp is basically java, and looks quite good when I tested it on betalabs. I am sure that

Re: [Wikitech-l] Upcoming SyntaxHighlight_GeSHi changes

2015-06-23 Thread Ori Livneh
On Tue, Jun 23, 2015 at 7:23 AM, Aran a...@organicdesign.co.nz wrote: Also for those that prefer the client to do the work I recently made an extension to use the highlight.js module at highlightjs.org. https://www.mediawiki.org/wiki/Extension:HighlightJS This is very nice, and may be a

Re: [Wikitech-l] Upcoming SyntaxHighlight_GeSHi changes

2015-06-23 Thread Ricordisamoa
Il 23/06/2015 07:30, John Mark Vandenberg ha scritto: Since it is short, here is the full list of languages being de-supported. 6502acme 68000devpac algol68 arm avisynth bibtex bnf cil dot e email euphoria gml ldif lolcode No!!! I need LOLCODE!!! mirc mmix mpasm oz parigp

Re: [Wikitech-l] Upcoming SyntaxHighlight_GeSHi changes

2015-06-23 Thread Daniel Barrett
https://people.wikimedia.org/~ori/geshi_changes.txt What about languages that aren't listed in your Supported or Unsupported lists? We use lang=tsql in many pages on our wiki, for T-SQL, but it's not clear to me what the replacement is. Thanks. DanB

Re: [Wikitech-l] Upcoming SyntaxHighlight_GeSHi changes

2015-06-23 Thread Ori Livneh
On Tue, Jun 23, 2015 at 7:55 AM, Daniel Barrett d...@cimpress.com wrote: https://people.wikimedia.org/~ori/geshi_changes.txt What about languages that aren't listed in your Supported or Unsupported lists? They'll continue to work as before. ___

Re: [Wikitech-l] Upcoming SyntaxHighlight_GeSHi changes

2015-06-23 Thread Aran
Also for those that prefer the client to do the work I recently made an extension to use the highlight.js module at highlightjs.org. https://www.mediawiki.org/wiki/Extension:HighlightJS On 22/06/15 21:48, Ori Livneh wrote: Hello, Over the course of the next two days, a major update to the

Re: [Wikitech-l] Upcoming SyntaxHighlight_GeSHi changes

2015-06-23 Thread Nicolas Vervelle
On Tue, Jun 23, 2015 at 2:48 AM, Ori Livneh o...@wikimedia.org wrote: 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

Re: [Wikitech-l] Upcoming SyntaxHighlight_GeSHi changes

2015-06-23 Thread Daniel Friesen
On 2015-06-22 10:30 PM, John Mark Vandenberg wrote: I am sure that Pygments has some parser close to 'email', as they do support a 'http session' language. That lexer:

Re: [Wikitech-l] Upcoming SyntaxHighlight_GeSHi changes

2015-06-23 Thread MZMcBride
Ori Livneh wrote: On Mon, Jun 22, 2015 at 6:37 PM, MZMcBride z...@mzmcbride.com wrote: 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

[Wikitech-l] Upcoming SyntaxHighlight_GeSHi changes

2015-06-22 Thread Ori Livneh
Hello, 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 Pygments.

Re: [Wikitech-l] Upcoming SyntaxHighlight_GeSHi changes

2015-06-22 Thread MZMcBride
Ori Livneh wrote: 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

Re: [Wikitech-l] Upcoming SyntaxHighlight_GeSHi changes

2015-06-22 Thread Ori Livneh
On Mon, Jun 22, 2015 at 6:37 PM, MZMcBride z...@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

Re: [Wikitech-l] Upcoming SyntaxHighlight_GeSHi changes

2015-06-22 Thread John Mark Vandenberg
On Tue, Jun 23, 2015 at 10:48 AM, Ori Livneh o...@wikimedia.org wrote: Hello, 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