TEI

From mediawiki.org

TEI XML is a subset of XML that follows the guidelines of the Text Encoding Initiative (TEI) and is especially popular in the area of digital humanities. TEI XML offers many tags and combinations of tags for encoding and describing a variety of textual phenomena.

MediaWiki extensions which offer support for working with TEI XML include: