dom_walden added a comment.
I can access and submit the Special:NewItem and Special:NewProperty forms unless I am partially blocked from the Main or Property namespace (resp.) I setup partial blocks for a user and their IP (i.e. a composite block), which used page restrictions to block the user from specific wikidata items. I performed the following special page actions on items they were and were not blocked from, and was allowed or not allowed as appropriate. - Special:MergeItems - Special:RedirectEntity - Special:SetSiteLink - Special:SetAliases - Special:SetDescription - Special:SetLabel - Special:SetLabelDescriptionAliases - Using the "Add links" on client wikidata wikis I could also edit items (e.g. adding statements, links, etc.) unless I was blocked from them specifically. I note that some of the block messages were a bit uninformative (e.g. some just said "Permission denied.", no extra info.) I assume this is a preexisting bug. > As for edits through the API, these block checks are already handled via the edit actions an EditEntityAction -> Action.php in core. So nothing to do there... I did not test the API, apart from the API calls that appear to happen when editing an item. Although, I see there are some phpunit checks <https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/Wikibase/+/master/repo/tests/phpunit/includes/Api/ApiUserBlockedTest.php> that simulate performing certain API requests while blocked. I did all this testing on my local Vagrant environment, with the `wikidata` role enabled. - MediaWiki 1.34.0-alpha (dbdbeb7 <https://phabricator.wikimedia.org/rMWdbdbeb7af2a7f0ee00bdc4dfc1297edf0405a8fd>) 06:23, 14 August 2019 - WikibaseRepository (dfadb52 <https://phabricator.wikimedia.org/rEWBAdfadb52b2bc539cddc2b35aea28867514b7c894f>) 07:16, 14 August 2019 I was not able to test Special:NewLexeme. It is not included in the vagrant role nor on https://commons.wikimedia.beta.wmflabs.org/wiki/. It is on https://wikidata.beta.wmflabs.org/wiki/, but I am not an administrator there. @addshore, may I be added to the admin group on wikidata.beta, if you think this matters? TASK DETAIL https://phabricator.wikimedia.org/T207893 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ladsgroup, dom_walden Cc: alaa_wmde, dom_walden, hoo, Ladsgroup, Tchanders, Niharika, Lydia_Pintscher, WMDE-leszek, TBolliger, Lucas_Werkmeister_WMDE, Addshore, Aklapper, dbarratt, MGChecker, darthmon_wmde, MattLongCT, DannyS712, Nandana, aezell, Lahi, Gq86, dmaza, GoranSMilovanovic, SPoore, QZanden, LawExplorer, JJMC89, _jensen, rosalieper, PEarleyWMF, RuyP, jrbs, Jonas, Wong128hk, Bsadowski1, Wikidata-bugs, aude, Dinoguy1000, Mbch331, Jay8g
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
