Page MenuHomePhabricator

"Undefined" uploads via mobile
Closed, ResolvedPublic

Description

Strange bug: some uploads via the lead image upload workflow are showing up as "undefined" when added as thumbnails to the article:

https://en.wikipedia.org/w/index.php?title=Astra&diff=549603879&oldid=540324255

https://en.wikipedia.org/w/index.php?title=Right-wing_politics&diff=549622513&oldid=548395094

https://en.wikipedia.org/w/index.php?title=Paul_Andrews_(NASCAR)&diff=549625863&oldid=531962009

Currently just confirmed on English Wikipedia, but may also be appearing on other local wikis.


Version: unspecified
Severity: major

Details

Reference
bz47103

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:28 AM
bzimport set Reference to bz47103.
Maryana created this task.Apr 10 2013, 10:05 PM

Is this still happening?

This could be related to bad filenames. It seems the error for a bad filename for example doesn't mention anything about an error occurring.

{"warnings":{"main":{"*":"Unrecognized parameters: 'useformat', 'r'"}},"upload":{"result":"Warning","warnings":{"badfilename":"Test_2013-05L-08_08-22.JPG"},"filekey":"11f0ht8dgbxg.ajqpua.1.jpg","sessionkey":"11f0ht8dgbxg.ajqpua.1.jpg"}}

See bug 48261
Let's protect against this and other issues that might be occuring.

Related URL: https://gerrit.wikimedia.org/r/62981 (Gerrit Change I975007aedeadb75ada35edec35c58868ef497d87)

https://gerrit.wikimedia.org/r/62981 (Gerrit Change I975007aedeadb75ada35edec35c58868ef497d87) | change APPROVED and MERGED [by JGonera]