Wikitext

Wikitext is a document written in a wiki markup language, such as the current one explained in  (see also  and ). It is a mixture of content, markup, and metadata. The current and old versions of all pages of a wiki are stored in the database in the txttable>Special:MyLanguage/Manual:Text table|text table, in the form of wikitext.

User documentation

 * m:Help:Wikitext examples
 * m:Help:Downloading pages, Wikipedia:Glossary

Developer documentation

 * Specs/wikitext/1.0.0 - as of August 2016, the URI used by Parsoid to identify the version of Wikitext it is assuming

Alternatives to MediaWiki Wikitext

 * Wikitax - 2002 proposal
 * Lightweight markup language - Wikipedia article describing markup languages for cases "where it may be necessary to read the raw document as well as the final rendered output"

Testing
We have provided important compatibility information, which helps describe expected behavior for converting wikitext to HTML.


 * parser-tests>Parser tests|Parser tests - Our tests in MediaWiki core contain the authoritative source for Wikitext markup compatibility testing.
 * parsoid-tests>Parsoid/test cases|Parsoid test cases ([https://phabricator.wikimedia.org/diffusion/GPAR/browse/master/tests/parserTests.txt parserTests.txt on Diffusion]) - a forked version of the MediaWiki core tests, used by Parsoid. Besides the wt2html mode that the PHP parser supports, Parsoid's parser tests runner also enables several other testing modes not supported by the PHP parser (wt2wt, html2wt, html2html, randomized edits for testing selective serialization, manual edits for controlled testing of serialization). These tests are manually synchronized using scripts in the Parsoid codebase.

Discussions from 2015 and later

 * focus-2015>Architecture focus 2015|Architecture focus 2015 - 2015 discussion at Lyon Hackathon about the future of MediaWiki, including content representation and transclusion
 * rfc-spec>Requests for comment/A Spec For Wikitext|Requests for comment/A Spec For Wikitext - RFC which defines a framework for writing a Wikitext spec, should we choose to write one (discussed in E259</> in August 2016)
 * handling>Wikimedia Developer Summit/2017/Handling wiki content beyond plaintext</>|Handling wiki content beyond plaintext - Discussions planned to occur at <tvar|wikidev17>WikiDev17</>