Last modified: 2014-05-16 12:37:17 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T60474, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58474 - Sysops cannot edit sysop protected items unless they are members of certain other user groups
Sysops cannot edit sysop protected items unless they are members of certain o...
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: High normal with 1 vote (vote)
: ---
Assigned To: Wikidata bugs
u=dev c=backend p=0
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-14 00:03 UTC by John F. Lewis
Modified: 2014-05-16 12:37 UTC (History)
10 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description John F. Lewis 2013-12-14 00:03:45 UTC
A recent weird bug cropped up on Wikidata where *some* sysops are unable to edit sysop protected pages. Two currently protected pages are; https://www.wikidata.org/wiki/Q5268366 and https://www.wikidata.org/wiki/Q16503.

After speaking with Addshore, it turns out we both have this weird issue. His solution tested out was granting both of us confirmed user flags (log: [1]) which apparently made us able to edit protected items.

This seems like an awfully weird bug which really should be looked into in more depth. Also this is a Wikibase issue as all other non wikibase pages are editable without the confirmed user flag.


[1] https://www.wikidata.org/w/index.php?title=Special%3ALog&type=rights&user=Addshore&page=&timestamp=20131213235000&limit=2
Comment 1 Harold Hidalgo 2013-12-19 05:05:26 UTC
I had the same issue, though it did not get solved by adding the confirmed group when I first tried. (I fullyprotected an item, then tried to edit, which didn't work. Then added the confirmed group and tried to edit, didn't work either. Maybe I forgot to clear cache).

Cheers.
Comment 2 Harold Hidalgo 2013-12-19 05:07:36 UTC
Oh well nevermind. I tried again and it worked.

Cheers.
Comment 3 Techman224 2014-01-19 01:29:56 UTC
I see that the edit and add links are greyed out too, and they say the page is protected. However when I used the labelLister to edit a description it worked, https://www.wikidata.org/w/index.php?title=Q5268366&diff=prev&oldid=103258789
Comment 4 Lydia Pintscher 2014-03-17 13:35:55 UTC
Is this still happening?
Comment 5 John F. Lewis 2014-03-17 14:54:30 UTC
This is still happening. Just tested now.
Comment 6 Vogone 2014-03-22 23:42:35 UTC
I have done some testing on testwikidatawiki with the following results:

Account User:Vogone@testwikidatawiki (member of groups: Administrators, Autoconfirmed users, Bureaucrats, Users):

With bureaucrat rights assigned, the bug wasn't reproducable. The other groups (Administrators, Autoconfirmed users, Users) didn't seem to affect the bug at all.

Account User:VogoTest@testwikidatawiki (member of groups: Administrators, OAuth administrators, Users):

With oauthadmin rights (used as a random user group with meaningless user rights here) assigned, the bug wasn't reproducable. The other groups (Administrators, Users) didn't seem to affect the bug at all.

Account User:VogoTest2@testwikidatawiki (member of groups: Administrators, IP block exemptions, Users):

With ip-block-exempt rights assigned, the bug wasn't reproducable. The other groups (Administrators, Users) didn't seem to affect the bug at all. The same was tested with rollback/propertycreator/confirmed (bug wasn't reproducable) and translationadmin/flooder (bug was reproducable) instead of ip-block-exempt rights assigned.
Comment 7 Vogone 2014-03-23 14:51:09 UTC
There is one more thing I found out.

Apparently non-admins who are in global groups (tested global groups: Global_sysops, stewards) but /no/ local sysops aren't affected by this bug either. However, global sysops who have the local sysop flag assigned at the same time are affected.

(https://meta.wikimedia.org/w/index.php?title=Special%3ALog&type=&user=DerHexer&page=User%3AVogone%40testwikidatawiki&year=&month=-1&tagfilter=&hide_review_log=1&hide_thanks_log=1)
Comment 8 John F. Lewis 2014-03-30 16:19:01 UTC
Vogone asked me to test something on my Wikibase repo and the results were... interesting to say the least. I have four users.

User A is an administrator and bureaucrat. This user can edit a sysop protected item with no issue.

User B is sysop only. This user can not edit a sysop protected item.

User C is an administrator and 'adminguy' (my dupe sysop group), they can edit the sysop protected item.

User D is an 'adminguy' only. This user *can* edit a sysop protected item.

Therefore, I am making a weird conclusion that the only thing stopping sysops editing a sysop protected item is because they are a sysop (with the group name 'sysop' specifically). Global sysops on Wikimedia can edit sysop protected items because they are either a) not a local admin or b) not a 'sysop' only.
Comment 9 Gerrit Notification Bot 2014-03-30 17:58:19 UTC
Change 122124 had a related patch set uploaded by Hoo man:
Fix edit restriction handling

https://gerrit.wikimedia.org/r/122124
Comment 10 Gerrit Notification Bot 2014-04-07 11:12:46 UTC
Change 122124 merged by jenkins-bot:
Fix edit restriction handling

https://gerrit.wikimedia.org/r/122124
Comment 11 Gerrit Notification Bot 2014-04-07 11:34:56 UTC
Change 124310 had a related patch set uploaded by Aude:
Fix edit restriction handling

https://gerrit.wikimedia.org/r/124310
Comment 12 Marius Hoch 2014-04-07 12:22:53 UTC
Change has been approved and will be backported
Comment 13 Gerrit Notification Bot 2014-04-07 13:49:34 UTC
Change 124310 merged by jenkins-bot:
Fix edit restriction handling

https://gerrit.wikimedia.org/r/124310

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links