Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » Is there a list of mediawiki markup tags supported for wikitext
Is there a list of mediawiki markup tags supported for wikitext [message #642466] Wed, 01 December 2010 08:18 Go to next message
Per Arnold Blaasmo is currently offline Per Arnold Blaasmo
Messages: 1
Registered: August 2010
Junior Member
Hi,
We have started to use Myln Wikitekt and FOP to automagically generate some documentation.

We have a mediawiki server that we convert documents from to XSL-FO with Mylyn wikitext and then to PDF using Apache FOP. This is wrapped up on a Hudson build server.

Then I get into some trial and error on different Mediawiki markups that are supported by wikitext.

I have tied to read documentation, but can't find a list of which markups are supported.

Is there such a list?

So far it seems that at least <code>, and [[File:....]] is not supported. Also I have problems with the indent markup ':'.

Having a list will help me understand better what I currently can use and not in my wiki pages.

If a markup is not supported I guess it is a matter of looking into the source code and add a patch for the given markup?

Regards
Per A.
Re: Is there a list of mediawiki markup tags supported for wikitext [message #644388 is a reply to message #642466] Fri, 10 December 2010 13:42 Go to previous message
David Green is currently offline David Green
Messages: 135
Registered: July 2009
Senior Member
Arnold,

Your application of Mylyn WikiText sounds great! Comments below:

On 12/1/2010 5:18 AM, Per Arnold Blaasmo wrote:
> Hi,
> We have started to use Myln Wikitekt and FOP to automagically generate
> some documentation.
>
> We have a mediawiki server that we convert documents from to XSL-FO with
> Mylyn wikitext and then to PDF using Apache FOP. This is wrapped up on a
> Hudson build server.
>
> Then I get into some trial and error on different Mediawiki markups that
> are supported by wikitext.
>
> I have tied to read documentation, but can't find a list of which
> markups are supported.
>
> Is there such a list?

Here's the list:

* headings
* lists (starting with * and #)
* definition lists
* preformatted blocks (lines starting with a space)
* tables
* table of contents (__TOC__)
* <nowiki>
* bold, italic, bolditalic
* HTML tags
* HTML comments
* (tm), (c), (r)
* images ([Image:])
* hyperlinks
* hr via ----
* entity references
* templates when using mediawiki-to-eclipse-help Ant task

>
> So far it seems that at least <code>, and [[File:....]] is not
> supported. Also I have problems with the indent markup ':'.
>
> Having a list will help me understand better what I currently can use
> and not in my wiki pages.
>
> If a markup is not supported I guess it is a matter of looking into the
> source code and add a patch for the given markup?
>

You bet, any contributions that you have in this area are very welcome.
The best way to get started is to take a look at
org.eclipse.mylyn.wikitext.mediawiki.core.MediaWikiLanguage. Also any
new markup support should have corresponding JUnit tests (See
MediaWikiLanguageTest)

Regards,

David


> Regards
> Per A.
>
Previous Topic:Trac Timing and Estimation Plugin mylyn integration
Next Topic:Bad usability with mouse scroll
Goto Forum:
  


Current Time: Fri Jul 25 18:22:47 EDT 2014

Powered by FUDForum. Page generated in 0.09865 seconds