Wikipedia talk:Ultraviolet

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Going Ultraviolet[edit]

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 — 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.

Is this a new script or just a rebranded version of RedWarn?

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.

What this means for 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 you, as a user

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.

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.

What else this means

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.

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).Reply[reply]

@Chlod, is there any update on the progress of this? There's no rush, just curious. — Qwerfjkltalk 21:34, 7 December 2022 (UTC)Reply[reply]
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 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)Reply[reply]
Hi @Chlod, is UV is in full swing operation or still in the process of moving? ♒️ 98TIGERIUS 🐯 21:12, 24 June 2023 (UTC)Reply[reply]
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 | Talk (he|him) 21:52, 24 June 2023 (UTC)Reply[reply]
Thanks for the heads up @Zippybonzo. ♒️ 98TIGERIUS 🐯 04:58, 25 June 2023 (UTC)Reply[reply]
@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 Wikipedia: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)Reply[reply]
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)Reply[reply]

Update on Ultraviolet[edit]

Hello everyone! As you all may know already, Ultraviolet has been in development for 3 years now but still is yet to release a 1.0 version. Quite a few features from the latest version of RedWarn (16.1, released on 7 March 2021) are still not supported in Ultraviolet. This is due to our team being mainly student developers, who have unfortunately had to focus on schoolwork and other commitments.

Because of this, I'm planning on applying for a WMF rapid grant to to release a stable 1.0 version of Ultraviolet with full feature compatibility with RW 16.1 this coming summer. The internal architecture of Ultraviolet will also be updated in order to remove as many external dependencies as possible, only relying on dependencies bundled with MediaWiki. This will speed up the script’s load time and could also improve user privacy and security. Hopefully, the new architecture will be able to be much more understandable by editors who wish to contribute code patches to Ultraviolet.

Here's a list of what's planned, in semi-order of priority:

  • Replace Webpack and TSX-DOM with Vite and Vue.js – T348406
    • Use the new Material Web Components library for UI – T348405
  • Full feature compatibility with RW 16.1 – #rw_compat
  • Implement i18n using built-in mw.message instead of i18next – T348470
    • Integrate TranslateWiki for translation contributions from the community
  • Implement unit/integration testing using Playwright – T333548
  • Write documentation at WP:UV with any time remaining

I'd like to ask what the community thinks of this proposal. Are there any specific features/areas that you would like me to focus on? Any feedback is appreciated! ―sportzpikachu my talkcontribs 13:43, 24 December 2023 (UTC)Reply[reply]

Sounds pretty good! As long is it has feature compatibility it'd be greatly appreciated.
Also, is it possible for there to be an OOUI theme? Material looks kinda jarring among WP for me.
Is it possible for RW to integrate with Wikipedia:AntiVandal? It has a far superior "queue" UI that ranks edits according to their ORES scores IMO. Aaron Liu (talk) 20:28, 29 December 2023 (UTC)Reply[reply]
The team should use Codex. I think it's better than Material. Plantaest (talk) 21:58, 2 January 2024 (UTC)Reply[reply]
Thanks for the feedback @Aaron Liu and @Plantaest! We'll take a look at integrating AntiVandal, but the current plan for UV has been to integrate with WP:RTRC, which seems to offer similar features.
Codex/OOUI support is not currently planned, since it is still in beta and lacks a lot of the functionality that Material has in comparison. However, we'll keep an eye out for when Codex has the features that UV needs. ―sportzpikachu my talkcontribs 10:19, 3 January 2024 (UTC)Reply[reply]
Hmm, what features needed are missing from Codex? It is also stable and not in beta; in fact it's at 1.2 already.
They are similar, but AntiVandal seems vastly superior due to its queue that is ranked in decreasing severity. Aaron Liu (talk) 12:44, 3 January 2024 (UTC)Reply[reply]
I think that Codex is not currently in beta version, the project page doesn't indicate this. The use of Codex is a long-term visionary endeavor. Plantaest (talk) 23:16, 3 January 2024 (UTC)Reply[reply]
@Plantaest: There's too much user experience friction with shifting from one UI framework to another. They have different widgets/components, design principles, and capabilities. UV was originally made with a theming system to enable a "Wikimedia" theme to eventually be added in, but it's additional workload and maintenance load (that could turn into technical debt) for us and it's currently best if we stick to what we use now than expend pre-1.0 effort on switching libraries. Chlod (UV • say hi!) 03:19, 4 January 2024 (UTC)Reply[reply]
Ok, I understand. Best wishes to your team. Plantaest (talk) 04:06, 4 January 2024 (UTC)Reply[reply]
The grant proposal is on meta at m:Grants:Programs/Wikimedia Community Fund/Rapid Fund/Development of the Ultraviolet counter-vandalism userscript (ID: 22449356) for those curious. Feel free to leave any feedback there! ―sportzpikachu my talkcontribs 16:50, 7 January 2024 (UTC)Reply[reply]
I wonder if it is because UV is a legacy system already despite being in beta for four years, including one year as RedWarn...
I think Codex/OOUI is a good step forward for RW/UV. It might be able to usurp Twinkle and maybe even have cross wiki compatibility! :D Awesome Aasim 05:09, 24 January 2024 (UTC)Reply[reply]
No comment on the viability of implementing this (I have no idea what I'm talking about anyways), but I can't tell you how much help it would be to editors who work do cross-wiki work to have a reliable global CV suite even remotely comparable to the tools we have on enwiki. Also, consider that the WMF is likely to give the grant application significantly more attention if it's pitched as a tool for the global community rather than just for us enwiki snobs. (/j) TechnoSquirrel69 (sigh) 05:17, 24 January 2024 (UTC)Reply[reply]

Cowboy icon added[edit]

Hello, RedWarn/Ultraviolet team! I am requesting the feature of the cowboy icon next to a team member gets added to Ultraviolet for parity with RedWarn, as in a box at the top of the page, it states, "If you have RedWarn installed, the cowboy logo 🤠 will appear next to [an Ultraviolet team member's] name." In other words, this small detail from RedWarn should be added to Ultraviolet. It will make it less confusing for those who need to know who works on UV/RW. For example, Ultraviolet Team Member (talk) would become Ultraviolet Team Member 🤠 (talk). - The Master of Hedgehogs (always up for a conversation!) 19:37, 9 February 2024 (UTC)Reply[reply]

Hi @The Master of Hedgehogs, thanks for the feedback! I've created a phabricator task and have also added this to the compatibility matrix. Let us know if you have any other feedback! ―sportzpikachu my talkcontribs 19:45, 9 February 2024 (UTC)Reply[reply]
You are very welcome! - The Master of Hedgehogs (always up for a conversation!) 20:29, 9 February 2024 (UTC)Reply[reply]

Incorrect edit summary?[edit]

RedWarn: I just warned a user with tier 1 of "uw-spam" (diff). The edit summary was "Adding spam links", but I think it should've been "Adding inappropriate external links" looking at the config for the template:

"spam": {
    "name": "Adding spam links",
    "category": "spam",
    "template": "uw-spam",
    "type": "tiered",
    "levels": [
    "summary": {
        "1": "Adding inappropriate external links"

Am I misunderstanding something, or is this a bug somewhere? Thanks FozzieHey (talk) 12:32, 11 February 2024 (UTC)Reply[reply]

Hi @FozzieHey, you linked to WP:Ultraviolet/configuration.json which is loaded for Ultraviolet's rule database. RedWarn currently uses a separate database at WP:RedWarn/Default Warnings, which you can update as necessary. ―sportzpikachu my talkcontribs 11:52, 12 February 2024 (UTC)Reply[reply]
@Sportzpikachu: Ah, that explains it then. I think I was caught out by the redirect on Wikipedia:RedWarn/configuration.json. Is this needed, or could it be removed to reduce confusion?
Does RedWarn support the different edit summaries for different warning levels like UV does? I'm looking through the rules config and can't find any examples of it. If not, could we just rename all of the levels to "Adding inappropriate external links", to reduce the BITEyness of the first level? Thanks FozzieHey (talk) 12:37, 12 February 2024 (UTC)Reply[reply]
Hi @FozzieHey, it doesn't. Edit summaries are the same per warning category and not specific for any level :( ✨ Ed talk! ✨ 18:38, 18 February 2024 (UTC)Reply[reply]
@Ed6767: Thanks, if I just change "Adding spam links" to "Adding inappropriate external links" in that config file, do I need to change it anywhere else? FozzieHey (talk) 18:52, 18 February 2024 (UTC)Reply[reply]

RedWarn-related question possibly relevant to Ultraviolet?[edit]

Howdy Team UV- I'm copying a RedWarn-related question/suggestion I posted a while back at Template talk:Uw-editsummary2 (subsequently moved to Wikipedia_talk:Template_index/User_talk_namespace#Template_talk:Uw-editsummary2_–_Adding_thanks_to_template_message), in case it might also be relevant to Ultraviolet, or be worthwhile to consider in the development of Ultraviolet:

Question re editing this template's message, or creating another version of it: I occasionally leave talk page messages encouraging use of edit summaries. Sometimes I invoke this template via RedWarn (where it is called "Not using edit summary for more experienced users"). Ideally, where appropriate, I'd like to have the option to change the opening "Hello" to "Hello, and thank you for your contributions". Does anyone think that it might be worth considering that we change this templates message to that? I understand that the thank-you might not always be merited, so I wanted to run the idea by anyone who watches here.

Side question: Using RedWarn to post template messages always creates a section header with the month and year. Does anyone know if there is a mechanism to suggest alternate section headings to the keepers of RedWarn? For example, I would prefer that this template's message be given a header more along the lines of "Edit summaries, please". Thanks in advance for any comment. Eric talk 22:06, 14 February 2024 (UTC)Reply[reply]

Hi @Eric, you use the "send message" function in RedWarn, which adds text to a userpage without the date header, however you do have to type your template manually. However, as you may know it is standard format for warnings and notices to be placed under a date header, which is why this isn't an option in RW. ✨ Ed talk! ✨ 18:41, 18 February 2024 (UTC)Reply[reply]

Changing settings[edit]

Can an option be added so that instead of adding a user page to the watchlist after warning, it subscribes you to the monthly warning section? Thanks, voorts (talk/contributions) 17:14, 15 February 2024 (UTC)Reply[reply]

Hi @Voorts, you can use the Convienient Discussions userscript to do this. ✨ Ed talk! ✨ 18:42, 18 February 2024 (UTC)Reply[reply]
Thank you! voorts (talk/contributions) 18:47, 18 February 2024 (UTC)Reply[reply]

Histmerge RedWarn with UV[edit]

Can we do a history merge of all the RedWarn pages with Ultraviolet? I see this as necessary due to CC attribution, easier navigation in history, etc. Awesome Aasim 21:36, 15 February 2024 (UTC)Reply[reply]

@Awesome Aasim: It'd be great if this were consulted with beforehand, considering RW and UV are different pages with parallel versions, which means it's ineligible for history merging (and would mean that one of these pages will have their edit history wiped, if such a merge was performed). Concerns of CC attribution are handled as it always is: an edit summary pointing to the page from which content is derived. In this case it was done here and here, the latter being done because I made a typo while entering the edit summary. I've removed the template to avoid bothering administrators with a futile history merge case. Chlod (UV • say hi!) 00:38, 16 February 2024 (UTC)Reply[reply]
Yeah I probably should have talked with you guys about it first. :)
But I think after the migration is complete we should probably redirect all the RW documentation stuff and pages to UV. Otherwise it will confuse new editors who get redirected to a historical page in edit summaries. Awesome Aasim 01:11, 16 February 2024 (UTC)Reply[reply]

Special characters glitch[edit]

While on User_talk:"sahilmoha"s talk page, right-clicking their name brings up the popup menu. When selecting 'user contributions', I am taken to, which is odd. Filed on phabricator but looks like it's UV's fault 🇺🇲JayCubby✡ plz edit my user pg! Talk 22:18, 18 February 2024 (UTC)Reply[reply]

Hi, @JayCubby! It looks like this is an issue with RedWarn and not Ultraviolet. The right click menu is planned to be re-implemented into UV, so we'll be sure to avoid this issue from popping up there. Chlod (UV • say hi!) 01:01, 19 February 2024 (UTC)Reply[reply]
Oh lol you're right! I am using only redwarn. 🇺🇲JayCubby✡ plz edit my user pg! Talk 01:11, 19 February 2024 (UTC)Reply[reply]