Wikipedia talk:Ultraviolet

Going Ultraviolet
Hello there! By now, you may have already noticed that RedWarn hasn't had any major updates since 16.1 (released on March 8, 2021), and we've only been sending out some minor patches and bugfixes since then. In that time, we've been hard at work developing a complete rewrite of the project since September 2020, and we've finally done enough work to be able to release a beta version of this rewrite soon.

Because of many different factors, including the rewrite having diverged so much from the original code, the team has decided to give this version of RedWarn a brand new name. We've decided to call it Ultraviolet; electromagnetic radiation found past the opposite side of red on the visible light spectrum. Releases of the userscript will eventually be available on user pages of 10nm &mdash; 10 nanometers being the smallest possible wavelength of ultraviolet light. We're still working on getting a user-friendly version of Ultraviolet available; we ask for your patience as we get closer to releasing more feature-filled builds of Ultraviolet.

In essence, Ultraviolet is a rewritten version of RedWarn. That said, most of the original code has been removed or replaced. Significant work has also been done to make the process of using the script smooth and universal, removing nearly all of the UI-related bugs experienced in the current version of RedWarn. In addition, we're also working on Safari support, mobile usability, internationalization (other languages), wiki-specific configurations, a dark mode, and a lot more features that make Ultraviolet just work out of the box.
 * Is this a new script or just a rebranded version of RedWarn?

For a while, we've been holding off on development of further versions of RedWarn in favor of the rewrite. Expanding on the current code is a feat that would take a significant amount of time, on par with just rewriting the script itself. For now, RedWarn will still be supported and given security updates and patches for minor bugs. Once Ultraviolet has been completed and integrates all the features of RedWarn, we will decommission RedWarn and ask users to switch to the new userscript.
 * What this means for RedWarn

Stick to RedWarn while we're still working on implementing all the features of RedWarn into Ultraviolet. Rest assured, we will still provide updates that prioritize user safety and security, so you can still use RedWarn without the fear of compromise. We highly recommend to anyone who does counter-vandalism patrol often to use only RedWarn for now in order to avoid any catastrophic bugs. We're still finishing up on making the script backwards-compatible with your existing RedWarn configuration, after that we'll begin providing beta versions of Ultraviolet, so that anyone who wishes to use Ultraviolet before it has caught up with RedWarn can do so.
 * What this means for you, as a user

You'll be able to keep on using RedWarn until we've made our first release version (i.e. 1.0) of Ultraviolet. After that, we will require you to switch to Ultraviolet from RedWarn, as we will be dropping support for RedWarn. Although this may be a bit of a bother, we ask for your patience in this eventual transition.

We'll be moving away from the RedWarn name entirely in the coming months. The team believes it's important to move away from the name, as most of Ultraviolet has been built from scratch and holds little to no resemblance to RedWarn (at least in terms of the code), and due to some other reasons.
 * What else this means

This is a big milestone for us as userscript developers, and we hope to have your full support. In case you have any questions or concerns, please feel free to ask us about them below. Thanks!

''Written by Chlod, Berrely, Sennecaster, and Remagoxer. Published by Chlod ( RW • say hi!) 19:39, 22 February 2022 (UTC).''
 * @Chlod, is there any update on the progress of this? There's no rush, just curious. — Qwerfjkl  talk  21:34, 7 December 2022 (UTC)
 * Hi there, @Qwerfjkl! The developers are currently busy on a few things, me specifically being busy (in recent months) with Deputy, although now that the bulk of the starting work on that has wrapped up, I can start working on Ultraviolet again. In the meantime, we've been doing some background work that'll help us facilitate the move from GitLab.org to Wikimedia GitLab, and we're currently planning how to perform that migration within the near future. Next up on the list of major features up for implementation is a module for marking pages for speedy deletion, so that's on my list of things to research. Hope this answers your question! Chlod ( UV • say hi!) 03:31, 8 December 2022 (UTC)
 * Hi @Chlod, is UV is in full swing operation or still in the process of moving? ♒️ 98TIGERIUS 🐯 21:12, 24 June 2023 (UTC)
 * I think it's still moving but close to completion, I would advise to remain with redwarn as UV is still in beta and doesn't have all the features of redwarn fully implemented. Zippybonzo &#124; Talk (he&#124;him) 21:52, 24 June 2023 (UTC)
 * Thanks for the heads up @Zippybonzo. ♒️ 98TIGERIUS 🐯 04:58, 25 June 2023 (UTC)
 * @98Tigerius: All of our old RedWarn pages have moved already. We just haven't changed the top banner since UV doesn't have a 1.0 release yet. Right now, UV is already equipped with a lot of the basic features, and it's just a matter of porting all of the old features back in (and for MAT and Quick Templates, redesigning the process entirely). Implementing these would benefit a sprint, but it's slowly been just me doing the work as other members of the team have been busy with real life things (and so have I). I don't like giving timetables when I don't know if I can fulfill it, so there's no estimations on when UV 1.0 will be out. @Zippybonzo's right in that UV still lacks features, but if you don't use anything in Ultraviolet/Compatibility matrix labeled "Not yet", then switching over shouldn't be an issue. Ultimately it's up to you on whether you'd like to switch or not. Chlod ( UV • say hi!) 07:37, 25 June 2023 (UTC)
 * Great and thanks a lot for giving more info about the progress of UV. I already used UV for short period but switch back to RW. You are doing well and all development team, keep it up! ♒️ 98TIGERIUS 🐯 13:50, 25 June 2023 (UTC)

Security of .js files
Hello! I just installed RW like 20 minutes ago so perhaps this is a silly question, but is it possible for other people to edit my .js files, like the config? They seem to be unprotected pages and they are in my "Contributions" log. The pages say that inserting malicious code could compromise your account, so I am concerned about security. Thank you. Gottagotospace (talk) 20:05, 26 May 2024 (UTC)
 * Hi Gottagotospace, JS files that are in the User namespace can only be edited by that user or by Interface administrators. As long as your make sure you know what code you're loading, you should be fine. ―sportzpikachu  my talk contribs  20:35, 26 May 2024 (UTC)
 * Gotcha! I have zero plans to touch the code myself. Thanks! Gottagotospace (talk) 20:37, 26 May 2024 (UTC)
 * Gottagotospace, "inserting malicious code" would be e.g. installing a malicious user script that makes edits using your account. — Qwerfjkl  talk  23:32, 26 May 2024 (UTC)

Report to AIV from diff not working
When I attempt to report a user to AIV from a diff using the button after reverting vandalism, nothing happens. It works fine if I go to the user's talk page and use the UV button for AIV in the top right. I am currently using Opera on Windows 11 but I hop between browsers for different tasks and have also encountered this problem in Firefox and Edge. Adam Black talk &bull;  contribs 15:03, 19 June 2024 (UTC)


 * It works for me - Edge on Windows 10 Vestrian24Bio ( TALK  ) 15:47, 19 June 2024 (UTC)
 * I'll try it in Edge next time I'm patrolling recent changes. Adam Black  talk &bull;  contribs 16:36, 19 June 2024 (UTC)
 * @Adam Black If this happens again, please check for any errors in the browser (see Ultraviolet/Documentation/Troubleshooting) and post them here, or any other method at WP:UV/C. ―sportzpikachu  my talk contribs  18:13, 19 June 2024 (UTC)
 * Will do. Adam Black  talk &bull;  contribs 19:05, 19 June 2024 (UTC)

Add a "Report to COIN" on a user page
It would be nice for UV to support reporting a user to WP:COIN and automatically post the notice template on their talk page of COI discussion.

TagKnife (talk) 00:37, 22 June 2024 (UTC)


 * Hi @TagKnife, thank you for your suggestion! However, we're currently not supporting noticeboard topic creation/notifications in Ultraviolet at the moment, but that may be something for the future. ―sportzpikachu  my talk contribs  08:18, 22 June 2024 (UTC)
 * No problem, I just thought to suggest it as when I did a patrol on that day i caught 2 seperate WP:Blanking edits that were by authors editing their own people articles removing sections they didnt like was sourced about them and where self identified as WP:COI. TagKnife (talk) 14:42, 24 June 2024 (UTC)

Quick question
I know WP:RedWarn has been in the process of moving to WP:UV. However, as a mobile editor, I'm having problems when I'm trying to use UV, like the desktop interface just completely freeze, but RedWarn works perfectly fine. Any reason why UV is behaving like this?  dxneo  (talk) 23:02, 29 June 2024 (UTC)
 * special ping: &.


 * Hi! I had the same problem a while ago, it turned out to be a memory (RAM) problem. Try cleaning some space in the memory and it should work fine. Vestrian24Bio ( TALK  ) 02:37, 1 July 2024 (UTC)

uw-editsummary
Why is the edit summary referred to as an "edit comment" on uw-editsummary and uw-efsummary, but "edit summary" on uw-mislead, uw-bes1, and uw-wrongsummary?

Looking at meta/wikiConfiguration/enwiki.json on dev I'm curious how this happened, because my redwarnRules.json has "edit summary" on all 5 warnings, meaning it was previously correct.

Thanks. Rusty talk contribs 15:40, 5 July 2024 (UTC)


 * I'm equally as confused. RedWarn/Default Warnings has the correct "edit summary", and the first revision of Wikipedia:Ultraviolet/configuration.json (presumably copied from Special:Permalink/1026319102 of RedWarn/Default Warnings?) already has "edit comment". Commit 01d3432 adds the meta/wikiConfiguration/enwiki.json file, presumably from Special:Permalink/1028972940. Maybe @Chlod knows more?
 * Anyways I've updated both instances of "edit comment" to "edit summary" in Special:Diff/1233736068. ―sportzpikachu  my talk contribs  16:38, 10 July 2024 (UTC)

Configuration notice
I saw some sort of notice about UV's configuration on my watch page, but I clicked away too fast and it's not showing up again. First, what did that notice say? Second, is there a way to send this to people's talk pages so that they don't have the same issue. voorts (talk/contributions) 20:19, 10 July 2024 (UTC)


 * Thanks for the report! If you missed the notice, that means it probably wasn't too important. Most likely it would have been the configuration reload notice. More important notices will pop up a very noticeable dialog on the screen. We won't be sending these to talk pages since these notices are only ephemeral informational messages that relate to the current user, and there isn't much point saving them onwiki somewhere.
 * Please let us know if you experience any unexpected behaviour with UV. ―sportzpikachu  my talk contribs  12:41, 16 July 2024 (UTC)

Dark mode compatibility?
(Using RW, not ultraviolet) The color of most of the text of the interface seems to be hard-coded in black, which is annoying if dark mode sets the babkground black. Of course, if you got used to it before switching to dark mode you can still recognize things by the icons, but still, it's less practical. Could that be changed? Cheers, — Alien333 (what I did &amp; why I did it wrong) 12:08, 13 July 2024 (UTC)


 * Hi! I'm not sure I can reproduce this issue on the latest RW with dark mode enabled. Could you please clarify what source of dark mode you are using? I've tested the new Vector 2022 dark mode and it works correctly with popups retaining white background and black text.
 * We're not currently planning on updating RW with dark mode compatibility, but that's something that will be available after the release of the UV rewrite. ―sportzpikachu  my talk contribs  12:34, 16 July 2024 (UTC)
 * Since I'm more a Wikisourcerer than a Wikipedian, I put an import in m:User:Alien333/global.css. The rest of the code in there should have nothing to do with that, it's just some coloring. I'm using RW 16.1. I usually use Vector 2010, bu I also tested with Vector 2022 and the background of the popups is still black. — Alien333 (what I did &amp; why I did it wrong) 14:14, 16 July 2024 (UTC) Because why not, I switched to UV and it works, the text is in white. — Alien333 (what I did &amp; why I did it wrong) 14:16, 16 July 2024 (UTC)

Rename.js
User:10nm/beta.js, sure, 10nm is the start of the ultraviolet spectrum (according to the birds and the bees, alleged animals who cannot be trusted), but User:10nm/ultraviolet-beta.js would be a lot more userfriendly. Polygnotus (talk) 06:19, 21 July 2024 (UTC)


 * I'm not sure what you mean by birds and the bees, alleged animals who cannot be trusted. But the userscript is at beta.js because it's a beta at the moment. Upon release it will be at User:10nm/.js ―sportzpikachu  my talk contribs  06:30, 21 July 2024 (UTC)