Page MenuHomePhabricator

Half-imported page cannot be deleted
Closed, ResolvedPublic

Description

I tried to import the full history of User:Grenavitar/Film from enwiki to testwiki. The import timed out halfway through, as the page has a huge number of revisions. The destination page (Template talk:Grenavitar/Film) exists, but when an attempt is made to delete it, MediaWiki claims that the page cannot be deleted because it does not exist.

A few issues here:

  • A WMF shell user should delete the broken page from the testwiki DB.
  • We should impose a timeout on import that is slightly shorter than the script execution timeout, to allow WikiImporter to clean up properly instead of leaving broken pages lying around. Filed as T121336: Better handling of timeouts during the import process.
  • Why is MW claiming the page doesn't exist when it clearly does? Looks like there is more than one way to check for page existence...

Event Timeline

TTO raised the priority of this task from to Needs Triage.
TTO updated the task description. (Show Details)
TTO subscribed.
TTO claimed this task.

I managed to delete the page using the usual method. Not sure what changed between then and now.