apps-android-commons: Upload error when point (.) in name

Set FakeGPS (or equivalent) to be near this music venue: https://goo.gl/maps/go8ncPKxnDQgWTAD8

  1. Compile the app using the “structured-data” branch (not sure if needed)
  2. Start the app
  3. Go to “Nearby”
  4. Select the item 渋谷La.mama https://www.wikidata.org/wiki/Q64778538
  5. Try to upload this picture for it: 20200411_171501
  6. Upload error:

Screenshot_20200411-171724_Commons

Notice also the truncated name 渋谷La. I have not experienced this with any other item/picture, there must be something special with this one. Sorry I don’t have a logcat. I have not tried on master either.

About this issue

  • Original URL
  • State: open
  • Created 4 years ago
  • Comments: 22 (10 by maintainers)

Most upvoted comments

B-I-N-G-O

{
  "errors": [
    {
      "code": "verification-error",
      "text": "File extension \".mama\" does not match the detected MIME type of the file (image/jpeg).",
      "data": {
        "details": [
          "filetype-mime-mismatch",
          "mama",
          "image/jpeg"
        ]
      },
      "module": "upload"
    }
  ],
  "docref": "See https://commons.wikimedia.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes.",
  "servedby": "mw1281"
}