Convert MEDIAWIKI to TEI
Turn MEDIAWIKI files into TEI. A TEI document with sections, lists, tables, links, footnotes and math; the title, author and date go into its TEI header.
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 TEI document.Sections, lists, tables, links, footnotes and math carry over into one TEI file.
What you get
A TEI document with the structure of the article: sections, lists, tables, links, footnotes and math. The title, author and date go into the TEI header.
The result is one file with the extension .tei.
What is left out
Templates such as infoboxes are left out, because they live on the wiki and are not part of the page text.
Images stay as links. The picture itself is not placed in the file.
How references are handled
References become footnotes. When a reference is reused by name, the repeated use becomes an empty note.
MEDIAWIKI and TEI.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
TEI XML
Text Encoding Initiative XML, the format scholarly editions and digital humanities archives keep texts in.
- Extensions
- .tei
- MIME type
- application
/tei +xml - Kind
- Text and data
In your code.The same MEDIAWIKI to TEI conversion through the API, for your app or your agent.
$ cv convert report.wiki report.tei$ cv convert report.wiki report.teiQuestions.What people ask about MEDIAWIKI to TEI.
Yes. The TEI document has sections, lists and tables.
They go into the TEI header of the document.
No. Templates such as infoboxes are left out because they live on the wiki.
Yes. See every MEDIAWIKI conversion or every TEI conversion.