matmarex created this task.
matmarex added projects: MediaWiki-General, Wikidata.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  Wikidata meta=siteinfo&siprop=rightsinfo API response has an invalid URL.
  
  
https://www.wikidata.org/w/api.php?action=query&meta=siteinfo&siprop=rightsinfo
  
    {
        "batchcomplete": "",
        "query": {
            "rightsinfo": {
                "url": "Wikidata:Copyright",
                "text": "All structured data from the main and property 
namespace is available under the Creative Commons CC0 License; text in the 
other namespaces is available under the Creative Commons Attribution-ShareAlike 
License; additional terms may apply."
            }
        }
    }
  
  That `url` is not an URL at all (although it kind of looks like one, because 
of the colon); it's just a page title.
  
  For comparison:
  
  
https://en.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=rightsinfo
  
    {
        "batchcomplete": "",
        "query": {
            "rightsinfo": {
                "url": "https://creativecommons.org/licenses/by-sa/3.0/";,
                "text": "Creative Commons Attribution-Share Alike 3.0"
            }
        }
    }
  
  Wikidata has been configured this way since T112606 
<https://phabricator.wikimedia.org/T112606>, apparently no one noticed in that 
task. I noticed when I was reviewing the config while debugging T284097#7485825 
<https://phabricator.wikimedia.org/T284097#7485825>.

TASK DETAIL
  https://phabricator.wikimedia.org/T295191

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: matmarex
Cc: matmarex, Aklapper, the0001, Invadibot, Zabe, Selby, AndreCstr, 
maantietaja, XeroS_SkalibuR, Akuckartz, DannyS712, Nandana, Mirahamira, Lahi, 
Gq86, Markhalsey, GoranSMilovanovic, Jayprakash12345, QZanden, LawExplorer, 
_jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org

Reply via email to