Page MenuHomePhabricator

[Bug] Cannot import items, even with allowEntityImport = true, because Wikibase disallows 'direct' create action
Open, MediumPublic

Description

I cannot import items from xml (via Special:Import) due to permissions issues ('wikibase-no-direct-editing'). This is a create action and we hook into TitleQuickPermissions to disallow create actions for entity namespaces.

maybe a (perhaps not very nice) solution is yet another hook in Import.php where it checks permission? otherwise, I am not sure how to best fix.

Event Timeline

aude raised the priority of this task from to Medium.
aude updated the task description. (Show Details)
aude subscribed.
aude renamed this task from Cannot import items, even with allowEntityImport = true, because Wikibase disallows 'direct' create action to [Bug] Cannot import items, even with allowEntityImport = true, because Wikibase disallows 'direct' create action.Sep 10 2015, 11:35 AM
aude set Security to None.
aude moved this task from incoming to needs discussion or investigation on the Wikidata board.

@Ricordisamoa if we don't rely on that elsewhere we can safely remove it :-)