This is an archive of past discussions on Wikipedia:Ultraviolet. 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 talk page.
Automatically select all when clicking on warning reason
Hello (apologies if I'm overdoing this), but I think it would be very helpful if RedWarn's warnings ("Warn User") in "Reason" (selection of warning template) could automatically select all text (like Ctrl+A) or delete all text in the box when clicked on. The only reason I click on that box is to select another template, and it takes some time to have to delete the text in there first. Thanks, Tol | Talk | Contribs22:54, 30 April 2021 (UTC)
@Tol, thanks for the suggestion! That's a great idea, we'll see if we can get it in the next version (given a warning reason is already selected, however) ✨ Edtalk! ✨ 22:56, 30 April 2021 (UTC)
Grammar errors in popup message for edit summary 2 warning
Hello, I think you should know that when the warning {{Uw-editsummary2}} ("Not using edit summary for more experienced users") is selected, the popup at the bottom of the screen that appears currently states: "This is used for more experienced editors who already knows how to use edit summarys", and should be changed to: "This is used for more experienced editors who already know how to use edit summaries". Thanks! Tol | Talk | Contribs17:01, 1 May 2021 (UTC)
@Tol: Thanks for pointing this out! I've gone ahead and modified the main warning set. To see the changes, please go into your RedWarn settings, open the "Warnings" tab, and select "Clear Changes and Sync with Public Database". Chlod (RW • say hi!) 20:57, 1 May 2021 (UTC)
When you decline pending edits, it says "Reverting _ pending edit(s)". On the line in the code where it says let revertString = "Reverting "+ count +" pending edit"+ ((count > 1) ? "s" : "") + " by ";, could you change the word "Reverting" to "Declining"? Zai(💬 • 📝 • ⚡️)16:09, 5 May 2021 (UTC)
Wording in UAA reports
Hi y'all, see the automated part of the message in my recent UAA report – Violation of the username as a promotional username. Seems to be missing the word policy after the first instance of "username". Thanks! AngryHarpytalk09:21, 7 May 2021 (UTC)
@1234qwer1234qwer4, this has been a bug for a while and affects both rollback and pending changes. Pending changes isn't fixable as it seems (or last time I checked) the API doesn't support tags as the extension is quite outdated, and rollback used to apply tags until one day it decided to not bother tagging them again for whatever reason (in the code it's tagged the same as all other edits, so may be a bug with rollback). ✨ Edtalk! ✨ 19:31, 8 May 2021 (UTC)
Javascript error
On every page I get this error: in line 874: Uncaught TypeError: cannot set property 'rwRecentlyVisited' of null. ―Qwerfjkl (please use {{reply to|Qwerfjkl}} on reply) 21:09, 13 May 2021 (UTC)
@Qwerfjkl, this is the system that saves your recently visited pages so you can access them more easily. Can you check if you have cookies/localStorage enabled for Wikipedia? If not, are there any errors before or after this? ✨ Edtalk! ✨ 21:20, 13 May 2021 (UTC)
When using the see notices for this month, the templates will not add any new lines if there is. For example, if a user talk page contains those warnings: (I tested those at UWSB first)
Hello, Sandbox for user warnings, I saw that you made a draft for a new article at Testing. Short term hosting of potentially valid articles and other reasonable content under development or in active use is usually acceptable. But in this case, you haven't edited your draft for a long time. If you wish to improve the draft yourself, please do. Otherwise, you may consider donating it to WikiProject Abandoned Drafts (a participant can help). User3749 (talk) 12:13, 15 May 2021 (UTC)
would appear as:
Those are only examples
Hello. This is a message to let you know that one or more of your recent contributions did not appear constructive and has been reverted. Please take some time to familiarise yourself with our policies and guidelines. You can find information about these at our welcome page which also provides further information about contributing constructively to this encyclopedia. If you only meant to make test edits, please use your sandbox for that. If you think I made a mistake, or if you have any questions, you may leave a message on my talk page. testUser3749 (talk) 12:11, 15 May 2021 (UTC) This is your only warning; if you remove or blank page contents or templates from Wikipedia again, you may be blocked from editing without further notice. User3749 (talk) 12:12, 15 May 2021 (UTC)Hello, Sandbox for user warnings, I saw that you made a draft for a new article at Testing. Short term hosting of potentially valid articles and other reasonable content under development or in active use is usually acceptable. But in this case, you haven't edited your draft for a long time. If you wish to improve the draft yourself, please do. Otherwise, you may consider donating it to WikiProject Abandoned Drafts (a participant can help). User3749 (talk) 12:13, 15 May 2021 (UTC)
I've found that it can quite often arise that one is watching a page, reverts an edit, and is in the middle of filing a warning for the vandal, however the watching detects one's own revert and redirects to that, thereby closing the warn dialog. This could be fixed quickly by checking to see if a dialog is active before redirecting to the latest revision; polling dialogEngine.dialog.open until it is false before info.js:921 should do this. Thanks, Closingbracket (talk) 15:13, 15 May 2021 (UTC)
Question typo in Google Form
Hello, in the form at the question "Which counter-vandalism tool do you prefer?", "patrolling" is spelt as "patroling". Can it be fixed? aeschyIus (talk) 02:29, 19 May 2021 (UTC)
I'm not sure if this is a bug, but clicking on any 'links' on a warning preview causes the dialog box to blank out. Pahunkat (talk) 19:47, 20 May 2021 (UTC)
Hi there, I've been using the tool for a short while, though am finding it really useful; thanks!
I'm not sure if this feature has been requested before, if it already exists and I just can't find it, or if it already exists in Wikipedia itself. What I'd like to request is a feature similar to the "Alert on change" one on regular pages, except it applies to user contributions. I'd expect to find it in a similar place (and probably with the same icon and functionality) as this button, on user pages in the RedWarn icon row. This feature could be used to monitor users who have vandalised or otherwise broken the rules already, and one suspects may do so again soon.
One could implement it using the query API already used by RedWarn for Alert on Change. A sample implementation could be as follows (messy, untested):
Hi Closingbracket, I actually have been thinking about this feature since I first implement the alert on change feature. I think the main this that has held me back however is the risk of it being used maliciously, such as somebody essentially applying a pseudo-block to a good faith editor and flying under the radar due to edit count/reputation. Admittedly, I've fallen foul to this myself even with the existing feature. I do think it'll be very useful however, usually monitoring editors for me is pinning the Contribs tab and refreshing. If we did implement it, it might be EC only. What do you think? ✨ Edtalk! ✨ 01:04, 11 May 2021 (UTC)
@Ed6767: Hi, thanks for the quick response. My experience with refreshing the contribs tab is the same, which was why I came to request this. If it were to be restricted to EC only, that would probably be sensible - and I'm probably going to reach that soon :) Thank you, Closingbracket (talk) 07:22, 11 May 2021 (UTC)
Agree, this could be something to add in RW 17. If it is added, I would think this would be very useful as the same vandal may target multiple pages. It could be made like that instead of a AoC for a single page, a AoC for a user but regardless of which page they edit in. To reduce abuse, this feature could probably also be restricted to EC users. — Preceding unsigned comment added by User3749 (talk • contribs) 15:53, 11 May 2021 (UTC)
Let me throw in my $0.02: the problem (as Ed6767 described) that malicious use of such a tool for edit warring or during a conflict can be a problem. However, a possible solution may be to allow an uninvolved admin to quickly undo all such changes to a user (subject to tweaking). A lot has to be done to stop a Pandora's box from being opened, but if it is implemented well I see it being a good anti-vandal tool. Happy 2021Eumat114 (Message) 02:11, 21 May 2021 (UTC)
Mixed feelings, same thought as Ed6767. Maybe other than restricting it to EC only, the tool main target can be IP user and newly registered user with bad intention only. This would likely prevent misuse of the tool such as for WP:HOUNDING. Or maybe also restrict it to user with rollback permission only, since requesting for rollback permission requires administrator to verify first, so in a sense there is a form of checking. —Paper9oll(🔔 • 📝)03:02, 21 May 2021 (UTC)
Mobile-friendly
On mobile, none of the buttons in any of the RedWarn dialog boxes are clickable. This lead be to be effectively locked out of my account when I first installed it, as the preferences box appeared after ~10 seconds, and I could not click (tap) off it. His have resolved that now (my accepting the preferences on desktop), can't use RedWarn on mobile to do anything. Please can you resolve this, thanks! ―Qwerfjkl (please use {{reply to|Qwerfjkl}} on reply) 20:36, 13 May 2021 (UTC)
Hi @Qwerfjkl, thank you for reporting this issue. We are aware of this and other scaling bugs, which is an issue with RedWarn's current dialog implementation. We are currently working on a complete rewrite for RedWarn 17 which should resolve some of these issues. ✨ Edtalk! ✨ 20:40, 13 May 2021 (UTC)
@Qwerfjkl, I'm not sure, but we're trying to invest as much time as possible into it - but as a complete rewrite with newer technologies, I hope you can appreciate how much work has to be done. Currently, the Warn User dialog is being worked on, which is the only UI element present at the moment, but myself, @Chlod and @Sportzpikachu have already made vast improvements. We're hoping to be able to provide a beta in a short while, then transition all existing users over once the feature set is matched. Hope this helps. ✨ Edtalk! ✨ 20:59, 13 May 2021 (UTC)
@User3749, everything is being rewritten practically from scratch. We've revamped the warn user dialog, and are working on fully redesigning most other dialogs and algorithms - some features planned at the most also include being able to resize dialogs and move them around, minimise, dock to the left or right side of a page, rather than them being fixed as they are now (so like Twinkle, but ofc better ;) ). I am also planning to add better and more detailed previews. We do have more plans, however take this all with a pinch of salt as it's very early stages at this point. ✨ Edtalk! ✨ 16:31, 14 May 2021 (UTC)
Thanks. And also please fix this bug, when I click "see notices for this month" (which should be changed to "see warnings this month") it improperly show the warnings by breaking the templates with no newlines. I will add more information about this in another section. User3749 (talk) 12:21, 15 May 2021 (UTC)
Hopefully this isn't a duplicate report. I have been having this issue for a few months now - when I click "more options" on a diff page, the box opens but none of the rollback icons are present in the box. I can only see whichever ones I've favorited on the page itself. I've tried resetting RedWarn and editing the settings to no avail. This seems to happen regardless of which browser I use, and has presented both at home and on my work PC. The JS console outputs the following whenever I try to open "more options" (and once upon page load):
DevTools failed to load source map: Could not load content for https://redwarn.toolforge.org/cdn/js/material.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
@Ed6767: Yes, it does, but I believe I (partly) found the issue. I tried running RW as my only user script and it worked again, so I just need to go through and add each one back one-by-one when I have the time to figure out which one it was. If I do, I'll be sure to let you know. Thanks! A S U K I T E 13:17, 15 May 2021 (UTC)
@Chlod and ToBeFree: It's a countermeasure for malicious users attempting to impersonate the RedWarn team, as unless they hack Ed's account, there is no way for them to be able to have a cowboy logo next to their name. Before the only thing that stopped them from adding themselves to the list of official team members would be us watching the page, but if we're all asleep then we can't do anything ―sportzpikachumy talkcontribs07:43, 26 May 2021 (UTC)
From my understanding RedWarn should and not be used for WP:EW.
Following the latest unrest in the Israel/Palestine region, a lot of edits lately have been changing "Israel" to "Palestine" on inside Israel. In order to discourage such edits, and according to MOS:INFOBOXFLAG, I removed the Israeli flag, that is {{flag|Israel}} or {{ISR}} from the infobox.
About 30 of My edits were then undone by using RedWarn, with the edit-line "Human settlements are an exception in that MOS, removal of country disruptive (RW 16.1)"
MOS:INFOBOXFLAG states that "Human geographic articles – for example settlements and administrative subdivisions – may have flags of the country and first-level administrative subdivision in infoboxes."
Note the may: ie whether or not we should have a flag, or not, is up to the editors.
@Huldra: RedWarn, like other tools, can be used to undo edits with any reason, as long as it is valid. Its sole purpose is not to undo vandalism edits. However, in the event that RedWarn is misused to edit war, the user can be brought to the attention of administrators willing to look into the problem.
I do have to say though, mass-changing articles without prior consensus aside from a single MOS entry which technically permits the template on infoboxes may have gone against consensus of other users which have discussed this before. It's best to consider looking into prior discussion regarding what you're trying to do before making the same change to >10 pages. Chlod (RW • say hi!) 22:59, 31 May 2021 (UTC)
Unable to warn editors with non-alphanumeric characters in the name
Hello. When I try to warn a user, the command does not go through and there is a black box that reads: "Sorry, there was an error, See the console for more info. Your message has not been sent." When I open my JavaScript, there is one error that reads: "Admin highlighter recoverable error Bad constructor arguments." I'm assuming it's referring to this script I recently installed. Is there some way to rectify the issue, or is RW simply incompatible with that script? Thanks! Dr. Swag Lord (talk) 02:58, 26 May 2021 (UTC)
Hi Dr. Swag Lord and Nitesh003! This isn't an incompatibility with mobile or Admin Highlighter. I've narrowed the problem down to a recent commit that accidentally encoded text within editing parameters. I don't have direct access to the RedWarn account, so we'll have to wait for Ed6767 to update the script. We'll ping you both when the changes have been made. Thanks! Chlod (RW • say hi!)