Content deleted Content added
→Protected edit request on 10 October 2024: Responded to edit request |
|||
(6 intermediate revisions by 3 users not shown) | |||
Line 25:
:::::Thank you, [[User:EpicPupper|🐶 EpicPupper]] <sup>(he/him | [[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 | [[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) § Should Template:Load user script support absolute URLs?]]==
[[File:Symbol watching blue lashes high contrast.svg|25px|link=|alt=]] You are invited to join the discussion at [[:Wikipedia:Village pump (technical)#Should Template:Load user script support absolute URLs?|Wikipedia:Village pump (technical) § Should Template:Load user script support absolute URLs?]]. [[User:EpicPupper|🐶 EpicPupper]] <sup>(he/him | [[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)
|