Village Pump:Home/Syntax Highlighting ( archived 2009-06-18 ): Difference between revisions

→‎Update GeSHi: Not currently editable. Will try to fix modula3 support.
(→‎Update GeSHi: Not currently editable. Will try to fix modula3 support.)
Line 77:
:It's been updated, per your request. Also, I created [http://rosettacode.org/geshi.txt this 1.5MB file] in an attempt to put the GeSHi source files where everyone could see and correct them. I'd intended to place it into a subpage of this one, but MediaWiki OOMs while it parses the wikicode. And I'm not fond of the idea of increasing the interpreter's memory consumption limit again. --[[User:Short Circuit|Short Circuit]] 10:02, 22 January 2009 (UTC)
::Is there a way to edit that file? Is that the one that the site uses or is it just compiled from the GeSHi files? --[[User:Mwn3d|Mwn3d]] 19:14, 22 January 2009 (UTC)
:::No way to edit it where it currently sits...It's too large for Mediawiki in one large clump. It could be broken into per-language pages, though. --[[User:Short Circuit|Short Circuit]] 23:42, 22 January 2009 (UTC)
:I think if you do it right, languages you add to the syntax highlighting will show up in the "Parser extension tags" [[Special:Version|here]]. I'm not quite sure though. --[[User:Mwn3d|Mwn3d]] 13:48, 22 January 2009 (UTC)
 
Line 84 ⟶ 85:
 
:::: Perhaps, I know the language file works (tested it on my own apache), but I didn't test with mediawiki, not sure what needs to be done there. --[[User:Mbishop|Mbishop]] 19:52, 22 January 2009 (UTC)
::::: The Mediawiki extension I'm using may have a specific list of supported languages. I'll check to see what exactly is going on... --[[User:Short Circuit|Short Circuit]] 23:42, 22 January 2009 (UTC)