Jump to content

Talk:MediaWiki flexer

Add topic
From Meta, a Wikimedia project coordination wiki
To do:
* Lists of any sort

Done:
* Ignores <math>
* Converts < > and & inside <nowiki>
* <pre> (space at beginning of line)
* <hr> (---- at beginning of line)
* Sections, subsections, and subsubsections (=,==,===,====,=====,======)
* Emphasis, strong emphasis, and very strong emphasis ('', ''', and ''''')
  - Generates correct HTML with '''''
* {{CURRENTMONTH}}, {{CURRENTDAY}}, {{CURRENTYEAR}}, {{CURRENTTIME}}
* Basic links (http://, ftp://, gopher://, news://, etc.)
* Complex basic links ([http://... Blah Blah]

Possibly later:
* ISBN lookups
* Handle <math> conversion

Must be done by PHP:
* Handle links / link lookup
* Ignore links in <nowiki>
* ~~~ and ~~~~
* {{NUMBEROFARTICLES}}, {{CURRENTMONTHNAME}}, {{CURRENTDAYNAME}}

Gotchas:
* Emphasized text spans multiple lines now (it currently doesn't)
* ''''' is treated as a new element, rather than as '' + '''  (this causes things like ''''' hello '' world ''' to render differently.
  (see line 6 of Quotes.txt)

Start a discussion about MediaWiki flexer

Start a discussion