Page MenuHomePhabricator

Warnings functionality for the import process
Open, LowPublic

Description

Import either succeeds, or fails (poorly - see T7701). Many requests have come in for "warnings" to be implemented.

So

  1. the user uploads an XML dump or picks a transwiki import source, and hits submit (or via the API of course);
  2. MediaWiki downloads the dump, processes it, and if it encounters any warning conditions, stops and returns a warning page to the user;
  3. the user decides whether or not to proceed;
  4. if they choose to go ahead, the dump is fully imported. Otherwise the dump is not imported at all;
  5. the stashed dump is deleted from the server.

This is similar in spirit to the uploadstash functionality.