Lucas_Werkmeister_WMDE added a comment.

  > - coordinate globes and time calendars must be URIs below 
`http://www.wikidata.org/entity/`. (Always Wikidata, hard-coded in 
`ValidatorBuilders::$wikidataBaseUri`.)
  > - quantity units must be URIs below the local wiki’s `/entity/` URI. (On 
Wikidata, this is the same URI as for coordinate globes and time calendars, but 
on other wikis it’s different. All Wikibases refer to Wikidata for globes and 
calendars, but units are local.)
  
  Fun fact: when this was implemented in 2015, we forgot to define the 
`wikibase-validator-bad-prefix` message used by these errors.
  
  counterexample
    {
        "error": {
            "code": "modification-failed",
            "info": "⧼wikibase-validator-bad-prefix⧽",
            "messages": [
                {
                    "name": "wikibase-validator-bad-prefix",
                    "parameters": [
                        "http://example.com/";
                    ],
                    "html": "⧼wikibase-validator-bad-prefix⧽"
                }
            ],
            "docref": "See https://www.wikidata.org/w/api.php for API usage. 
Subscribe to the mediawiki-api-announce mailing list at 
<https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/>
 for notice of API deprecations and breaking changes."
        },
        "servedby": "mw1358"
    }

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

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

To: Lucas_Werkmeister_WMDE
Cc: ItamarWMDE, Lucas_Werkmeister_WMDE, Ricordisamoa, gerritbot, 
Lydia_Pintscher, daniel, thiemowmde, Aklapper, Astuthiodit_1, karapayneWMDE, 
Invadibot, maantietaja, Akuckartz, Dinadineke, Nandana, lucamauri, 
tabish.shaikh91, Lahi, Gq86, GoranSMilovanovic, JakeTheDeveloper, QZanden, 
merbst, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
TheDJ, 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