Last modified: 2014-02-12 23:53:56 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 T62993, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60993 - wgMFIsUserBlocked = true for non-blocked editors
wgMFIsUserBlocked = true for non-blocked editors
Status: RESOLVED FIXED
Product: MobileFrontend
Classification: Unclassified
stable (Other open bugs)
unspecified
All All
: Unprioritized critical
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-06 21:23 UTC by Jon
Modified: 2014-02-12 23:53 UTC (History)
8 users (show)

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


Attachments

Description Jon 2014-02-06 21:23:15 UTC
When I try and edit any page on mobile I get the message "Your account is blocked from editing."

This is because
wgMFIsUserBlocked = true


I'm not sure why this value is true as it simply returns the result of Skin->getUser()->getBlocked() and my account is not blocked.
Comment 1 Jon 2014-02-06 21:25:41 UTC
Also when I am logged out and go to
https://en.m.wikipedia.org/wiki/Arist%C3%B3fanes
If I click edit then I also get the message "Your account is
blocked from editing."
Comment 2 Bingle 2014-02-06 21:30:42 UTC
Prioritization and scheduling of this bug is tracked on Mingle card https://wikimedia.mingle.thoughtworks.com/projects/mobile/cards/1675
Comment 3 Jon 2014-02-06 22:04:41 UTC
user->isBlocked might return true for a logged in user who's IP is blocked it seems. Oh dear.
Comment 4 Gerrit Notification Bot 2014-02-06 22:04:56 UTC
Change 111899 had a related patch set uploaded by Jdlrobson:
Limit blocked test to logged in users.

https://gerrit.wikimedia.org/r/111899
Comment 5 Ryan Kaldari 2014-02-06 22:18:20 UTC
Fixed. This was caused by an autoblock related to a single user on en.wiki. Apparently the autoblock must have hit some IP related to en.m.wikipedia.org.
Comment 6 Arthur Richards 2014-02-06 22:38:16 UTC
I'm reopening this as the root cause of this issue has not yet been resolved. If it happened for this one user, it's only time until it happens again unless we resolve the underlying issue. From Brion:

"It's possible that some IP address in the load balancer or caching proxy chain on the mobile side isn't properly being registered as a trusted IP, and is getting blocked, thus blocking all editors who trigger things through the wrong path.

I strongly recommend that someone do a little checking in the database, or run a CheckUser on the account that got blocked to check which IPs were recorded and ended up being autoblocked, so we can make sure it doesn't repeat..."
Comment 7 Arthur Richards 2014-02-07 01:15:28 UTC
I'm tentatively reclosing this as fixed. Like Jon mentioned in IRC, after some debugging this does not appear to be a MobileFrontend issue. Max deployed a potential fix, though current status is unclear: https://gerrit.wikimedia.org/r/#/c/111927/

If the issue is still ongoing, an RT ticket should be opened for ops.
Comment 8 Gerrit Notification Bot 2014-02-07 18:50:53 UTC
Change 111899 merged by jenkins-bot:
Limit blocked test to logged in users.

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

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


Navigation
Links