Wikitext/zh

维基文本（wikitext）是使用wiki标记语言写成的文本内容，例如目前在中描述的内容（参见和）. 维基文本是内容、标记符以及元数据的混合. wiki的所有页面的当前文本和历史文本均以维基文本的形式存储在表的数据库中.

For the main parts of Wikidata there is no wikitext source text.

用户文档

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

开发者文档

 * Specs/wikitext/1.0.0 – 在2016年8月，Parsoid用来识别假定的维基文本版本的URI

MediaWiki维基文本的代替选项

 * Wikitax—2022提案
 * 轻量级标记语言—维基百科文章，描述了“可能需要读取原文档以及最终呈现的输出”的情况下的标记语言

实现

 * PHP Parser – Generated documentation from comments embedded in the source code. A summary of what the PHP parser is as described on that page: "Processes wiki markup (which uses a more user-friendly syntax, such as "  " for making links), and provides a one-way transformation of that wiki markup it into (X)HTML output / markup (which in turn the browser understands, and can display)."
 * Parsoid – MediaWiki的转换工具，可以在带有RDFa的HTML5 DOM和MediaWiki维基文本之间转换.

测试
我们提供了重要的兼容性信息，这些信息有助于描述将维基文本转换为HTML的预期行为.


 * - 我们在MediaWiki核心中的测试包含维基文本标记兼容性测试的可靠源.
 * Parsoid测试用例（Diffusion上的parserTests.txt） – MediaWiki核心测试的分支版本，用于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). 这些测试在Parsoid代码库中使用脚本手动同步.

Discussions from 2015 and later

 * Architecture focus 2015 – 2015 discussion at Lyon Hackathon about the future of MediaWiki, including content representation and transclusion
 * 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 wiki content beyond plaintext – Discussions planned to occur at WikiDev17

Discussions prior to 2015

 * Markup spec – early attempt to use a standard metasyntax (such as Backus–Naur Form) to define MediaWiki Wikitext.
 * Parser 2011 – early Parsoid documentation, including a 2011 plan for rolling out a new version.
 * Wikitext standard – Page that was active in 2003-2005
 * Wikitext syntax – Quoting the page: I'm just tipping some links onto this page for -- I will clean it up to some sort of coherence later -- Tarquin 16:45, 30 Aug 2003 (UTC)
 * Wikitext.next – Brion VIBBER's thoughts from 2011