Lucas_Werkmeister_WMDE added a comment.

  FWIW, the current validation rules are:
  
  - 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.)
  
  So I think the first two bullet points of the suggestions in the task 
description (disallow missing “www”, and disallow “/wiki/” or other 
non-“/entity/” paths) are already done. However, we don’t yet validate that the 
part after the `/entity/` is a valid item ID (I confirmed locally that 
`http://www.wikidata.org/entity/abcde` is accepted as a globe, and it 
definitely shouldn’t be).

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

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

To: Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, Ricordisamoa, gerritbot, Lydia_Pintscher, daniel, 
thiemowmde, Aklapper, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, 
ItamarWMDE, Akuckartz, Dinadineke, DannyS712, Nandana, lucamauri, 
tabish.shaikh91, Lahi, Gq86, GoranSMilovanovic, Jayprakash12345, 
JakeTheDeveloper, QZanden, merbst, LawExplorer, _jensen, rosalieper, 
Scott_WUaS, Wikidata-bugs, aude, TheDJ, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to