Page MenuHomePhabricator

pageimages is listing non-free media as page_image_free
Closed, DuplicatePublic

Description

Example output:

query: https://en.wikipedia.org/w/api.php?redirects=1&clshow=%21hidden&action=query&continue=&pageids=41374178&cllimit=500&prop=info%7Cpageprops%7Ccategories&maxlag=5

"batchcomplete": "",

"query": {
    "pages": {
        "41374178": {
            "pageid": 41374178,
            "ns": 0,
            "title": "Arya Stark",
            "contentmodel": "wikitext",
            "pagelanguage": "en",
            "pagelanguagehtmlcode": "en",
            "pagelanguagedir": "ltr",
            "touched": "2017-07-18T08:06:43Z",
            "lastrevid": 791120824,
            "length": 27902,
            "pageprops": {
                "defaultsort": "Stark, Arya",
                "page_image_free": "Arya_Stark-Maisie_Williams.jpg",
                "wikibase_item": "Q3624677"

In that output:
"page_image_free": "Arya_Stark-Maisie_Williams.jpg",

That media file is not a free use media, and is declared as such on the media page

Event Timeline

Jdlrobson added subscribers: Tgr, Jdlrobson.

@Tgr any idea what's going wrong here?

The description page has more than one .licensetpl blocks and the first one does not contain any metadata and files are assumed free unless explicitly marked otherwise. See T131896: CommonsMetadata should consider an image non-free if any of the license metadata blocks is nonfree.

Looks like is best fixed on wiki for the time being... ? Or should we merge into T131896 ?

on-wiki is too dependent on random editors - ANY non-free license should override any free license