Last modified: 2014-08-14 14:27:59 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 T59248, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57248 - HTML-based metadata (LicenseShortName etc) is missing on beta cluster for Beta Commons files
HTML-based metadata (LicenseShortName etc) is missing on beta cluster for Bet...
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
CommonsMetadata (Other open bugs)
unspecified
All All
: Unprioritized minor (vote)
: ---
Assigned To: Tisza Gergő
:
Depends on: 57539
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-19 14:58 UTC by Tisza Gergő
Modified: 2014-08-14 14:27 UTC (History)
3 users (show)

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


Attachments

Description Tisza Gergő 2013-11-19 14:58:45 UTC
All other combinations work (mw.org+Commons, local wiki with master branch + Commons, local wiki with master branch + Beta Commons, beta wiki + real Commons), but beta wiki + Beta Commons does not:

http://commons.wikimedia.beta.wmflabs.org/w/api.php?action=query&prop=imageinfo&iiprop=extmetadata&titles=File:Sand%20Diego%20skyline%20at%20night.JPG
http://en.wikipedia.beta.wmflabs.org/w/api.php?action=query&prop=imageinfo&iiprop=extmetadata&titles=File:Sand%20Diego%20skyline%20at%20night.JPG
Comment 1 Tisza Gergő 2013-11-19 22:29:46 UTC
After reviewing the code, I have no idea what could cause this. The extensions gets the HTML from File::getDescriptionText() and passes it to CommonsMetadata_InformationParser::parsePage(). The information parser has no external dependencies at all, it should always give exactly the same result for the same HTML. File::getDescriptionText() works the same way for all foreign files, and only depends on the fetchDescription configuration setting, which is enabled on labs:
http://noc.wikimedia.org/conf/highlight.php?file=filebackend-labs.php

I have no better idea than to wait until the beta code is deployed live, and see if the problem persists.
Comment 2 Tisza Gergő 2014-08-14 14:27:59 UTC
Beta-only issue, never figured out the exact reason but does not appear anymore.

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


Navigation
Links