Template talk:Load user script: Difference between revisions

Content deleted Content added
Line 27:
::The intent isn't to support offwiki scripts, it's to support cross-wiki scripts (such as [[:meta:User:Zhaofeng_Li/Reflinks.js]] or [[:meta:User:ESanders (WMF)/commentlinks.js]]) and to support the generation of code that can be copied to ones global.js file. It doesn't support putting in an arbitrary url, it still needs a valid interwiki prefix. --[[User:Ahecht|Ahecht]] ([[User talk:Ahecht|<span style="color:#FFF;background:#04A;display:inline-block;padding:1px;vertical-align:-.3em;font:bold 50%/1 sans-serif;text-align:center">TALK<br />PAGE</span>]]) 22:46, 13 March 2022 (UTC)
:::^ This. Was about to reply the exact same thing. [[User:EpicPupper|🐶 EpicPupper]] <sup>(he/him &#124; [[User talk:EpicPupper|talk]])</sup> 00:23, 14 March 2022 (UTC)
::::I should also clarify that the current template already displays absolute URLs when provided with an interwiki prefix. All that's changing is that it now has the ability to specify an absolute URL for script on the this wiki by prefixing with "en:". --[[User:Ahecht|Ahecht]] ([[User talk:Ahecht|<span style="color:#FFF;background:#04A;display:inline-block;padding:1px;vertical-align:-.3em;font:bold 50%/1 sans-serif;text-align:center">TALK<br />PAGE</span>]]) 13:41, 15 March 2022 (UTC)
 
==Discussion at [[:Wikipedia:Village pump (technical)#Should Template:Load user script support absolute URLs?|Wikipedia:Village pump (technical) §&nbsp;Should Template:Load user script support absolute URLs?]]==