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

       Web browser: ---
            Bug ID: 57539
           Summary: File::getDescriptionText() broken on beta labs
           Product: Wikimedia Labs
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: Unprioritized
         Component: deployment-prep (beta)
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: gti...@wikimedia.org
                CC: benap...@gmail.com, cmcma...@wikimedia.org,
                    has...@free.fr, mhershber...@wikimedia.org,
                    platoni...@gmail.com
    Classification: Unclassified
   Mobile Platform: ---

CommonsMetadata uses File::getDescriptionText() to figure out a bunch of
properties from license and description templates, like LicenseShortName or
ImageDescription. This does not work on beta wikis which get the image from
beta Commons. For example, this image is hosted on beta Commons (and there is
no image with the same name on real Commons):

http://commons.wikimedia.beta.wmflabs.org/wiki/File:Produce.jpg

The extmetadata API shows LicenseShortName:

http://commons.wikimedia.beta.wmflabs.org/w/api.php?action=query&prop=imageinfo&iiprop=extmetadata&titles=File:Produce.jpg&iiextmetadatalanguage=vo

However, it is missing when called on some other beta wiki:

http://en.wikipedia.beta.wmflabs.org/w/api.php?action=query&prop=imageinfo&iiprop=extmetadata&titles=File:Produce.jpg&iiextmetadatalanguage=vo

Not sure if related, or some different configuration issue, but the description
is missing on the wiki page too:

http://en.wikipedia.beta.wmflabs.org/wiki/File:Produce.jpg

On live sites, Commons and other wikis show the same output:

http://commons.wikimedia.org/w/api.php?action=query&prop=imageinfo&iiprop=extmetadata&titles=File:Across_the_Combe_to_Poynings_-_geograph.org.uk_-_377166.jpg
http://en.wikipedia.org/w/api.php?action=query&prop=imageinfo&iiprop=extmetadata&titles=File:Across_the_Combe_to_Poynings_-_geograph.org.uk_-_377166.jpg

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

Reply via email to