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.

  1. 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.

  2. 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.

  3. 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

From · MEDIAWIKI

MediaWiki

MediaWiki markup, the syntax of Wikipedia articles.

Extensions
.wiki .mediawiki
MIME type
text/x-wiki
Kind
Text and data
To · TEI

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.

terminal
$ cv convert report.wiki report.tei
$ cv convert report.wiki report.tei

Questions.What people ask about MEDIAWIKI to TEI.

01OF 04

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.

More conversions.Other ways in and out of MEDIAWIKI and TEI.