|Re: Is there a list of mediawiki markup tags supported for wikitext [message #644388 is a reply to message #642466]
||Fri, 10 December 2010 18:42
| David Green
Registered: July 2009
Your application of Mylyn WikiText sounds great! Comments below:
On 12/1/2010 5:18 AM, Per Arnold Blaasmo wrote:
> 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:
* lists (starting with * and #)
* definition lists
* preformatted blocks (lines starting with a space)
* table of contents (__TOC__)
* bold, italic, bolditalic
* HTML tags
* HTML comments
* (tm), (c), (r)
* images ([Image:])
* 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
> Per A.
Powered by FUDForum
. Page generated in 0.03389 seconds