Template talk:Load user script: Difference between revisions

Content deleted Content added
Edit request to complete TfD nomination: Responded to edit request
 
(18 intermediate revisions by 7 users not shown)
Line 1:
{{oldtfdfull|date= 28 December 2021 |result=no consensus |disc=Template:Load user script}}
 
== Edit request to complete TfD nomination ==
 
Line 9 ⟶ 11:
to the top of the page to complete the nomination. Thank you. <!-- Template:Xfd edit protected -->[[User:Qwerfjkl|<span style="background:#1d9ffc; color:white; padding:5px; box-shadow:darkgray 2px 2px 2px;">Qwerfjkl</span>]][[User talk:Qwerfjkl|<span style="background:#79c0f2;color:white; padding:2px; box-shadow:darkgray 2px 2px 2px;">talk</span>]] 14:38, 28 November 2021 (UTC)
:{{done}}<!-- Template:EP --> &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 20:35, 29 November 2021 (UTC)
 
== Edit request for interwiki prefix absolute URL support ==
 
{{edit fully-protected|answered=yes}}
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 @[[User:Ahecht|Ahecht]], the original editor who created the sandbox. [[User:EpicPupper|🐶 EpicPupper]] <sup>(he/him &#124; [[User talk:EpicPupper|talk]])</sup> 06:04, 7 January 2022 (UTC)
:Draft testcases are at [[Template:Load user script/testcases]]. [[User:EpicPupper|🐶 EpicPupper]] <sup>(he/him &#124; [[User talk:EpicPupper|talk]])</sup> 06:14, 7 January 2022 (UTC)
::I see {{ul|Xaosflux}} has been editing the sandbox. Were you intending to action this request? &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 16:56, 13 January 2022 (UTC)
:::{{Re|MSGJ}} was just validating the diff, but haven't had time to actually go through the change - feel free to take over! — [[User:Xaosflux|<span style="color:#FF9933; font-weight:bold; font-family:monotype;">xaosflux</span>]] <sup>[[User talk:Xaosflux|<span style="color:#009933;">Talk</span>]]</sup> 17:00, 13 January 2022 (UTC)
::::Hi @[[User:MSGJ|MSGJ]] and @[[User:Xaosflux|Xaosflux]], any updates? [[User:EpicPupper|🐶 EpicPupper]] <sup>(he/him &#124; [[User talk:EpicPupper|talk]])</sup> 04:24, 6 February 2022 (UTC)
:::::{{tl|Admin help}}
:::::Hello,
:::::Apologies if I used this template in error. I would love some help in implementing the above edit request.
:::::Thank you, [[User:EpicPupper|🐶 EpicPupper]] <sup>(he/him &#124; [[User talk:EpicPupper|talk]])</sup> 18:47, 13 March 2022 (UTC)
:[[File:Red information icon with gradient background.svg|20px|link=|alt=]] '''Not done for now:''' please establish a [[Wikipedia:Consensus|consensus]] for this alteration '''[[Wikipedia:Edit requests|before]]''' using the {{tlx|edit protected}} template.<!-- Template:EP --> 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. [[User:Izno|Izno]] ([[User talk: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. --[[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?]]==
[[File:Symbol watching blue lashes high contrast.svg|25px|link=|alt=]]&nbsp;You are invited to join the 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?]]. [[User:EpicPupper|🐶 EpicPupper]] <sup>(he/him &#124; [[User talk:EpicPupper|talk]])</sup> 19:09, 13 March 2022 (UTC)<!-- [[Template:Please see]] -->
 
:The discussion was archived at {{section link|Wikipedia:Village pump (technical)/Archive 196#Should Template:Load user script support absolute URLs?}} [[User:Daask|Daask]] ([[User talk:Daask|talk]]) 18:44, 30 November 2023 (UTC)
 
== Protected edit request on 10 October 2024 ==
 
{{edit fully-protected|Template:Load user script|answered=yes}}
Add {{para|copy|1}} per the [[Template:Load user script/sandbox|sandbox]] to add a "Copy" button to the code (see [[:phab:T40932]]). <span class="nowrap">--[[User:Ahecht|Ahecht]] ([[User talk:Ahecht|<b style="color:#FFF;background:#04A;display:inline-block;padding:1px;vertical-align:middle;font:bold 50%/1 sans-serif;text-align:center">TALK<br />PAGE</b>]])</span> 21:33, 10 October 2024 (UTC)
 
:To clarify, this is only changing parameters within the noinclude (it won't show up in testcases). It would allow a user to copy the formatting to manually install a script without actually using the template. <span class="nowrap">--[[User:Ahecht|Ahecht]] ([[User talk:Ahecht|<b style="color:#FFF;background:#04A;display:inline-block;padding:1px;vertical-align:middle;font:bold 50%/1 sans-serif;text-align:center">TALK<br />PAGE</b>]])</span> 15:36, 11 October 2024 (UTC)
:{{done}}<!-- Template:EP --> [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 22:55, 21 October 2024 (UTC)