English Wikipedia @ Freddythechick:User scripts/Requests/Archive 7
![]() | This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current main page. |
Archive 1 | ← | Archive 5 | Archive 6 | Archive 7 | Archive 8 | Archive 9 |
__ARCHIVEDTALK__
User talk page warning to flag up likely THEYCANTHEARYOU problem
(I asked at VPT and was signposted here, so am just copypasting my original query:)
While waiting (!) for the mobile user notification problem (WP:THEYCANTHEARYOU) to be one day maybe (!!) fixed, would it be a) possible and b) good idea to implement in the meantime a warning which automatically appears on the top of the user talk page of a user who is likely to be not getting notifications (ie. edits only or or mostly on an affected mobile device, and does not edit their talk page)?
I realise this would do nothing to help such users receive the said notifications, but it would at least make it easier for the rest of us to identify this as a possible explanation for their lack of response to warnings etc., helping to AGF and not raise blood pressures unduly. I've seen many user talk pages where the attempts at communicating with the user get increasingly desperate, until someone points out this as the likely reason. I just thought maybe that could be done automatically by way of some clever code.
Thanks, -- DoubleGrazing (talk) 11:58, 2 May 2022 (UTC)
- PS: By "automatically" I meant some sort of user-side script which I could opt in and put in my common.js or somewhere. When I then visit a user talk page, the script checks the user's edit history and displays (to me) a warning, flagging up things like 'user has never edited their user talk page' or 'user edits using iOS devices only', or whatever the relevant criteria are. -- DoubleGrazing (talk) 11:59, 2 May 2022 (UTC)
- @DoubleGrazing: I have a script that might do part of what you are looking for: User:Rummskartoffel/talk page usage.js, which displays the time since a user's last edits in certain talk namespaces, along with links to those edits and links to their contributions for the namespaces in question. It doesn't do the other things you're looking for, though. Rummskartoffel 17:55, 8 May 2022 (UTC)
- Thanks @Rummskartoffel, will keep that in mind. Best, -- DoubleGrazing (talk) 06:08, 9 May 2022 (UTC)
Date Format Converter
I would like to suggest a Javascript extension that changes date formats from 1977-01 to January 1977. I am editing articles on Arc Routing and Mixed Chinese postman problem and the book uses the date format yyyy-mm and I would like to automate the process of correctly formatting the dates to month name long yyyy. ScientistBuilder (talk) 19:37, 10 May 2022 (UTC)
- I suggest using
{{subst:#time:F Y|1977-01}}
, which converts to "January 1977" when you save. Nardog (talk) 21:58, 10 May 2022 (UTC)
User script to Grab Youtube, Facebook, and Twitter links from a Wiki Page
Simple. Just grab and take the URls/links from a Wikipedia page with websites from Youtube, Facebook, and Twitter. Any additional sites can be good but these three should be primary. I am thinking of storing and saving them a copy before being deleted or anything bad can happen. Can anyone create an automated userscript for this? Thank you --Likhasik (talk) 16:53, 12 May 2022 (UTC)
Doing...... Shouldn't take long. Chlod (say hi!) 16:56, 12 May 2022 (UTC)
- Hi lods. Thank you for this. Well, I would say that I am an archivist and I would like to request an automation for sending links to archive.today and ghostarchive.org - both of which save webpages. Probably an extension after grabbing the URLs, then sending them to the archival sites, if possible. Thank you for the initiative. Let me know and please do ping me with "@" --Likhasik (talk) 17:06, 12 May 2022 (UTC)
- @Likhasik: Userscipt can be found at User:Chlod/Scripts/LinkGrab.js. By default, this adds a button to the "More" menu (at the page header) that will copy links to YouTube, Facebook, and Twitter to your clipboard. To change the websites that are copied, place the following before the
importScript
ormw.loader.load
line in for the script in your common.js file. - <syntaxhighlight lang="js" line>
- @Likhasik: Userscipt can be found at User:Chlod/Scripts/LinkGrab.js. By default, this adds a button to the "More" menu (at the page header) that will copy links to YouTube, Facebook, and Twitter to your clipboard. To change the websites that are copied, place the following before the
- Hi lods. Thank you for this. Well, I would say that I am an archivist and I would like to request an automation for sending links to archive.today and ghostarchive.org - both of which save webpages. Probably an extension after grabbing the URLs, then sending them to the archival sites, if possible. Thank you for the initiative. Let me know and please do ping me with "@" --Likhasik (talk) 17:06, 12 May 2022 (UTC)
window.lgLinksToFind = [ // Default "youtube.com", "youtu.be", "facebook.com", "twitter.com", // Example: Also copy links to the Washington Post "washingtonpost.com" ]; importScript("User:Chlod/Scripts/LinkGrab.js"); </syntaxhighlight>
- Let me know if you want anything changed or need anything else. I'll definitely expand this in the future to give it a better interface for choosing websites to get than having to edit the JS file. As for the extension that automatically archives the links: it's beyond the scope for this board (and probably needs more than a userscript, as I don't think either website would allow cross-origin resource sharing with Wikipedia). We do, however, have User:InternetArchiveBot (interface) that can automatically archive outlinks to the Internet Archive (as long as the option was set). Chlod (say hi!) 17:46, 12 May 2022 (UTC)
- @Chlod Can you also please add a "false positive" feedback box (I'm not sure with the name) whenever I click Grab links? Like for example, an article without any of those URLs/Websites. If I click "Grablink", it should give me feedback that there are no links corresponding to it (No YT/FB/Twitter links). Hence not wasting my time confirming if I have the links grabbed.
- Whenever I click grab links, the feedback box shows "Links copied to clipboard" but there are no links copied instead. I just wanted to save time instead of CTRL+V-ing every time to see if there is something copied.
- Also, can you also create a userscript that whenever I click "random article", it will lead me to my preferred topics? I am tired seeing sports articles whenever I click random article which I do not want to edit. Thank you.
- --Likhasik (talk) 03:31, 13 May 2022 (UTC)
- @Likhasik: For the former,
Done. For the latter, you may wish to use Special:RandomInCategory and bookmark that instead. Chlod (say hi!) 04:29, 13 May 2022 (UTC)
- Please also add the total numbers of link copied. Better if by Links/URLs themselves with the overall count, of course. (Example: 5 YT links copied; 0 FB links; 2 Twitter etc.) Only for the feedback box
- Also, is there a possibility that I can edit this userscript by myself with my own preferences and Links? Sorry I am new in using a Userscript. Thanks! --Likhasik (talk) 04:42, 13 May 2022 (UTC)
- @Likhasik: Feel free to copy over the userscript to your own userspace (subject to WP:CWW, of course). After that, just change the relevant lines in your
common.js
to use your own version. Chlod (say hi!) 04:45, 13 May 2022 (UTC)- Okay then. Also, please do add the aforementioned request. The number of copied links per site. Thank you --Likhasik (talk) 05:16, 13 May 2022 (UTC)
- @Likhasik:
Done.
Chlod (say hi!) 05:28, 13 May 2022 (UTC)
- @Chlod Hello and good day. I think the script is broken. It copies links that are not any of those three. It just takes any URLs in the page, including files and images within wikipedia. Please fix. The feedback box is not even cooperating and I'd say still faulty. --Likhasik (talk) 03:20, 15 May 2022 (UTC)
- @Likhasik:
- Okay then. Also, please do add the aforementioned request. The number of copied links per site. Thank you --Likhasik (talk) 05:16, 13 May 2022 (UTC)
- @Likhasik: Feel free to copy over the userscript to your own userspace (subject to WP:CWW, of course). After that, just change the relevant lines in your
- @Likhasik: For the former,
- Let me know if you want anything changed or need anything else. I'll definitely expand this in the future to give it a better interface for choosing websites to get than having to edit the JS file. As for the extension that automatically archives the links: it's beyond the scope for this board (and probably needs more than a userscript, as I don't think either website would allow cross-origin resource sharing with Wikipedia). We do, however, have User:InternetArchiveBot (interface) that can automatically archive outlinks to the Internet Archive (as long as the option was set). Chlod (say hi!) 17:46, 12 May 2022 (UTC)
Translation script
Hello! I sometimes use Wikipedia to help myself learn new languages. To do that, many times I have to look up in Google certain words from certain sentences to be able to grasp the context. Can we create a script that makes it possible to select a certain word and get the translation for it in a chosen language? For example, in the Latin Wikipedia, in the sentence Novum Eboracum est urbs. (New York is a city.) I can select "urbs" and get shown a tooltip reading "city". Maybe the language of the source gets deducted automatically by the project's name code and the translated language can be set up as a preference by the user somewhere. (Or we can just make it work with English if that's too hard, that would be good enough.) - Klein Muçi (talk) 03:28, 15 April 2022 (UTC)
- There are plenty of browser extensions that allow that on any website, see [1][2]. Nardog (talk) 03:42, 15 April 2022 (UTC)
- Hah, somehow it had never crossed my mind it could be that easy. Precisely what I was looking for, thank you! - Klein Muçi (talk) 09:21, 15 April 2022 (UTC)
- There's also Endo999's GoogleTrans, which can also be enable as a gadget from your preferences page. — Guarapiranga ☎ 06:05, 15 May 2022 (UTC)
- @Guarapiranga, superb script (and superb support from Endo for more than a decade apparently). I'm sticking to the extension for the moment because it can extend further than Wikipedia but if I hadn't been told about it, I would have gone with this script. Thank you! - Klein Muçi (talk) 11:04, 15 May 2022 (UTC)
A script that highlights and helps link unlinked people (and organisations?) in articles
... somewhat similar to those that highlight dab links and help resolve them.
Unfortunately WP:REDLINK policies create a dis-incentive for editors to wikilink people whose notability is uncertain, or that may or may not become notable in the future. The result I see is tons of people who were deemed notable enough to have articles in their name, but that remain (sort of) anonymous in other articles, probably bc they were written before their notability was established. It'd be great if a script could highlight such people (perhaps by simply regexing for proper names, e.g. <syntaxhighlight lang="text" class="" style="" inline="1">([A-Z][a-z\-]+ [A-Z][a-z\-\.]+</syntaxhighlight>, and checking whether their articles exist. The script could then provide the hover snippet of the article with a confirm button to introduce the link. If the linked page is a dab, then if it could help choose the dab link from a dropdown menu, that'd be a bonus.
Is there anything already out there that doesn something like that? Otherwise, I can't imagine it'd be too hard to put it together (I can probably do it, given enough time, sweat and tears). — Guarapiranga ☎ 06:00, 23 May 2022 (UTC)
- How would a script recognize that in "James Wood is a 65-foot tall carpenter", "James Wood" is a person that could potentially be linked, and "tall carpenter" isn't a person that could potentially be linked? Headbomb {t · c · p · b} 06:04, 23 May 2022 (UTC)
- For reference, your regex would highlight the following (in purple). That doesn't seem very useful. Headbomb {t · c · p · b} 06:15, 23 May 2022 (UTC)
- Looks like you figured out how that regex can distinguish James Wood from tall carpenter, Headbomb. But, yeah, it's e.g.; sure it can be improved (to include longer and hyphenated proper names, for instance). I wouldn't have the script simply link all such capitalised groups of words--let alone highlight'em in purple! 😄--but rather underline them (say, in blue), perhaps highlight them in light blue when hovered over, and open a drop down menu with options to either link or ignore them (perhaps a more complete menu would include: link this, link all, ignore this, ignore all, and the alternatives to link to in case of dab). — Guarapiranga ☎ 22:40, 23 May 2022 (UTC)
- For reference, your regex would highlight the following (in purple). That doesn't seem very useful. Headbomb {t · c · p · b} 06:15, 23 May 2022 (UTC)
Disambiguation gadget from plwiki
The plwiki has a disambiguating gadget to help clean up ambiguous links on a page. The original script is Matma Rex's disFixer on enwiki. The interface works fine, but it doesn't seem to apply the requested changes once the edit window is loaded (at least on my setup). Has anyone been able to make it work, or have an alternate? Cheers. — Guarapiranga ☎ 05:01, 25 May 2022 (UTC)
- @Guarapiranga Hi :) I haven't maintained the enwiki version, because I thought that other tools for fixing disambiguation links are popular here – for example Navigation popups does it, and tons of people have that enabled. I haven't looked at it since 2014, it may have been broken by some MediaWiki changes in the meantime. If you'd find it useful, I'll have a look at it tomorrow. There are some differences from the plwiki version, since that one depends on some other gadgets available there. Matma Rex talk 00:03, 26 May 2022 (UTC)
- Aha! I hadn't noticed navpopup had that option. Thanks, Matma Rex. I guess that's also half the solution to an earlier question I had posted here. Cheers. — Guarapiranga ☎ 02:14, 27 May 2022 (UTC)
- Hum... Navpopup's dab option is not working for me either (and showing very similar behaviour to your script, Matma Rex--it opens the edit window with the <syntaxhighlight lang="text" class="" style="" inline="1">autoedit</syntaxhighlight> regex in the url, but no changes are made in the content--which suggests to me in both cases it may be a conflict with my config (preferences, gadgets and scripts)). — Guarapiranga ☎ 02:42, 27 May 2022 (UTC)
- @Guarapiranga Oh, this might actually be a simpler problem than I thought. Do you have syntax highlighting enabled? This change should fix it: [3]. Someone could probably make a similar fix to Popups. (Also, I'd like to note that this gadget is 10+ years old and not my finest work. I'll be happy if you find it useful, but it might be a disappointment, and I'm not really interested in reworking it.) Matma Rex talk 23:19, 27 May 2022 (UTC)
- Thanks for that, Matma Rex. Neither of those solutions fixed it, though. It's now pretty clear to me this is unrelated to your script, navpopup, or my setup (as simply loading the autoedit url does nothing to the edit window whether I'm logged in or out). This one, for instance. — Guarapiranga ☎ 04:07, 28 May 2022 (UTC)
- @Guarapiranga Oh, this might actually be a simpler problem than I thought. Do you have syntax highlighting enabled? This change should fix it: [3]. Someone could probably make a similar fix to Popups. (Also, I'd like to note that this gadget is 10+ years old and not my finest work. I'll be happy if you find it useful, but it might be a disappointment, and I'm not really interested in reworking it.) Matma Rex talk 23:19, 27 May 2022 (UTC)
- Hum... Navpopup's dab option is not working for me either (and showing very similar behaviour to your script, Matma Rex--it opens the edit window with the <syntaxhighlight lang="text" class="" style="" inline="1">autoedit</syntaxhighlight> regex in the url, but no changes are made in the content--which suggests to me in both cases it may be a conflict with my config (preferences, gadgets and scripts)). — Guarapiranga ☎ 02:42, 27 May 2022 (UTC)
- Aha! I hadn't noticed navpopup had that option. Thanks, Matma Rex. I guess that's also half the solution to an earlier question I had posted here. Cheers. — Guarapiranga ☎ 02:14, 27 May 2022 (UTC)
Userscript to periodically reload web.archive.org whenever I am archiving
Hello and I ask you folks if maybe you can help me out. Pardon me if this request is an external one, outside of Wikipedia itself.
So I have this Userscript executor called Tampermonkey which is a chrome extension and unfortunately I cannot code it myself.
Whenever I archive or send links to save in web.archive.org, I get this message "Sorry Job failed" or "Sorry You have already reached the limit of active sessions. Please wait for a few minutes and then try again." I usually archive links manually here in Wikipedia because the InternetArchiveBot is sometimes inefficient when it comes to a lot of requests, as well as personal sites that I visit in the web in general. After several reloads, it accepts the request and successfully archive. I would like just to request if you know or can create a code which automatically reloads the web.archive.org website whenever I am saving to save time instead of revisiting each and reloading it one-by-one. Not automatically but rather within a certain period or with a cooldown for a few seconds a bit.
Thank you and have a great day! --Likhasik (talk) 05:22, 28 May 2022 (UTC)
- @Likhasik: this Tampermonkey script will reload any page under web.archive.org/* after a set amount of time:
- <syntaxhighlight lang="js">
// ==UserScript== // @name Reload web.archive.org // @namespace http://tampermonkey.net/ // @version 0.1 // @description reload web.archive.org // @author You // @match https://web.archive.org/* // @icon https://www.google.com/s2/favicons?domain=tampermonkey.net // @grant none // ==/UserScript== const reloadTime = 15000; // you can change this value to vary how long it will take to reload -- this is 15 seconds window.setTimeout(() => location.reload(), reloadTime); </syntaxhighlight> >>> Ingenuity.talk(); 19:59, 28 May 2022 (UTC)
Point 1st tab to ROOTPAGENAME
I'm always a little confused as to why the 1st tab--Article in mainspace, Template, Project page, etc--while in a talk or subpage point to {{SUBJECTPAGENAME}}, not to {{ROOTPAGENAME}}. Scripting that change should be easy enough; has anyone done it already, or should I endeavour to? Or would anyone like to take a stab at it? — Guarapiranga ☎ 02:39, 31 May 2022 (UTC)
Tab Resizing Script?
Hello I edit on a mobile phone and since the mobile skin doesn't have all the features of the vector skin I switched to the vector skin. However the tab and the other stuff on the top of the page are too small for me to press with my big fingers. So I want a user script that allows me to resize the top of the page (tabs, search, preferences, notifications etc). THE Pizzaplayer!TALK TO MEE!! contribs 20:20, 22 May 2022 (UTC)
- Js' 6tabs-vector.js makes'em narrower by changing their text to icons. Perhaps all you need to do is to change the text to be wider. — Guarapiranga ☎ 07:30, 1 June 2022 (UTC)
Access keys cheat sheet
It'd be cool to press alt-shift-? and see a access keys popup cheat sheet. Has anyone done that yet? I couldn't find it here, here or here. — Guarapiranga ☎ 11:31, 2 June 2022 (UTC)
- @Guarapiranga:
- <syntaxhighlight lang="js">
$('body').keydown(function(e) { if (!(e.altKey && e.shiftKey && e.key == '?')) return; if (!$('#akcs').length) { $('#bodyContent').after(
$('
// Here goes your content (in HTML). ) ); } $('#bodyContent, #akcs').toggle(); }); </syntaxhighlight>
- And that's basically it. NguoiDungKhongDinhDanh 15:20, 2 June 2022 (UTC)
- Thanks, NguoiDungKhongDinhDanh. Any wm-js tricks to transclude from WP itself instead of typing it out and maintaining it? Like...:
{{#section-h:WP:KBD|List of access keys}}
— Guarapiranga ☎ 06:04, 3 June 2022 (UTC) - NguoiDungKhongDinhDanh, did you mean:<syntaxhighlight lang="js">$('').attr('id', 'akcs').css('display', 'none').html('
- Thanks, NguoiDungKhongDinhDanh. Any wm-js tricks to transclude from WP itself instead of typing it out and maintaining it? Like...:
// Here goes your content (in HTML).
')
</syntaxhighlight>
Isn't that what you suggested? I'm getting a missing ) after argument error msg. — Guarapiranga ☎ 06:48, 3 June 2022 (UTC)
- @Guarapiranga: If you want to transclude the table, you will have to query it from MediaWiki. That is unnecessary. Also, you need to escape single quotes inside the table, or change the outermost ones to backticks (
`
). NguoiDungKhongDinhDanh 07:36, 3 June 2022 (UTC)- Yes!
Sorted.
Working now. Thanks, Nguoi. — Guarapiranga ☎ 07:44, 3 June 2022 (UTC)
- Yes!
- @Guarapiranga: If you want to transclude the table, you will have to query it from MediaWiki. That is unnecessary. Also, you need to escape single quotes inside the table, or change the outermost ones to backticks (
- What I would do: <syntaxhighlight lang="js" line>$(() => {
let dialog; $('<a>').attr('accesskey', '?').text('This thing').hide().click(() => { if (dialog) { dialog.open({ actions: [] }); return false; } mw.loader.using('oojs-ui-windows', () => { let winMan = new OO.ui.WindowManager(); winMan.$element.appendTo(document.body); dialog = new OO.ui.MessageDialog(); winMan.addWindows([dialog]);
$('').addClass('wikitable').css('width', '100%').append( $('[accesskey]').map(function () { return $('').append( $('').text(this.accessKey.toUpperCase()), $(' | ').text(
this.getAttribute('aria-label') || this.textContent || this.value || $(`label[for="${this.id}"]`).text() ) ); }).get() ).appendTo(dialog.text.$element); dialog.open({ actions: [] }); }); return false; }).appendTo(document.body); });</syntaxhighlight> Nardog (talk) 14:51, 3 June 2022 (UTC)
dialog.close(); } else { dialog.open({ actions: [] }); }</syntaxhighlight> Nardog (talk) 15:19, 3 June 2022 (UTC)
GAN review user script![]()
I'd want a button, or instructions to add to the page for it to either pass, or fail. As far as I see it, passing requires:
For a fail, it's simply just a case of changing {{GA nominee}} to {{Failed GA}}, or article history. Best Wishes, Lee Vilenski (talk • contribs) 14:53, 13 April 2022 (UTC)
Lee Vilenski. Alright, the GANReviewTool user script is mostly done. For passes and fails, it adds {{atop}} and it removes {{GA nominee}}. For passes, it also adds {{GA}} or adds an entry to the {{Article history}}. For fails, it also adds {{FailedGA}}. I haven't coded adding the GA to WP:GA yet, I may work on that tomorrow. The user script is ready for testing, by you, by third parties, and by feeding me GANs to close. Please report all bugs and feature requests. This one could get popular, so would be good to test it thoroughly and iterate on any issues we find. Let me know your thoughts. –Novem Linguae (talk) 08:36, 8 June 2022 (UTC) Hide usernameHello. I would like to be pointed to a userscript that hides my username, which is conspicuously placed in the top right area of the page on the Vector skin. I surprisingly can't find anything except an old Greasemonkey script that doesn't seem to work. Thanks DemonDays64 (talk•contribs) 23:45, 1 June 2022 (UTC) (please ping on reply)
display: none; } </syntaxhighlight>
$('#pt-userpage').remove(); </syntaxhighlight>
content: "User"; }
display: none; } </syntaxhighlight> Nardog (talk) 14:30, 9 June 2022 (UTC) User logsIs there a user script that we can use to find the csd log, xfd log, prod log, drafify log of any user, without going to their find their user subpages? For example, we arrive on a user page, and then we see links to the respective logs. Is such a user script available? Itcouldbepossible Talk 05:27, 2 June 2022 (UTC)
Script to click on backlinks on common.js filesIs there any script that can be used to click on the 'backlinks' that are available in the common.js files? Copying the whole link and opening it elsewhere is a little time consuming. If it is not there, then can such a thing be made? Itcouldbepossible Talk 14:19, 23 June 2022 (UTC)
Forks search linkI see script forking has sprawled across WP (which is a good thing, and of which I too am guilty of contributing to). Nowadays, whenever installing a new script, finding a bug on a script I use, or longing for some new feature or improvement, I look for forks by simply searching scripts with the same name (don't change the script's name, if you want your fork to be found--and vice-versa!--I guess). I wonder whether we could help each other finding forks by indexing them, as we do with original scripts in WP:US/L and WP:USRANK. One (albeit small) step in that direction would be to simply add a forks link next to the scripts links, as scriptInstaller does with a link to install. I might do this at some point, but wanted to put it out there, in case anyone wishes to leap ahead of me. Cheers. — Guarapiranga ☎ 04:27, 2 June 2022 (UTC)
Scripts PanelI endeavoured to improve upon MusikAnimal's scriptManager with a scripts panel by, rather than having users explicitly declare each script to be 'managed' in their common.js, simply read from their common.js which scripts they disabled. The idea is to complement scriptInstaller in a way that all installed scripts, both enabled and disabled, are everywhere accessible on the left panel (just where MusikAnimal put it), and be able, from any page, to enable, permanently or temporarily, disable and even uninstall any installed script. But, as a js rookie, I hit a wall getting mw js to read common.js as text file. Would anyone here like to have a look and point me in the right direction (please feel free to edit the code there directly too). Cheers. — Guarapiranga ☎ 23:42, 1 June 2022 (UTC)
A script to remove dates and regroup edits in the watchlistI don't have much use for the dates in the watchlist, and would like to regroup the edits by page. Hiding the dates is easy enough with css (<syntaxhighlight lang="text" class="" style="" inline="1">h4 {display: none}</syntaxhighlight>), but regrouping the edits by page doesn't seem to trivial. Does anyone have a script for that? I had a look at The_Transhumanist's WatchlistSorter, which regroups by namespace, but it's targeted at the old (non-enhanced watchlist). Can the same be done with the new watchlist, or am I stuck with meddling with the old one? Cheers. — Guarapiranga ☎ 02:07, 29 July 2022 (UTC)
| </syntaxhighlight>entries, once the <syntaxhighlight lang="text" class="" style="" inline="1">Timestamp anchors in talk pagesI've been using Evad37's excellent TimestampDiffs script to effectively link comments in talk pages, but what would be most useful, instead of sending the reader to a diff page, is simply put anchors in the timestamps, and be able to link them in the comment. Is there a script already that does that? I couldn't find any at either WP:USLIST or WP:USRANK. Incidentally, it seems to me that this would be an easier job than what Evad37 did in TimestampDiffs, as the script wouldn't have to parse the history page at all. If it could jig the css to shade the linked comment, that'd be a bonus! — Guarapiranga ☎ 23:51, 20 July 2021 (UTC)
Category blockingHello! I was wondering if it would be possible for someone to develop a script to make it easier to block specific users listed in a category? I would envision this being something like how SPI handles it with check boxes to select specific users. I seem to remember Enterprisey has something similar before for mass blocking, but I can't find it anymore...posting here per Enterprisey. --TheSandDoctor Talk 06:31, 3 April 2022 (UTC)
Page blanker scriptIs there a script that blanks an entire page by click of button? Possibly with a confirmation button just so that a mistaken hit on the button doesn't blank the whole page. Thanks! —CX Zoom[he/him] (let's talk • {C•X}) 18:33, 4 June 2022 (UTC)
A user script to make formatted edit requestsSee this request. If there were a script that somehow made it easier to submit requests formatted like that, I'm sure people would like it. Enterprisey (talk!) 06:47, 1 October 2021 (UTC)
FormattedEditRequest.js@Enterprisey, SD0001, and Qwerfjkl: See User:NguoiDungKhongDinhDanh/FormattedEditRequest.js. Sometimes it gets stuck when encountering JS pages/Lua modules like User:Alexis Jazz/Bawl-test.js or Module:Citation/CS1 (I don't know why yet), but in general it does work. NguoiDungKhongDinhDanh 19:58, 1 April 2022 (UTC)
Script to automatically change citoid generated citations to cs2After citoid generates a cs1 citation from a link and after the user presses the "insert" button, the script would automatically change the template name to citation instead of cite news/books/url Aaron Liu (talk) 17:43, 13 August 2022 (UTC)
Also move articles and sub-categories when moving a categoryDo you guys have any scripts that combine Cat-a-lot and SpecialːMove?
Script that adds the possibility to give template-replies with 1 buttonHow I am picturing it: A button appears beside the [[Reply]] link which when pressed opens up a list to choose from with templates such as {{Done}}, {{Read}}, {{Partly done}}, and many more. - Klein Muçi (talk) 12:57, 23 May 2022 (UTC)
Script that makes autowatchlisting pages temporarySimple version: Make it so that each page that gets watchlisted, except those created by me, get watchlisted only temporary. Time can be adjustable. Advanced version: Make it so we have full customization on what exceptions can be and make the time adjustable per category. Allow for adjustable time for specific entries if so needed. - Klein Muçi (talk) 12:09, 15 May 2022 (UTC)
Highlight comments on hoverWould it be possible to have a user scripts that allows comments on discussions (think talk pages) to be highlighted once you hover over them with your mouse? That way you can see where a certain comment starts and ends. - Klein Muçi (talk) 00:39, 21 April 2022 (UTC)
titleOP
</syntaxhighlight>
p:hover + dl, dl:hover {background:lightyellow} p:hover, p:hover + p, dd:hover {background:lightcyan} </syntaxhighlight>It'll highlight the OP cyan when hovering over it, and yellow the comments below, and it'll highlight cyan a comment when hover it as well as the comments replying to it. Sometimes it breaks when a comment includes multiple lines, and it definitely can't distinguish talk pages from others (but that it highlights paragraphs you're hovering over in article pages is a feature, not a defect 😅). At some point, css did include a <syntaxhighlight lang="text" class="" style="" inline="1">@document</syntaxhighlight> selector to match an url or part thereof, but it has since been retired and deprecated. Beyond this, js is definitely required. — Guarapiranga ☎ 00:19, 25 May 2022 (UTC)
|
---|