MediaWiki Markup Language
A MediaWiki Markup Language is a wiki markup language supported by a MediaWiki server distribution.
- AKA: MediaWiki WikiText.
- Context:
- It can support Transclusion (through MediaWiki Double-Curly Braces).
- It can be parsed rendered by a MediaWiki Software Engine.
- Example(s):
- MediaWiki markup syntax input:
[[Software Engine]]
⇒ MediaWiki Software Engine rendered output:Software Engine
. - …
- MediaWiki markup syntax input:
- Counter-Example(s):
- See: WikiLink, MediaWiki Parser, XHTML, HTML, PHP Wikimedia Movement, Wikimedia Foundation.
References
2020a
- (Wikipedia, 2020) ⇒ https://en.wikipedia.org/wiki/MediaWiki#Markup Retrieved:2020-1-26.
- One of the earliest differences between MediaWiki (and its predecessor, UseModWiki) and other wiki engines was the use of “free links" instead of CamelCase. When MediaWiki was created, it was typical for wikis to require text like "WorldWideWeb" to create a link to a page about the World Wide Web; links in MediaWiki, on the other hand, are created by surrounding words with double square brackets, and any spaces between them are left intact, e.g.
. This change was logical for the purpose of creating an encyclopedia, where accuracy in titles is important.
MediaWiki uses an extensible lightweight wiki markup designed to be easier to use and learn than HTML. Tools exist for converting content such as tables between MediaWiki markup and HTML. Efforts have been made to create a MediaWiki markup spec, but a consensus seems to have been reached that Wikicode requires context-sensitive grammar rules. The following side-by-side comparison illustrates the differences between wiki markup and HTML:
:: {| class="wikitable" style="width:90%"
- One of the earliest differences between MediaWiki (and its predecessor, UseModWiki) and other wiki engines was the use of “free links" instead of CamelCase. When MediaWiki was created, it was typical for wikis to require text like "WorldWideWeb" to create a link to a page about the World Wide Web; links in MediaWiki, on the other hand, are created by surrounding words with double square brackets, and any spaces between them are left intact, e.g.
|- !MediaWiki syntax !Equivalent HTML !Rendered output |- |style="vertical-align:top;font-family:monospace; font-size:10pt; width:30%"| ==== A dialogue ====
"Take some more tea," the March Hare said to Alice, very earnestly.
"I've had nothing yet,” Alice replied in an offended tone: “so I can't take more."
"You mean you can't take less',” said the Hatter: “it's '''very''' easy to take more than nothing." |style="vertical-align:top;font-family:monospace; font-size:10pt; width:30%"| <h4><span class="mw-headline" id="A_dialogue">A dialogue</span></h4>
<p>"Take some more <a href="/wiki/Tea" title="Tea">tea</a>," the March Hare said to Alice, very earnestly.</p>
<p>"I've had nothing yet," Alice replied in an offended tone: "so I can't take more."</p>
<p>"You mean you can't take <i>less</i>," said the Hatter: "it's <b>very</B> easy to take <i>more</i> than nothing."</p> |style="vertical-align:top; width:30%"| A dialogue
“Take some more tea," the March Hare said to Alice, very earnestly.
“I've had nothing yet," Alice replied in an offended tone: "so I can't take more."
“You mean you can't take less," said the Hatter: "it's very easy to take more than nothing." |- |}
(Quotation above from Alice's Adventures in Wonderland by Lewis Carroll)
2020b
- (MediaWiki, 2020) ⇒ http://www.mediawiki.org/wiki/Markup_spec#The_Markup_Language Retrived:2020-01-26.
- QUOTE: The MediaWiki markup language (commonly referred to within the MediaWiki community as wikitext, though this usage is ambiguous within the larger wiki community) uses sometimes paired non-textual ASCII characters to indicate to the parser how the editor wishes an item or section of text to be displayed. The parser translates these tokens into (X)HTML as closely as semantically possible.
2020c
- (Wikimedia, 2020) ⇒https://meta.wikimedia.org/wiki/MediaWikiRetrived:2020-01-26.
- QUOTE: MediaWiki is wiki software, released under the GPL, that is used by Wikimedia projects and others. It is an implementation of a wiki, a content pool that anyone can freely edit. It is developed using Phabricator, our instance of Phacility's Phabricator.
MediaWiki 1.31.1 is the latest stable version, and is recommended for third-party users. Those running their own servers should upgrade for security reasons. Special:Version shows what version a site is running. You can play around in the local Sandbox to see this version in action.
MediaWiki 1.31.1 is available for download from MediaWiki.org, a site that is also responsible for the documentation of the software. MediaWiki 1.35.0-wmf.16 (d1b08c7) is currently running on all Wikimedia sites. Third-party users should probably not run the alpha/beta versions of MediaWiki on publicly accessible servers at this time.
- QUOTE: MediaWiki is wiki software, released under the GPL, that is used by Wikimedia projects and others. It is an implementation of a wiki, a content pool that anyone can freely edit. It is developed using Phabricator, our instance of Phacility's Phabricator.
2020d
- (Melli et al., 2020) ⇒ Gabor Melli, Abdelrhman Eldallal, Bassim Lazem, and Olga Moreira. (2020). “GM-RKB WikiText Error Correction Task and Baselines.”. In: Proceedings of LREC 2020 (LREC-2020).
- QUOTE: Similar to the creation of websites in the early days of the Web; when websites content was crafted with HTML code by hand than transformed by a browser rendering engine into webpages, wikis content is created using WikiText (Dohrn & Riehle, 2011) written and edited predominantly by humans than parsed and rendered by a wiki engine (Dohrn & Riehle, 2011, Junghans et. al, 2008). WikiText is a simplified markup language that facilitates annotation of text documents. To create an internal link between annotated words (concept mentions) and a target wiki pages in Mediawiki markup, the editor simply needs to use double square brackets ("[[" and "]]"). For instance, A [[Character-Level Seq2Seq Training Algorithm|character-level seq2seq algorithm]] is a [[seq2seq algorithm]] that is a [[character-level NNet algorithm]]."
tells the wiki engine to create a wikilink between the concept mentions
character-level seq2seq algorithm
,seq2seq algorithm
, andcharacter-level NNet algorithm
to the corresponding wiki entries.
- QUOTE: Similar to the creation of websites in the early days of the Web; when websites content was crafted with HTML code by hand than transformed by a browser rendering engine into webpages, wikis content is created using WikiText (Dohrn & Riehle, 2011) written and edited predominantly by humans than parsed and rendered by a wiki engine (Dohrn & Riehle, 2011, Junghans et. al, 2008). WikiText is a simplified markup language that facilitates annotation of text documents. To create an internal link between annotated words (concept mentions) and a target wiki pages in Mediawiki markup, the editor simply needs to use double square brackets ("[[" and "]]"). For instance,