https://bugzilla.wikimedia.org/show_bug.cgi?id=57299

Gabriel Wicke <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|Unprioritized               |Normal
            Summary|Missing SVG image in        |Missing SVG image in
                   |parsoid                     |parsoid: Bug in PHP
                   |                            |imageinfo API?

--- Comment #1 from Gabriel Wicke <[email protected]> ---
This might be related to that file having a different name on commons:
https://en.wikipedia.org/wiki/File:Algeria_emb_(1976).svg is actually
https://commons.wikimedia.org/wiki/File:Seal_of_Algeria.svg

The image info returned from enwiki is not very helpful though:

{
  "query": {
    "pages": {
      "-1": {
        "ns": 6,
        "title": "File:Algeria emb (1976).svg",
        "missing": "",
        "imagerepository": ""
      }
    }
  }
}

For comparison, this is the info returned for [[File:Flag of Algeria.svg]],
also from commons:

{
  "query-continue": {
    "imageinfo": {
      "iistart": "2013-03-02T15:06:32Z"
    }
  },
  "query": {
    "pages": {
      "-1": {
        "ns": 6,
        "title": "File:Flag of Algeria.svg",
        "missing": "",
        "imagerepository": "shared",
        "imageinfo": [
          {
            "size": 954,
            "width": 900,
            "height": 600,
            "url":
"http://upload.wikimedia.org/wikipedia/commons/7/77/Flag_of_Algeria.svg";,
            "descriptionurl":
"http://commons.wikimedia.org/wiki/File:Flag_of_Algeria.svg";
          }
        ]
      }
    }
  }
}

This might actually be a bug in the PHP API.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to