Wikipedia talk:Ultraviolet/2021/May
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 | Contribs 22: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) ✨ Ed talk! ✨ 22:56, 30 April 2021 (UTC)
- Thank you! I wish I could help, but I have rather little JavaScript experience. Tol | Talk | Contribs 00:18, 1 May 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 | Contribs 17: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)
- Great; thank you! Tol | Talk | Contribs 21:08, 1 May 2021 (UTC)
Changing text when declining pending edits
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! AngryHarpytalk 09:21, 7 May 2021 (UTC)
- @AngryHarpy, I thought I added this but must've been a late night/early morning typo - thanks to @Sportzpikachu for the fix, the patch should be out in a few mins :) ✨ Ed talk! ✨ 19:23, 8 May 2021 (UTC)
Tag not always applied
Apparently, RedWarn does not always apply the edit tag to the edits. Looking at [1], it seems pending changes reverts are at least one of the cases. 𝟙𝟤𝟯𝟺𝐪𝑤𝒆𝓇𝟷𝟮𝟥𝟜𝓺𝔴𝕖𝖗𝟰 (𝗍𝗮𝘭𝙠) 09:30, 10 March 2021 (UTC)
- Restoring from archive, as the issue seems to persist. ~~~~
User:1234qwer1234qwer4 (talk) 19:25, 8 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). ✨ Ed talk! ✨ 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? ✨ Ed talk! ✨ 21:20, 13 May 2021 (UTC)
See notices this month bug
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)
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. test User3749 (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) |
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. test User3749 (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) |
User3749 (talk) 12:25, 15 May 2021 (UTC)
Prevent watch redirect whilst dialog open
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)
- @Aeschylus: Fixed. Chlod (RW • say hi!) 02:32, 19 May 2021 (UTC)
Bug?
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 @Pahunkat, this is a bug with RedWarn's current dialog implementation and should be fixed in RedWarn 17. ✨ Ed talk! ✨ 20:13, 20 May 2021 (UTC)
- Thanks Ed6767! Pahunkat (talk) 20:41, 20 May 2021 (UTC)
Watch user contributions
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):
function pollChanges(user) {
const endpoint = `https://en.wikipedia.org/w/api.php?action=query&list=recentchanges&format=json&rcuser=${ encodeURIComponent(user) }&rcprop=ids`;
let lastRevision = null;
function _poll() {
return new Promise(resolve => {
$.getJSON(
endpoint,
response => {
const latestRevision = response.query.recentChanges[0].revid;
if (!lastRevision) {
lastRevision = latestRevision;
resolve(null);
} else if (lastRevision != latestRevision) {
resolve(response.query.recentChanges[0].pageid);
}
}
);
});
}
return new Promise(async resolve => {
while (true) {
const result = await _poll();
if (result) {
resolve(result);
break;
}
}
});
}
Thank you for your time, Closingbracket (talk) 22:55, 10 May 2021 (UTC)
- 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? ✨ Ed talk! ✨ 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 2021 Eumat114 (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)
- 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 2021 Eumat114 (Message) 02:11, 21 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)
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. ✨ Ed talk! ✨ 20:40, 13 May 2021 (UTC)
- Okay, thanks! ― Qwerfjkl (please use
{{reply to|Qwerfjkl}}
on reply) 20:41, 13 May 2021 (UTC) - @Ed6767: When will RedWarn 17 be available? Thanks! ― Qwerfjkl (please use
{{reply to|Qwerfjkl}}
on reply) 20:55, 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. ✨ Ed talk! ✨ 20:59, 13 May 2021 (UTC)
- Thanks, I was (and still am) very impressed by the UI! ― Qwerfjkl (please use
{{reply to|Qwerfjkl}}
on reply) 21:01, 13 May 2021 (UTC) - Hi, another question, what features will be added/changed/removed in RW 17? User3749 (talk) 09:39, 14 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. ✨ Ed talk! ✨ 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)
- @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. ✨ Ed talk! ✨ 16:31, 14 May 2021 (UTC)
- Thanks, I was (and still am) very impressed by the UI! ― Qwerfjkl (please use
- @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. ✨ Ed talk! ✨ 20:59, 13 May 2021 (UTC)
- @Ed6767: – At the moment, all I can do (on mobile) is: Quick revert vandalism, unconstructive edit, and unexplained content removal (without warning).― Qwerfjkl | 𝕋𝔸𝕃𝕂 (please use
{{reply to|Qwerfjkl}}
on reply) 17:07, 23 May 2021 (UTC)
- Okay, thanks! ― Qwerfjkl (please use
No additional rollback icons present under "more options" on diff page
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
Thanks as always! A S U K I T E 00:27, 11 May 2021 (UTC)
- @Asukite, that is a weird one. Does this still occur? ✨ Ed talk! ✨ 20:41, 13 May 2021 (UTC)
- @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)
- Actually, I found it already. It was "Clean Diff URLS" User:Þjarkur/CleanDiffURLs.js, which I should have figured from the start. Problem solved! A S U K I T E 13:29, 15 May 2021 (UTC)
- Will attempt to support Special:Diff links for diffs in RedWarn 17. Chlod (RW • say hi!) 23:51, 25 May 2021 (UTC)
- Actually, I found it already. It was "Clean Diff URLS" User:Þjarkur/CleanDiffURLs.js, which I should have figured from the start. Problem solved! A S U K I T E 13:29, 15 May 2021 (UTC)
- @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)
"If you have RedWarn installed, the cowboy logo will appear next to their names"
Seriously? :) ~ ToBeFree (talk) 18:51, 25 May 2021 (UTC)
- Yes. Don't ask me -- Asartea Talk | Contribs 18:53, 25 May 2021 (UTC)
- Well, it only works on the RedWarn talk page if I remember correctly. Sportzpikachu knows more about this, being the implementor. Chlod (RW • say hi!) 21:50, 25 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 ―sportzpikachu my talkcontribs 07:43, 26 May 2021 (UTC)
- lol. But why would anyone want to impersonate the RW team? ;) – SD0001 (talk) 17:49, 26 May 2021 (UTC)
- We're the cool kids ;). Also try it again, but this time properly sized ;) -- Asartea Talk | Contribs 17:56, 26 May 2021 (UTC)
- Also with a tooltip, if you manage that with wikitext I will be very surprised ―sportzpikachu my talkcontribs 01:26, 27 May 2021 (UTC)
- Heh. This made me giggle quite a bit. Chlod (RW • say hi!) 20:47, 26 May 2021 (UTC)
- We're the cool kids ;). Also try it again, but this time properly sized ;) -- Asartea Talk | Contribs 17:56, 26 May 2021 (UTC)
- Ah, sportzpikachu, that makes sense. ~ ToBeFree (talk) 20:24, 26 May 2021 (UTC)
- lol. But why would anyone want to impersonate the RW team? ;) – SD0001 (talk) 17:49, 26 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 ―sportzpikachu my talkcontribs 07:43, 26 May 2021 (UTC)
- Well, it only works on the RedWarn talk page if I remember correctly. Sportzpikachu knows more about this, being the implementor. Chlod (RW • say hi!) 21:50, 25 May 2021 (UTC)
Nomination for deletion of Template:Uw-thumb2
Template:Uw-thumb2 has been nominated for deletion. You are invited to comment on the discussion at the entry on the Templates for discussion page. Schierbecker (talk) 02:04, 27 May 2021 (UTC)
Redirecting talk pages
You could redirect all the RedWarn talk pages to this one, and tag them with {{R from remote talk page}}. ― Qwerfjkl | 𝕋𝔸𝕃𝕂 (please use {{reply to|Qwerfjkl}}
on reply) 20:28, 31 May 2021 (UTC)
- Partly done I have only done this on the quick template talk page - the others are either archives or have some sort of history. Remagoxer (talk) 21:53, 31 May 2021 (UTC)
- I'll run this through AWB in a bit. Chlod (RW • say hi!) 21:54, 31 May 2021 (UTC)
- Done Chlod (RW • say hi!) 22:59, 31 May 2021 (UTC)
- I'll run this through AWB in a bit. Chlod (RW • say hi!) 21:54, 31 May 2021 (UTC)
RedWarn use
Hi,
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.
Was undoing my edits an appropriate use for RedWarn? Huldra (talk) 22:16, 31 May 2021 (UTC)
- @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
Unable to warn editor
Hi, I'm unable to warn editor with RedWarn. Everytime, when i try warn to warn editor, it shows this notification.
Nitesh003 (talk) 16:56, 24 May 2021 (UTC)
- Hi @Nitesh003, do you have access to a computer you can test RedWarn on? If so, try again there as we don't support mobile at the moment. If the issue still occurs, please can you check Wikipedia:RedWarn/Documentation/Troubleshooting#Reporting_JavaScript_errors and let us know the contents of your browser console? Thanks! ✨ Ed talk! ✨ 17:02, 24 May 2021 (UTC)
Warning User Error
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!)