Last modified: 2014-02-12 23:52:54 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 T54018, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52018 - Editing: Swedish wiki (SV)
Editing: Swedish wiki (SV)
Status: RESOLVED FIXED
Product: MobileFrontend
Classification: Unclassified
stable (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-25 09:44 UTC by Jan Ainali
Modified: 2014-02-12 23:52 UTC (History)
11 users (show)

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


Attachments
Screenshot from Firefox and Chrome on Ubuntu. (196.53 KB, image/png)
2013-07-25 09:44 UTC, Jan Ainali
Details

Description Jan Ainali 2013-07-25 09:44:34 UTC
Created attachment 12956 [details]
Screenshot from Firefox and Chrome on Ubuntu.

When making an edit I cannot save. Error message (in Swedish) "Fel, redigeringen sparades inte". 

I attached screenshots from desktop (Ubuntu 13.04) with Chrome and Firefox. I have also tried it on Galaxy Nexus, Android 4.2.2 with Chrome and Galaxy Nexus S 4.1.2 with the default browser, all with same result.

Article in screenshot: https://sv.m.wikipedia.org/wiki/24_Direkt 
(But i tried other articles too with the same result.)
Comment 1 Jon 2013-07-25 16:18:23 UTC
Looking at the error logs it seems all errors so far on sv wikipedia claim to give the reason the edit failed due to the user being blocked.

I'm assuming your username is not blocked which is very puzzling...
Comment 2 Jon 2013-07-25 17:54:37 UTC
I just successfully editing on sv wiki including on that page. There is something particular about your user account.

Could you tell me a bit more - e.g. username, edit count, user rights etc etc ?
Comment 3 Maryana Pinchuk 2013-07-25 17:56:50 UTC
Hi Jan,

It also might be a gadgets issue – which gadgets do you have installed?
Comment 4 Jan Ainali 2013-07-25 19:45:33 UTC
I tried to edit from User:Ainali, a couple of thousand edits since 2006, confirmed user and rollbacker. I also tried with User:Jan Ainali (WMSE), my staff account at Wikimedia Sverige. Neither worked. 

Gadgets: 
hotcat.js
addsection-plus.js
iwsort.js
refcolumns.js
mySandbox.js
IP-whois.js
stats.js
Comment 5 Jan Ainali 2013-07-26 13:26:08 UTC
I managed to do an edit on en.m.eikipedia.org, but can still not make one on Swedish. Looking at the tags, it seems like only one user has managed to do it:

http://sv.wikipedia.org/w/index.php?title=Special:Senaste_%C3%A4ndringar&days=7&from=&tagfilter=mobile+edit
Comment 6 Jon 2013-07-26 14:11:09 UTC
We had a separate issue with mobile tagging not working but have been running into project specific filters such as AbuseFilter where edits fail due to certain characters.
https://sv.m.wikipedia.org/w/index.php?title=Anv%C3%A4ndare:Jdlrobson&action=history

I made these edits (latter is tagged now tagging issue fixed). Have you tried a simple text edit like that one? Maybe it is triggered by something in the content you post?

Keen to get to bottom of this!
Comment 7 Jan Ainali 2013-07-26 16:15:21 UTC
I am trying to make a simple text edit to https://sv.m.wikipedia.org/wiki/Anv%C3%A4ndare:Ainali/mobilsandl%C3%A5da but it fails (both from Android and Chrome OS). Also my colleague User:Lokal_Profil cannot do edits on Swedish Wikipedia but he is able to do it on English (He also uses Android and Chrome).
Comment 8 Jon 2013-07-26 16:21:55 UTC
Every error thrown on SV Wikipedia so far has been logged with error code 'blocked' and I can link those to your edits.

Is there anything installed on that wiki that would incorrectly throw this error code for you when the user is not blocked?
Comment 9 Max Semenik 2013-07-26 16:54:43 UTC
{"query":{"userinfo":{"id":0,"name":"2620:0:862:1:26B6:FDFF:FEF5:ABB4","anon":""}}}

Eeek.
Comment 10 Max Semenik 2013-07-26 17:11:22 UTC
Disregard this, wrong way of testing.
Comment 11 Jan Ainali 2013-07-26 17:12:10 UTC
Ok, so I managed to do an edit on Swedish Wikipedia with User:M.ainali which has no user scripts and only these two gadgets:
refcolumns.js
mySandbox.js
Comment 12 Max Semenik 2013-07-26 18:27:38 UTC
Looks like there's indeed a block, everyone can verify it themselves by visiting https://sv.m.wikipedia.org/w/api.php?action=query&meta=userinfo&uiprop=blockinfo&format=json

I couldn't save, and I'm getting 

{"query":{"userinfo":{"id":34682,"name":"MaxSem","blockid":"96113","blockedby":"Tegel","blockedbyid":105984,"blockreason":""}}}

Which corresponds to https://sv.wikipedia.org/wiki/Special:Blockeringslista?wpTarget=%2396113&limit=50

We need to start reporting edit failure reasons and probably investigate if we're handling XFF properly and not blocking IPs nedlessly.
Comment 13 Jesús Martínez Novo (Ciencia Al Poder) 2013-07-26 18:57:56 UTC
Without logging in I get this as meta=userinfo:

{"query":{"userinfo":{"id":0,"name":"2620:0:862:1:26B6:FDFF:FEF5:ABB4","anon":"","blockid":"96113","blockedby":"Tegel","blockedbyid":105984,"blockreason":""}}}

The block was made to that IPv6: [1]

The IP 2620:0:862:1:26B6:FDFF:FEF5:ABB4 is owned by the Wikimedia Foundation [2]

Apparently, that's the IP of the mobile frontend server, but MediaWiki doesn't recognize that IP (and maybe other used by the infrastructure) as an internal proxy, so they're exposed as the User's IP. That IP is probably missing from $wgSquidServers / Manual:$wgSquidServersNoPurge

----
[1] https://sv.wikipedia.org/wiki/Special:Blockeringslista?wpTarget=%2396113
[2] http://whois.arin.net/rest/ip/2620:0:862:1:26B6:FDFF:FEF5:ABB4.html
Comment 14 Jan Ainali 2013-07-26 19:19:23 UTC
It might be a previous block that are making a mess? In 2009 I accidentally blocked myself:

http://sv.wikipedia.org/w/index.php?title=Special:Logg/block&page=Anv%C3%A4ndare%3AAinali

I managed to film what happens, and in the sequence, a page is shown saying that the user is blocked, reffering to 2009 (a bit blurry in the video though (what I am doing is going forward in the browser to create a new page)) and without stopping, it forwards me into the editing window without other warnings:

http://youtu.be/9dPmW3veb6s
Comment 15 Max Semenik 2013-07-26 19:26:45 UTC
(In reply to comment #13)

Yeah, I've already asked ops for a full list of Amsterdam IPs so that we could whitelist them.
Comment 16 Gerrit Notification Bot 2013-07-26 21:59:02 UTC
Change 76205 had a related patch set uploaded by MaxSem:
Whitelist our IPv6 range

https://gerrit.wikimedia.org/r/76205
Comment 17 Gerrit Notification Bot 2013-07-29 12:08:36 UTC
Change 76205 merged by jenkins-bot:
Whitelist our IPv6 range

https://gerrit.wikimedia.org/r/76205
Comment 18 Max Semenik 2013-07-29 14:49:52 UTC
Done with https://gerrit.wikimedia.org/r/76505 but I'll need to fix IPv6 handling more.

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


Navigation
Links