Last modified: 2014-05-20 10:41:14 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 T59187, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57187 - Value of "Artist" should have a full URL
Value of "Artist" should have a full URL
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CommonsMetadata (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Tisza Gergő
https://commons.wikimedia.org/w/api.p...
:
Depends on: 57294
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-18 14:37 UTC by Raimond Spekking
Modified: 2014-05-20 10:41 UTC (History)
4 users (show)

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


Attachments

Description Raimond Spekking 2013-11-18 14:37:49 UTC
The "author" field of the information template, which matched with the "Artist" key in extmetadata, should have a full URL instead of a local URL.

Status quo:

"Artist": { 
"value": "<a href=\"/wiki/User:Elya\" title=\"User:Elya\">Elke Wetzig</a>",
"source": "commons-desc-page"
}

Expected output:

"Artist": { 
"value": "<a href=\"https://commons.wikimedia.org/wiki/User:Elya\" title=\"User:Elya\">Elke Wetzig</a>",
"source": "commons-desc-page"
}

Otherwise the value is unusable outside Wikimedia Commons.
Comment 1 Tisza Gergő 2013-11-19 22:59:13 UTC
That's strange; the HTML comes ultimately from action=render, which does use absolute URLs. Seems to work for me, e.g.:
http://www.mediawiki.org/w/api.php?action=query&prop=imageinfo&iiprop=extmetadata&format=jsonfm&titles=File:1936_Morris_12_Special_coup%C3%A9.jpg

Can you tell which file produced the output above?
Comment 3 Gerrit Notification Bot 2013-11-20 17:49:05 UTC
Change 96528 had a related patch set uploaded by Gergő Tisza:
Make sure local URLs in image description are always absolute

https://gerrit.wikimedia.org/r/96528
Comment 4 Andre Klapper 2013-12-09 16:02:03 UTC
Gergő: How to get your patch reviewed?
Comment 5 Gerrit Notification Bot 2014-03-19 23:39:33 UTC
Change 96528 merged by jenkins-bot:
Make sure local URLs in image description are always absolute

https://gerrit.wikimedia.org/r/96528
Comment 6 Andre Klapper 2014-05-20 10:41:14 UTC
Assuming this bug is FIXED as all patches were merged.
If that is not the case: Please reopen and elaborate what is left to do here to get this report fixed.

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


Navigation
Links