Lucas_Werkmeister_WMDE added a comment.

  > The Wikibase editing UI also uses at least wbformatvalue, and there the 
relative URLs work. Do we want to keep it this way by default?
  
  
  
  - We could make the module return absolute URLs by default, with an option to 
return relative URLs. Problem: all Wikibase editing UI requests now have to 
include this parameter, bloating the requests a bit. (Otherwise, the response 
will be slightly bloated instead.)
  - We could make the module return relative URLs by default, with an option to 
return absolute URLs. Problem: all external developers will need to know about 
this option. (But at least it’s fully backwards compatible, even though the 
compatible behavior might not be desirable?)
  - We could make the module return relative URLs if the HTTP referrer matches 
the current wiki, otherwise absolute URLs. Problem: very magical, and also 
external developers will still see relative URLs on the API sandbox.

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

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

To: Lucas_Werkmeister_WMDE
Cc: Aklapper, Lucas_Werkmeister_WMDE, alaa_wmde, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Wikidata-bugs, 
aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to