User:RoyK > Importers

Importers

Specifications for a MediaWiki -> Deki Wiki importer.

Data Sources

  • Import from database - the initial import script must know the database location, database username and database password
  • Import from web (optional) - for MediaWiki, use Special:Allpages, then Special:Export

Importing Mechanism

Importer should use Deki API to write data; no database-to-database imports. (Reading straight from the database is OK)

Bounties Overview

  1. $1200 for page contents
  2. +$240 for user accounts 
  3. +$240 for file attachments
  4. +$120 for categories -> tags conversion
  5. $N + 2 for template conversion (???)

Bounty Requirements

Page Contents

  • Pages from the MAIN and USER namespaces are imported
  • All wiki markup must be converted to XHTML
  • All links must resolve to correct locations
  • All items from `cur`, `archive` and `old` must be converted to the new format
    • Page revision order must be kept intact for diffing
    • Deleted pages must be converted (trivial, since the format of `old` and `archive` are similar

User Accounts

  • Usernames, passwords, emails are imported
  • User type converted to proper roles (Developer, Admin, etc.)
  • All attributions to page edits and files to proper users

File Attachments

  • All items in the Image: namespace are downloaded and saved to an "Image Gallery" page
  • All references to Images: in content of pages is updated to new location

Categories

  • Categories associated with a page are converted into tags

Bounty Test

We will provide a sample MediaWiki database that must pass the importer test shortly.

Tag page
You must login to post a comment.
Powered by MindTouch Deki v.8.08.1a