Last modified: 2014-03-13 18:41:01 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 T35226, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33226 - prop=imageinfo: give empty tag for files without metadata
prop=imageinfo: give empty tag for files without metadata
Status: NEW
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.20.x
All All
: Lowest normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://commons.wikimedia.org/w/api.ph...
:
Depends on:
Blocks: api-2.0
  Show dependency treegraph
 
Reported: 2011-12-17 20:43 UTC by db [inactive,noenotif]
Modified: 2014-03-13 18:41 UTC (History)
6 users (show)

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


Attachments

Description db [inactive,noenotif] 2011-12-17 20:43:41 UTC
For files without metadata the api shows:

        <imageinfo>
          <ii metadata="" />
        </imageinfo>

It is possible to change this to

        <imageinfo>
          <ii>
            <metadata />
          </ii>
        </imageinfo>

Or an other style? The current is wrong and bad to detect.

Thanks.
Comment 1 Gerrit Notification Bot 2014-03-02 19:32:38 UTC
Change 116291 had a related patch set uploaded by Umherirrender:
return array on prop=imageinfo for empty metadata

https://gerrit.wikimedia.org/r/116291
Comment 2 Gerrit Notification Bot 2014-03-13 18:37:32 UTC
Change 116291 abandoned by Umherirrender:
return array on prop=imageinfo for empty metadata

Reason:
Backward compatibility issue

https://gerrit.wikimedia.org/r/116291
Comment 3 Umherirrender 2014-03-13 18:41:01 UTC
Seems to be unfixable without versioned api (see blocking bug 38891), setting Importance to Lowest to avoid a WONTFIX.

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


Navigation
Links