Add "wikitext" as language
Open, LowestPublic

Description

Author: crochet.david

Description:
Hello

I make short : Maybe add "wikitext" as a language.

Thanks

See attachment below for (incomplete) lang='mediawiki" patch.


Severity: enhancement
Upstream Pygments feature request: https://bitbucket.org/birkenfeld/pygments-main/issue/1120/add-mediawiki-lexer
GeSHi feature request (old implementation): http://sourceforge.net/p/geshi/feature-requests/112/ (not in GeSHi's newer GitHub issues).

Details

Reference
bz27828
bzimport raised the priority of this task from to Lowest.
bzimport set Reference to bz27828.
bzimport created this task.Mar 2 2011, 8:32 PM

As an aside, this is somewhat of an upstream issue, since we just make the bridge that connects GESHI (the syntax highlighter) to mediawiki, we don't actually make the part that does the syntax highlighting. (With that said, if anyone's going to do this, it'd probably be us since we're the only one's who'd need a wikitext syntax highlighter)

intnumerix wrote:

Mediawiki syntax file (draft)

A small test for a mediawiki syntax file.
Some colors are ugly...

Attached:

intnumerix wrote:

I made a small test (see attachment). It is quite difficult to integrate html tags in mediawiki syntax ... geshi script delimiters cannot work here.

Reedy added a comment.Mar 3 2011, 4:30 PM

Yeah, there's no way for us to put it in..

If you're wanting to do this, the authors are quite accomodating

https://sourceforge.net/tracker/?group_id=114997&atid=670234

You will need to get it fully complete I imagine...

But easier to drop a request on their bugtracker. Then when it's added, and in a tagged release, we can update the version this extension references :)

+upstream bug report url

[Removing RESOLVED LATER as discussed in http://lists.wikimedia.org/pipermail/wikitech-l/2012-November/064240.html . Reopening and setting priority to "Lowest". For future reference, please use either RESOLVED WONTFIX (for issues that will not be fixed), or simply set lowest priority. Thanks a lot!]

Spage updated the task description. (Show Details)May 26 2015, 10:40 PM
Spage added a project: Patch-For-Review.
Spage set Security to None.

Change 213964 had a related patch set uploaded (by Spage):
[WIP] Add lang="mediawiki" syntax highlighting

https://gerrit.wikimedia.org/r/213964

Change 213964 abandoned by Jforrester:
[WIP] Add lang="mediawiki" syntax highlighting

Reason:
This now needs to be made upstream in Pygments.

https://gerrit.wikimedia.org/r/213964

jayvdb added a subscriber: jayvdb.Jun 25 2015, 9:21 PM
Krinkle moved this task from Backlog to Accepted on the SyntaxHighlight board.Jun 25 2015, 10:50 PM
TheDJ updated the task description. (Show Details)Jun 26 2015, 6:20 AM
jayvdb moved this task from Backlog to Reported Upstream on the Upstream board.Jul 21 2015, 2:51 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 21 2015, 2:51 AM
This comment was removed by Spage.
Spage updated the task description. (Show Details)Oct 29 2015, 10:41 PM
Fae awarded a token.Jul 3 2016, 10:45 AM
Fae added a subscriber: Fae.