Convert MEDIAWIKI to T2T
Turn MEDIAWIKI files into txt2tags. A txt2tags document with headings, lists, tables and links; footnotes are written in parentheses where they are marked, block quotes become plain paragraphs, a table's header row becomes an ordinary row, and a line that starts with a percent sign is a comment that txt2tags hides.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop MEDIAWIKI files on the dialor turn it to pick what to do
Wikipedia markup as a txt2tags file.Headings, lists, tables and links come across as a T2T document.
What you get
One T2T file in txt2tags syntax. Headings, lists, tables and links are written as txt2tags markup, so the txt2tags tool can turn the file into other formats.
References become footnotes. A reference that is reused by name becomes an empty note.
What changes
Footnotes are written in parentheses where they are marked. Block quotes become plain paragraphs. A table's header row becomes an ordinary row.
A line that starts with a percent sign is a comment in txt2tags, so txt2tags hides it.
What is left behind
Templates such as infoboxes are left out, because they live on the wiki and not in the article text. Images stay as links and are not embedded.
For the opposite direction, see T2T to MEDIAWIKI.
MEDIAWIKI and T2T.What each format is.
The formats
MediaWiki
MediaWiki markup, the syntax of Wikipedia articles.
- Extensions
- .wiki .mediawiki
- MIME type
- text
/x -wiki - Kind
- Text and data
txt2tags
txt2tags documents, plain text with light markup that the txt2tags tool turns into many formats.
- Extensions
- .t2t
- MIME type
- text
/x -txt2tags - Kind
- Text and data
In your code.The same MEDIAWIKI to T2T conversion through the API, for your app or your agent.
$ cv convert report.wiki report.t2t$ cv convert report.wiki report.t2tQuestions.What people ask about MEDIAWIKI to T2T.
Yes. They are written as txt2tags headings, lists and tables. The header row of a table becomes an ordinary row.
They are left out. Templates such as infoboxes live on the wiki, so they are not part of the converted text.
References become footnotes. A reference reused by name becomes an empty note.
No. Images stay as links.