Wikipedia talk:Ultraviolet/2021/March

Latest comment: 3 years ago by Xaosflux in topic Redwarn not loading

Feature request

Twinkle now tempwatches pages of warned and welcomed users rather than permanently watching them. Can RW do the same? Thanks! Firestar464 (talk) 06:14, 4 March 2021 (UTC)

Suggestion

Add a button to pages under "More Options" to nominate a page for deletion. Owen250708 (talk) 22:18, 1 March 2021 (UTC)

@Owen250708: For the time being, you should already have that with Twinkle, which should be used in combination with this. Cheers, RandomCanadian (talk / contribs) 22:20, 1 March 2021 (UTC)
@Owen250708, as RandomCanadian said, it's better to use Twinkle for now. Currently, the main priorities are the rewrite and (for now at least) vandalism. However, features such as page deletion have been added to the requested features list, and hopefully, it will be added soon. — Yours, Berrely • TalkContribs 17:08, 7 March 2021 (UTC)

Suggestion – Add "Quick rollback censorship" button

Would be great if there is a "Quick rollback censorship" button or something named similar for WP:NOTCENSORED usage. Paper9oll (📣📝) 12:44, 7 March 2021 (UTC)

"Censorship/whitewashing" would be the most useful description. The template would be Template:Uw-notcensored1? Cheers, RandomCanadian (talk / contribs) 15:16, 7 March 2021 (UTC)
RedWarn already has {{uw-notcensored}} but a RB reason might be useful as well. “whitewashing” maybe a little bit out of scope, so perhaps an edit summary of “censorship of content” would be useful. However it is hard to tell the difference between unexplained content removal and censorship, and it's likely having to type “rv censorship” is fine in the very few times that obvious censorship can be seen, to prevent adding more elements to the UI. The button system is currently being worked for RedWarn 17, so if the rollback button is added, it would be best to add it then. Hope this helps! Pinging @Paper9oll and @RandomCanadian. — Yours, Berrely • TalkContribs 17:05, 7 March 2021 (UTC)
@Berrely: Censorship of content is fine and easy to understand, or maybe can wikilink it also. The feature is best used for obvious censorship like removing of scandal or something similar, often in celebrities or politicians articles where such things often happen. Paper9oll (📣📝) 17:14, 7 March 2021 (UTC)
@Paper9oll that makes sense, I was a bit confused on what this would apply to. I'll note it down to hopefully be added when the button system is overhauled in RedWarn 17, as it's quite difficult currently to add a new rollback button. Thanks for suggesting this! — Yours, Berrely • TalkContribs 17:32, 7 March 2021 (UTC)
Fine by me, if you ask. Cheers, RandomCanadian (talk / contribs) 17:35, 7 March 2021 (UTC)

uw-attempt4im

I've noticed that {{uw-attempt4im}} isn't on RW, could it be added? Thanks, Pahunkat (talk) 16:44, 7 March 2021 (UTC)

Hi @Pahunkat, a team member has added the 4im template and it should be there in the next release of RedWarn. Thanks for bringing this up! — Yours, Berrely • TalkContribs 16:52, 7 March 2021 (UTC)
Thanks Berrely, just got a RW notification for the release of 16.1! Pahunkat (talk) 18:07, 7 March 2021 (UTC)

Redwarn 16.1 issues

Firefox

Preferences

  • Full page scrolling doesn't work in all pages except Behavior. [1]
     C Awaiting update - Resolved with 78c3e230. Chlod (RWsay hi!) 06:24, 8 March 2021 (UTC)
    Thanks you. Paper9oll (📣📝) 07:29, 8 March 2021 (UTC)

Location of RedWarn controls

  • When In the "more" dropdown menu (like Twinkle, plain links) is selected and clicking the RW:More from the More dropdown, a blank page with false is returned instead. [2]
    • In case, you're wondering why I'm able to access the modal popup ealier without getting error page, the example video above is using sidebar option instead of dropdown menu option.
     C Awaiting update - Resolved with a7fea5ed Chlod (RWsay hi!) 06:32, 8 March 2021 (UTC)
    Thanks you. Paper9oll (📣📝) 07:29, 8 March 2021 (UTC)

My Firefox version is 86.0 (64-bit) the latest stable version. These bugs doesn't affect Chrome-based browser. Paper9oll (📣📝) 04:17, 8 March 2021 (UTC)

Empty dropdown

Hey! I've just installed RedWarn and everything seems to be working fine except for when I try to warn a user and select a 'reason', the droptown seems to be completely empty everytime I do it. I'm using the lates version of Chrome and I've tried reinstalling the tool but I'm still getting the same issue. Any fix? Ziad Rashad (talk) 05:02, 8 March 2021 (UTC)

Ziad Rashad, please try opening RedWarn preferences, heading over to the 'warnings' tab and clicking the resynchronize button (to the right of "save changes"). This should resolve your issue :) ✨ Ed talk! ✨ 10:58, 8 March 2021 (UTC)
@Ed6767: Hey! Thank you for the reply. I've noticed that the issue was gone shortly after I posted this but I wasn't sure how or why. This explains everything as I was actually playing around with the preferences earlier and I remember hitting that resync button. That has to be how I accidentally fixed it, thank you though. ahah — Preceding unsigned comment added by Ziad Rashad (talkcontribs)

Quick Templates

Hi, I was trying to create a new QT with RedWarn 16.1, but when I pressed the 'test' button the test interface doesn't show up. Do you know what is causing this? Thanks, User3749 (talk) 11:43, 8 March 2021 (UTC)

And by QT I mean quick template. None of the quick templates seems to work. User3749 (talk) 11:55, 8 March 2021 (UTC)
 C Awaiting update - Resolved in latest commit pending implementation. Chlod (RWsay hi!) 12:29, 8 March 2021 (UTC)

Discussion

@Paper9oll and Ziad Rashad: Hello! Thank you both for reporting these issues. I'm going to check them both out right now to see what's going wrong. Ziad Rashad, I might need some more information to fix your issue. Please reach out to me as soon as you're available. Thanks! Chlod (RWsay hi!) 06:05, 8 March 2021 (UTC)

@Chlod: Hey, thank you for the fast reply! The issue seems to have been completely fixed by itself just shortly after I added my inquiry in here. I don't know if that was on my end or your guys' end but it's somehow fixed now. Thank you though. ahah Ziad Rashad (talk) 06:13, 8 March 2021 (UTC)
Alright then. Glad to hear that! Chlod (RWsay hi!) 06:14, 8 March 2021 (UTC)

Uw-agf-assign

I've added a new template, {{Uw-agf-assign}}. Could this be added to twinkle? -- RoySmith (talk) 02:47, 9 March 2021 (UTC)

@RoySmith: Even though you crosspost this on WT:Twinkle, I think you mean RedWarn instead. Paper9oll (📣📝) 03:45, 9 March 2021 (UTC)
Paper9oll, Uh, yeah. Copypasta. Sorry about that. -- RoySmith (talk) 04:08, 9 March 2021 (UTC)
Hi, RoySmith! I've gone and added this warning template to Wikipedia:RedWarn/Default Warnings. This template should now be available to new RedWarn users and users who choose to update their local copy of the warnings. Chlod (RWsay hi!) 03:47, 9 March 2021 (UTC)

When I press the warn user button, rw do nothing

  1. Go to User_talk:Sandbox
  2. Click “warn user” button.

RW not responding.--Alcremie (talk) 14:00, 8 March 2021 (UTC)

@IN: You should get this error instead It looks like this user doesn't actually exist. If you're trying to use a sandbox, try WP:UWSB instead. Else, you should request the speedy deletion of this user page or user talk page under criterion U2 by adding: {{Db-u2}} to the top of this page. If you're still having issues, please let a member of the RedWarn team know.
Try testing it on your own sandbox or in User talk:Sandbox for user warnings instead Paper9oll (📣📝) 14:15, 8 March 2021 (UTC)
But when I clicked “warn user” button on usertalk:sandbox, I didn't even get a warning by RW!--Alcremie (talk) 14:21, 8 March 2021 (UTC)
@IN: Oh okay then I don't know what is going on, wait for the devs to reply. Paper9oll (📣📝) 14:25, 8 March 2021 (UTC)
@IN: This is simply because the user doesn't exist. It's impossible to get user data of a non-existent user. Like what Paper9oll said above, use User talk:Sandbox for user warnings instead. Otherwise, it really just won't work. Chlod (RWsay hi!) 14:26, 8 March 2021 (UTC)
But now RW won't even appear “It looks like this user doesn't actually……”. So whether or not to remove it?--Alcremie (talk) 14:34, 8 March 2021 (UTC)
@IN, I'm unable to reproduce the issue - I always seem to get the error message? ✨ Ed talk! ✨ 20:17, 8 March 2021 (UTC)
Or hide “warn user” button if RW detects that the user does not exist?--Alcremie (talk) 14:40, 8 March 2021 (UTC)
@IN when I press the “warn” button I get the message shown here. Do you know your browser user agent string (or what browser and it's version) and do you see any errors in the console? (The console can be accessed differently in some browsers, usually you can press ctrl+shift+c and click the “console” tab that appears at the top. — Yours, Berrely • TalkContribs 20:37, 8 March 2021 (UTC)
Sorry, I live in mainland China, imgur is not accessible in mainland China. You can try using sm.ms instead.--Alcremie (talk) 06:51, 9 March 2021 (UTC)
I'm getting the same message as Berrely. Would you happen to have disabled Javascript or have any conflicting Wikipedia scripts or browser extensions? —Tenryuu 🐲 ( 💬 • 📝 ) 23:43, 8 March 2021 (UTC)
Recently, I installed User:Awesome Aasim/xfdvote.js . Has anyone tested this script for compatibility with RW's warn?--Alcremie (talk) 06:51, 9 March 2021 (UTC)

Tag not always applied

Apparently, RedWarn does not always apply the edit tag to the edits. Looking at [3], it seems pending changes reverts are at least one of the cases. 𝟙𝟤𝟯𝟺𝐪𝑤𝒆𝓇𝟷𝟮𝟥𝟜𝓺𝔴𝕖𝖗𝟰 (𝗍𝗮𝘭𝙠) 09:30, 10 March 2021 (UTC)

Errors with Redwarn occuring in the Chinese Wikipedia

So, long story short, I attempted to use RedWarn in the Chinese Wikipedia (zh:User:Eumat114) through putting the code in my zhwiki User config page:

mw.loader.load('//en.wikipedia.org/w/index.php?title=User:RedWarn/.js&action=raw&ctype=text/javascript');

It had been working fine for a while, it had all the features I would expect in English Redwarn (minus the lack of translation). Then a few dags ago, whenever I browsed a page on zhwiki I received the RW popup notification "Sorry, we couldn't load the rule database due to an error." Does anyone know where does the issue stem from? Thanks! (also congrats on RW being released for almost a year now!) Happy 2021 Eumat114 (Message) 14:46, 12 March 2021 (UTC)

@Eumat114: RedWarn now depends on an on-wiki page for the warning reasons that can be used in the "Warn User" dialog. This page can be found at Wikipedia:RedWarn/Default Warnings. You can create a page with that exact title and contents on zhwiki to get RedWarn working again. Or better yet, you can change the rules inside of it to match the warnings used on zhwiki. I hope this fixes your problem. Cheers! Chlod (RWsay hi!) 15:37, 12 March 2021 (UTC)
Why don't these warnings default to the enwiki ones you linked? 𝟙𝟤𝟯𝟺𝐪𝑤𝒆𝓇𝟷𝟮𝟥𝟜𝓺𝔴𝕖𝖗𝟰 (𝗍𝗮𝘭𝙠) 16:18, 12 March 2021 (UTC)
@1234qwer1234qwer4: I think Ed6767 would be more suitable to answer that, since I didn't work on the rules system for RedWarn 16.1. Chlod (RWsay hi!) 16:21, 12 March 2021 (UTC)

Issues on Pale Moon

When I'm on RedWarn Patrol, clicking on "Return to Wikipedia / Change filter options" doesn't work. Browser console returns the following error:

TypeError: Not enough arguments to Window.postMessage. 32897222-db9f-4181-a5d3-711deddf0fd5:1:1

Attempting to close the RedWarn Preferences doesn't work and also gives the same error (though this time on a different blob, which is 15c5a26c-15bb-4a82-9b23-00739097ae5d:1:1).

"Go to the RedWarn talk page" on "More Options" also doesn't work. This time browser console doesn't give any hints.

I tested this in a fresh profile of the latest version of Pale Moon (29.1.0). So I don't think browser add-ons are causing this problem. pandakekok9 (talk) 07:16, 17 March 2021 (UTC)

Cannot add description when publishing new Quick Template?

Hi. So I was just trying to publish one on my quick template packs for use, but immediately after I did so it ended up publishing the pack with a description of "No additional info provided - pack owner, please edit this section and add additional info here or your pack may be removed." It did not prompt me for the description, nor was I expecting to have a description of that. Is it caused by the lack of the prompt for the description of the pack? If so, please add the script to prompt the description of the pack whenever publishing one. Thanks. User3749 (talk) 13:24, 18 March 2021 (UTC)

Warning reasons dropdown is empty

Selecting reasons

Hi there After I was asked to update my Redwarn, there seems to be a problem, after reverting user’s edit I press the select reason to warn him, but nothing is appearing just white. Unfortunately I got warned because of that error in the system Whatsupkarren (talk) 07:02, 10 March 2021 (UTC)

@Whatsupkarren: Please try to refresh your local by going to your preferences, going to the "Warnings" tab, and selecting "Clear changes and sync with public database". This should fix the problem. Chlod (RWsay hi!) 07:07, 10 March 2021 (UTC)
I can’t find the warning tab in the prefrences,
I see: user profile - appearances - editing recent changes - watchlist - Gadgets - search - banners - beta features Whatsupkarren (talk) 08:06, 10 March 2021 (UTC)
I meant your RedWarn preferences. It's on the menu that appears when you select the three dots at the top of each page. Chlod (RWsay hi!) 08:08, 10 March 2021 (UTC)
@Whatsupkarren: Hi! It seems like you are a mobile user. Unfortunately, mobile devices are not supported by RedWarn. For RedWarn to function properly, please use a computer with Chrome or Firefox. ―sportzpikachu my talkcontribs 08:13, 10 March 2021 (UTC)
I’m using both computer and a phone, I usually use the phone when talking Whatsupkarren (talk) 08:16, 10 March 2021 (UTC)
It worked, thank you. Whatsupkarren (talk) 08:22, 10 March 2021 (UTC)
@Whatsupkarren: No problem! ―sportzpikachu my talkcontribs 08:23, 10 March 2021 (UTC)

This seems to be a recurring issue. A GitLab issue has been made to fix the issue as soon as possible. Chlod (RW • say hi!) 06:46, 16 March 2021 (UTC)

Strange error

I tried to use RedWarn to warn the User talk:Sandbox for user warnings but when I clicked the reasons dropdown nothing appeared. I tried manually writing in the template name but nothing happened when I clicked the "Warn this user" button. I was using Google Chrome. Does anyone know what caused this? Thank you, SpacetimeIsCool (talkcontribs) 18:05, 16 March 2021 (UTC)

Hello SpacetimeIsCool! This is a currently unfixed issue. Please see the steps in the box above to fix the problem. Thanks! Chlod (RW • say hi!) 18:19, 16 March 2021 (UTC)

Cleaning up Special:WantedTemplates

Hi, due to quirks in the way that Wikipedia parses javascript pages, curly braces are parsed as templates, unless they are inside of <nowiki>...</nowiki>, <pre>...</pre>, <syntaxhighlight>...</syntaxhighlight> ... As a result of this, your script page, User:RedWarn/.js, is generating links in Special:WantedTemplates (in particular links to Special:WhatLinksHere/Template:RWTEXT and Special:WhatLinksHere/Template:RWTEXT\). Recently, an interface editor attempted to fix this by adding <nowiki> at the top and </nowiki> at the bottom of your script page. This didn't work because you already have <nowiki>...</nowiki> on that page. It would be great if you could add <syntaxhighlight>...</syntaxhighlight> tags (you don't have these) at the top and bottom of your page like this which will prevent your page from generating links in Special:WantedTemplates. Thanks for your help! Plastikspork ―Œ(talk) 14:32, 24 March 2021 (UTC)

Other wikis

It is possible to use RedWarn on another Wikimedia wiki? --NGC 54 (talk | contribs) 18:34, 28 March 2021 (UTC)

@NGC 54: It is possible, but the other wiki will need to have the Wikipedia:RedWarn/Default Warnings page. Support for other wikis is limited as of now, but is a planned objective for the next version of RedWarn. Chlod (RW • say hi!) 18:35, 28 March 2021 (UTC)
@Chlod: But what should I do in order to add this feature on another wiki (that wiki is Romanian Wikipedia)? How can I translate the interface and what are the others steps that I should follow? --NGC 54 (talk | contribs) 18:51, 28 March 2021 (UTC)
@NGC 54: You also probably need to find the corresponding templates (so for ex. ro:Format:Au-vandalism4; etc...) which you seek to have. Chlod and Ed can probably help you more about the rest. Cheers, RandomCanadian (talk / contribs) 18:58, 28 March 2021 (UTC)
(edit conflict) @NGC 54: As of now, there is no easy way of translating the interface. You would have to dig inside of RedWarn's code and weed out the strings, which would be time-consuming due to how unfriendly the current codebase is. We're planning to get RedWarn onto TranslateWiki eventually, but only when we get the new version finished, as the new version relies on an easy-to-use translation file versus the current, which hardcodes its strings. If you're fine with using the English interface, you only have to paste in the following onto your user JS file:
mw.loader.load( '/w/index.php?title=User:RedWarn/.js&action=raw&ctype=text/javascript' );
Like what RandomCanadian said though, this also requires the correct user warning templates on the other wiki, either as a redirect or as actual templates themselves. Chlod (RW • say hi!) 19:02, 28 March 2021 (UTC)
@NGC 54: Fixed link. Chlod (RW • say hi!) 19:09, 28 March 2021 (UTC)

update request

See Wikipedia:Interface_administrators'_noticeboard#Requesting_update_of_User:RedWarn/.js. — xaosflux Talk 15:27, 27 March 2021 (UTC)
@Xaosflux: Since the project page here is semi, that puts this request on the list at WP:SPER - was that deliberate? ‑‑ElHef (Meep?) 15:54, 27 March 2021 (UTC)
@Xaosflux:, @ElHef: I've for now manually set it to an IA request Asartea Talk | Contribs 15:57, 27 March 2021 (UTC)
(edit conflict) OK - just didn't want to forget about this. — xaosflux Talk 15:58, 27 March 2021 (UTC)
Its mainly that I occasionally try and keep SPER semi low and having a unsolvable request in there is annoying. Asartea Talk | Contribs 16:01, 27 March 2021 (UTC)
  Donexaosflux Talk 00:36, 29 March 2021 (UTC)

Redwarn not loading

Hi, Redwarn isn't loading. Can someone help? Thanks! Firestar464 (talk) 02:08, 29 March 2021 (UTC)

@Firestar464: Hello! Can you please check if there are any errors in the JavaScript console? See WP:JSERROR. ―sportzpikachu my talkcontribs 02:10, 29 March 2021 (UTC)
Hello, I'm having the same issue. JS console outputs a single error: "Uncaught SyntaxError: Unexpected string", which points to https://en.wikipedia.org/w/index.php?title=User:RedWarn/.js&action=raw&ctype=text/javascript , this line (1766) in particular:
window.rw = window.rw || {}, window.rw.config = ` + JSON.stringify(rw.config) + "; //</no${""}wiki>"; // generate config text
Hope that helps somehow! My javascript is rusty and Redwarn is one of my most-used tools! A S U K I T E  02:38, 29 March 2021 (UTC)
@Asukite: Hello, sorry about that, that must be a mistake with my attempted quick fix yesterday! Apologies for the inconvenience, I'll fix it ASAP. ―sportzpikachu my talkcontribs 02:39, 29 March 2021 (UTC)
No worries, just glad I could help somehow. I can work around it (and it's not a bad idea to every once in a while, otherwise I'll probably forget how everything else works). Thank you! A S U K I T E  02:43, 29 March 2021 (UTC)
Sportzpikachu w/index.php?title=U…ext/javascript:1766 "Uncaught SyntaxError: Unexpected string." Firestar464 (talk) 02:46, 29 March 2021 (UTC)
@Firestar464 and Asukite: Sorry about that, I have pushed a commit that should hopefully fix it, but we will have to wait for xaosflux or another interface administrator to apply the patch since Ed is asleep right now. ―sportzpikachu my talkcontribs 02:50, 29 March 2021 (UTC)
See Wikipedia:Interface administrators' noticeboard#Requesting update of User:RedWarn/.js. Chlod (RW • say hi!) 05:05, 29 March 2021 (UTC)
This was reverted to the last known working version. Please use the standard method for updating your personal user script. — xaosflux Talk 10:05, 29 March 2021 (UTC)

Redwarn disappeared

Does anyone know why my redwarn disappeared? I tried to reinstall it but it doesn't work. Can someone help me?

Thanks, SHB2000 (talk) 05:20, 29 March 2021 (UTC)

SHB2000 Please see the above section. ―sportzpikachu my talkcontribs 05:21, 29 March 2021 (UTC)
Thanks, SHB2000 (talk) 05:23, 29 March 2021 (UTC)