|mediawiki/extensions/Wikibase : master||Fix undeleting Entities permission errors.|
|mediawiki/core : master||Add the "UndeletePermissionErrors" hook|
|mediawiki/extensions/Wikibase : master||Rely on ContentHandler::supportsDirectEditing being false|
'create' on Wikidata in the main namespace is blocked by the 'wikibase-no-direct-editing' error. Therefore 'undelete' now fails with 'undelete-cantcreate' which was added in T108138: Sysops can undelete pages, although the page is protected against it.