Template talk:Load user script
This template was considered for deletion on 28 December 2021. The result of the discussion was "no consensus". |
Edit request to complete TfD nomination
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Template:Load user script has been listed at Templates for discussion (nomination), but it was protected, so it could not be tagged. Please add:
<noinclude>{{subst:tfm|help=off|1=Js}}</noinclude>
to the top of the page to complete the nomination. Thank you. Qwerfjkltalk 14:38, 28 November 2021 (UTC)
Edit request for interwiki prefix absolute URL support
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Hi there, could the contents of Template:Load user script/sandbox be merged into the main version? The sandbox allows you to specify an absolute URL (/w/etc instead of //en.wikipedia.org/etc) with an interwiki prefix, e.g. "fr" for frwiki and "c" for Commons. It also works with "en" as a prefix to use an absolute URL, in case that's useful (e.g. localized user scripts across wikis). Pinging @Ahecht, the original editor who created the sandbox. 🐶 EpicPupper (he/him | talk) 06:04, 7 January 2022 (UTC)
- Draft testcases are at Template:Load user script/testcases. 🐶 EpicPupper (he/him | talk) 06:14, 7 January 2022 (UTC)
- I see Xaosflux has been editing the sandbox. Were you intending to action this request? — Martin (MSGJ · talk) 16:56, 13 January 2022 (UTC)
- @MSGJ: was just validating the diff, but haven't had time to actually go through the change - feel free to take over! — xaosflux Talk 17:00, 13 January 2022 (UTC)
- Hi @MSGJ and @Xaosflux, any updates? 🐶 EpicPupper (he/him | talk) 04:24, 6 February 2022 (UTC)
- {{Admin help}}
- Hello,
- Apologies if I used this template in error. I would love some help in implementing the above edit request.
- Thank you, 🐶 EpicPupper (he/him | talk) 18:47, 13 March 2022 (UTC)
- Hi @MSGJ and @Xaosflux, any updates? 🐶 EpicPupper (he/him | talk) 04:24, 6 February 2022 (UTC)
- @MSGJ: was just validating the diff, but haven't had time to actually go through the change - feel free to take over! — xaosflux Talk 17:00, 13 January 2022 (UTC)
- I see Xaosflux has been editing the sandbox. Were you intending to action this request? — Martin (MSGJ · talk) 16:56, 13 January 2022 (UTC)
- Not done for now: please establish a consensus for this alteration before using the
{{edit protected}}
template. I do not see a need to support offwiki scripts. People should consciously opt in to loading a script from offwiki and giving someone a pre-made template is not a good way to do that. I also broadly do not see a need to support "absolute" URLs accordingly. Izno (talk) 18:49, 13 March 2022 (UTC)- 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. --Ahecht (TALK
PAGE) 22:46, 13 March 2022 (UTC)- ^ This. Was about to reply the exact same thing. 🐶 EpicPupper (he/him | talk) 00:23, 14 March 2022 (UTC)
- 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. --Ahecht (TALK
Discussion at Wikipedia:Village pump (technical) § Should Template:Load user script support absolute URLs?
editYou are invited to join the discussion at Wikipedia:Village pump (technical) § Should Template:Load user script support absolute URLs?. 🐶 EpicPupper (he/him | talk) 19:09, 13 March 2022 (UTC)
- The discussion was archived at Wikipedia:Village pump (technical)/Archive 196 § Should Template:Load user script support absolute URLs? Daask (talk) 18:44, 30 November 2023 (UTC)