Source code syntax highlight support in ovirt.org MediaWiki

Vojtech Szocs vszocs at redhat.com
Fri Jan 18 15:42:04 UTC 2013


Hi Dave,

> Do you know if the GeSHi extension is well audited and popular?

To me, SyntaxHighlight_GeSHi extension [1] seems to be quite popular (lots of hits on Google and Stackoverflow), has "stable" release status and supports MediaWiki 1.11.+ (ovirt.org currently runs 1.19.2). It also seems to be alive with recent updates [2]. Turns out that Generic Syntax Highlighter (GeSHi) [3] is one of most widely used highlighters out there.

Another alternative is GoogleCodePrettify extension [4], newer than SyntaxHighlight_GeSHi but with less features, plus it doesn't seem to be too alive - latest update June 2012 [5]. Other similar extensions I found are either beta or have limited MediaWiki version support (but maybe I have missed something).

So I'd personally vote for SyntaxHighlight_GeSHi, but any similar extension would do as well.

Thanks,
Vojtech

[1] http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi
[2] https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/SyntaxHighlight_GeSHi.git
[3] http://qbnz.com/highlighter/
[4] http://www.mediawiki.org/wiki/Extension:GoogleCodePrettify
[5] https://github.com/Undev/MediaWiki-GoogleCodePrettify/commits/


----- Original Message -----
From: "Dave Neary" <dneary at redhat.com>
To: "Vojtech Szocs" <vszocs at redhat.com>
Cc: "infra" <infra at ovirt.org>
Sent: Friday, January 18, 2013 3:52:40 PM
Subject: Re: Source code syntax highlight support in ovirt.org MediaWiki

Thanks Vojtech! I will look at this as soon as I get a chance 
(definitely sometime in 2013!)

Do you know if the GeSHi extension is well audited and popular?

Thanks!
Dave.

On 01/18/2013 03:39 PM, Vojtech Szocs wrote:
> Hi guys,
>
> it would be great if MediaWiki that powers ovirt.org supported source code syntax highlighting. This would improve readability of wiki pages that include source code snippets in various languages or formats.
>
> I've created a Trac ticket for this: https://fedorahosted.org/ovirt/ticket/32
>
> Thanks!
> Vojtech
>

-- 
Dave Neary - Community Action and Impact
Open Source and Standards, Red Hat - http://community.redhat.com
Ph: +33 9 50 71 55 62 / Cell: +33 6 77 01 92 13



More information about the Infra mailing list