Multi-Content Revisions/Dumps

This page is part of the MCR documentation

The XML dump format has changed to accommodate multiple slots per revision (XML schema version 0.11).

  • Some information that used to be associated with the revision is now also associated with each slot.
  • We tried to avoid breaking changes.
  • For import, MediaWiki should support the old as well as the new format.
      <!-- existing id/timestamp/etc for revision data -->
      <!-- existing fields for main slot -->

      <text bytes="1234" sha1="...">....</text>
      <sha1>...</sha1> <!-- revision sha1, may be different from text sha1 -->

      <!-- additional slots -->
        <text bytes="123" sha1="...">...</text>

See also[edit]