שיחת מדיה ויקי:Gadget-WdHeader.js

תגובה אחרונה: לפני 4 שנים מאת קיפודנחש

My apologies for english. Could this be changed to add the www to the beginning of the wikidata domain (So make it mw.loader.load("//wikidata.org/w/index.php?title=User:Yair_rand/WikidataInfo.js&action=raw&ctype=text/javascript");). Not including the www means an extra redirect has to be followed, as well as causing warnings about content-security-policy. Bawolff - שיחה 12:58, 3 בנובמבר 2019 (IST)תגובה

U:Bawolff: i did as you asked, but i must admit it looks strange: we never prepend "www." to any other project (we load, e.g., scripts like cat-a-lot from commons, scripts from enwiki, and more - all w/o www). i'd dare to guess that other projects load scripts, and specifically this one, from wikidata w/o prepending "www.". forgive my french, but this limitation of WD seems to me back-assword: WD should allow linking w/o the vestigial "www" without redirection, or at least, without complaining about it. peace - קיפודנחש 20:53, 3 בנובמבר 2019 (IST)תגובה
חזרה לדף "Gadget-WdHeader.js".