Page MenuHomePhabricator

Wikidata item disconnected automaticlly upon temp delete
Closed, DuplicatePublic


Case study / How to reproduce

  1. A page was temporally deleted in Wikipedia - e.g delete followed by restore after very short delay: (deleted at 23:27, 23 July 2016, restored at 23:27, 23 July 2016)
  2. From Wikidata perspective the page was disconnected upon delete: and DID NOT reconnect upon restore (thanks to ValterVB it was reconnected half year later)


  1. Upon delete, page should disconnect from Wikidata item
  2. Upon restore, it should reconnect to Wikidata item if possible

Possible implementation:

  1. Use ArticleDelete hook to save somewhere the item name of the page being deleted.
  2. Use ArticleUndelete hook to opportunistically reconnect the item