Wikipedia:User scripts/Requests/Archive 3: Difference between revisions
Content deleted Content added
Added threads from Wikipedia:User_scripts/Requests |
Added threads from Wikipedia:User_scripts/Requests |
||
Line 354:
::<small>Forgot to ping {{u|Geniac}} --[[User:Danski454|Danski454]] ([[User talk:Danski454|talk]]) 20:49, 19 May 2019 (UTC)</small>
:::{{ping|Danski454}} Ooh yes it works. That's what I was looking for. Thanks! --[[User:Geniac|Geniac]] ([[User talk:Geniac|talk]]) 23:43, 20 May 2019 (UTC)
==Tweak to Gadget-markblocked==
[[:MediaWiki:Gadget-markblocked.js]] strikes through the names of locally blocked users, but does nothing if the user is globally locked but not locally blocked.{{parabr}}
The code exists - [[:MediaWiki:Gadget-popups.js]] detects both and hovering over a name like [[User:Chyah]] will show '''BLOCKED, ''LOCKED'''''.{{parabr}}
Gadget-markblocked needs to be enhanced to strike through the named of locked users (since in practice the effect of blocking and locking is equivalent) as well as blocked users.
:<small>note: [[MediaWiki talk:Gadget-markblocked.js#Globally locked and blocked users]]</small>{{parabr}}
Thanks, [[User:Cabayi|Cabayi]] ([[User talk:Cabayi|talk]]) 10:27, 2 January 2019 (UTC)
:{{u|Galobtter}} has done some investigation and [[Special:Permalink/880762431#Globally locked and blocked users|apparently it's not possible]]. Thanks everybody who considered the request, [[User:Cabayi|Cabayi]] ([[User talk:Cabayi|talk]]) 09:51, 29 January 2019 (UTC)
::I've been intending to look at this for some time, and there might be a way we can still do it. Replied over there. [[User:Enterprisey|Enterprisey]] ([[User talk:Enterprisey|talk!]]) 16:40, 29 January 2019 (UTC)
== Help Me Request Assistant ==
Hi,
Would it be possible for a script similar to the edit request helper be created for responding to help requests that allows the template to be changed to the appropriate response based one easily and respond from the [[Template:Help me]] box? [[User:RhinosF1|RhinosF1]]<sup>[[User talk:RhinosF1|(chat)]]</sup><small><sub>[[User:RhinosF1/StatusMonitor|(status)]][[Special:Contributions/RhinosF1|(contribs)]]</sub></small> 21:48, 17 March 2019 (UTC)
:{{ping|RhinosF1}} [[WP:EPH]] was written by [[User:Jackmcbarn]], who hasn't edited in 18 months. The script has some issues, and could benefit from some forking it and taking over as its maintainer. Given the similarities, it may make sense for one person to do both, since the code would ~likely~ be similar. <small>I'm not volunteering, but just commenting</small> --[[User:DannyS712|DannyS712]] ([[User talk:DannyS712|talk]]) 21:51, 17 March 2019 (UTC)
::{{u|DannyS712}}, Totally agree with you that one maintainer for both or it been part of EPH would be ideal [[User:RhinosF1|RhinosF1]]<sup>[[User talk:RhinosF1|(chat)]]</sup><small><sub>[[User:RhinosF1/StatusMonitor|(status)]][[Special:Contributions/RhinosF1|(contribs)]]</sub></small> 21:52, 17 March 2019 (UTC)
== Load JSON ==
More a request for a snippet. How does one load a json file (e.g., [[User:Wugapodes/Capricorn/RedirectAliases.json]]) into a userscript (e.g., [[User:Wugapodes/Capricorn.js]]). Is there anything WP specific I should know? I tried <code><nowiki>$.getJSON("https://en.wikipedia.org/wiki/User:Wugapodes/Capricorn/RedirectAliases.json")</nowiki></code> but it didn't give me the result I was expecting. [[User:Wugapodes|Wug·]][[User talk:Wugapodes|a·po·des]] 04:46, 15 August 2019 (UTC)
:: Add {{para|action|raw}}, like <code>https://en.wikipedia.org/w/index.php?title=User:Wugapodes/Capricorn/RedirectAliases.json&action=raw&ctype=application/json</code>. [[User:Tokenzero|Tokenzero]] ([[User talk:Tokenzero|talk]]) 08:46, 15 August 2019 (UTC)
== Back to top script ==
could someone make a script that adds a "go back to top of page" button? --[[User:Predated0|Predated0]] ([[User talk:Predated0|talk]]) 19:49, 19 September 2019 (UTC)
: {{re|Predated0}} Looks like there's already one, [[User:BrandonXLF/ToTop]]. ‐‐[[User:1997kB|1997kB]] ([[User_talk:1997kB|talk]]) 05:38, 30 September 2019 (UTC)
:: {{ping|Predated0}} You could also look at [[User:BrandonXLF/ToTopButton]] if you looking for more of a floating button rather than a link at the bottom of the page. <span class="sig-22804074" style="white-space:nowrap;">– [[User:BrandonXLF|<span style="color:blue;">Brandon</span><span style="color:green;">XLF</span>]] [[User talk:BrandonXLF|<span style="font-size:0.8em;color:blue;">(t@lk)</span>]]</span> 04:31, 14 October 2019 (UTC)
== Edit warring indicator ==
Edit warring is one of the most disruptive issue that can happen, and articles under active EW should be approached with caution (and could use also external opinions). I would like to propose the idea of making an "edit warring indicator" that would be a simple green/yellow/orange/red light placed at the top of articles as the XTools gadget does. The indicator would simply check the number of reverts in the last 24h. I know reverts are hard to detect, but there can be a few tricks to detect them most of the time: keywords in the diff comments (undid, revert, etc.); edits of the same KB count but with opposite signs. It could also account for the number of different editors involved. --[[User:Signimu|Signimu]] ([[User talk:Signimu|talk]]) 20:33, 29 October 2019 (UTC)
:{{ping|Signimu}} Done, see [[User:Evad37/EditWarChecker]]. - <u>'''[[User:Evad37|Evad]]''37'''''</u> <span style="font-size:95%;">[[[d:w:User talk:Evad37|talk]]]</span> 02:35, 30 October 2019 (UTC)
::Sir, you are a hero! {{emoji|1F64F}} And a fast one! {{=D}} Thank you so much! I appreciate that it shows the number of users involved in edit warring, awesome! --[[User:Signimu|Signimu]] ([[User talk:Signimu|talk]]) 02:43, 30 October 2019 (UTC)
== Script request ==
Is there any script to put custom summary when rollbacking? I don't have rollback here but I do have this right on other projects. And It would be helpful to have a script like that. Perhaps {{u|DannyS712}} can help? [[User:Masumrezarock100|<u style="color:#087643;font-face:arial;text-shadow:gray 0.2em 0.2em 0.4em;">'''''Masum Reza'''''</u>]][[User_talk:Masumrezarock100|<sup style="color:orange;">''📞''</sup>]] 13:24, 8 November 2019 (UTC)
:{{ping|Masumrezarock100}} See https://en.wikipedia.org/w/api.php?action=help&modules=rollback - the `summary` parameter can be customized [[User:DannyS712|DannyS712]] ([[User talk:DannyS712|talk]]) 16:43, 8 November 2019 (UTC)
:: Thanks. I think I will create one myself. [[User:Masumrezarock100|<u style="color:#087643;font-face:arial;text-shadow:gray 0.2em 0.2em 0.4em;">'''''Masum Reza'''''</u>]][[User_talk:Masumrezarock100|<sup style="color:orange;">''📞''</sup>]] 16:46, 8 November 2019 (UTC)
== Watchlist templates and their documentation in one click ==
Hi, is there/would it be possible to make the watchlist button on templates watchlist both the main template page and its /documentation sub page? ‑‑[[User:Trialpears|Trialpears]] ([[User talk:Trialpears|talk]]) 22:25, 9 November 2019 (UTC)
* {{ping|User:Trialpears}} {{done}} [[User:BrandonXLF/WatchDoc]] should work. Let me know if you have any suggestions. <span class="sig-22804074" style="white-space:nowrap;">– [[User:BrandonXLF|<span style="color:blue;">Brandon</span><span style="color:green;">XLF</span>]] [[User talk:BrandonXLF|<span style="font-size:0.8em;color:blue;">(t@lk)</span>]]</span> 06:19, 11 November 2019 (UTC}
== Watchlist thanks ==
I'd love to have [[Special:Thanks|thank]] links on my watchlist. [[User:Guarapiranga|Guarapiranga]] ([[User talk:Guarapiranga|talk]]) 01:15, 20 November 2019 (UTC)
: I agree, that would be awesome! {{=D}} --[[User:Signimu|Signimu]] ([[User talk:Signimu|talk]]) 13:45, 20 November 2019 (UTC)Í
::On talk pages too! (though I realise that's a little more involved) [[User:Guarapiranga|Guarapiranga]] ([[User talk:Guarapiranga|talk]]) 23:03, 20 November 2019 (UTC)
{{ping|Guarapiranga|Signimu}} {{Done}} for the watchlist: [[User:Evad37/Thanky]]. It will also work for other special pages with diff links, like recent changes, related changes, and contributions. - <u>'''[[User:Evad37|Evad]]''37'''''</u> <span style="font-size:95%;">[[[d:w:User talk:Evad37|talk]]]</span> 04:48, 23 November 2019 (UTC)
:Excellent, {{u|Evad37}}, thank you (''if only there was a thank link here…'' =D) [[User:Guarapiranga|Guarapiranga]] ([[User talk:Guarapiranga|talk]]) 06:39, 23 November 2019 (UTC)
::{{u|Evad37}}, you are a legend, thank you so much, it works perfectly well even with grouping enabled! (the thanks I just sent you was done from there) {{=D}} --[[User:Signimu|Signimu]] ([[User talk:Signimu|talk]]) 10:46, 23 November 2019 (UTC)
|