Wikipedia talk:Ultraviolet/2023/May

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

Wrong Parameter Description for uw-agf-sock

{{uw-agf-sock}}'s first parameter is the suspected sock's username and the second parameter is additional information. However RW believes that the first parameter is "Special Information". Aaron Liu (talk) 17:52, 29 April 2023 (UTC)

@Aaron Liu: "Special information" is correct; RedWarn doesn't support changing the label of the text field. Hence, "special information" is used instead. This isn't an issue with Ultraviolet. Marking this as won't-fix, as non-security issues have been halted for RedWarn. Chlod (UV • say hi!) 01:08, 8 May 2023 (UTC)

UV Icons Rendering over Content Actions on Main Page (Vector 2022)

On the Main Page, the Ultraviolet tools appear to render over the Content Actions toolbar in the Vector 2022 skin. The screenshot below shows this with Twinkle enabled and the right-hand page actions menu collapsed, but the bug reproduces for me with Twinkle disabled and the page actions expanded. This appears to occur with both full-width and fixed-width settings for vector 2022.

Rendering bug in Ultraviolet

Reproduction:

  1. Ensure Vector 2022 is set as the page skin and Ultraviolet is installed and enabled.
  2. Go to the Main Page

Logs copied to pastebin here: [1]

This doesn't appear to happen on any other pages. Dylnuge (TalkEdits) 00:18, 8 May 2023 (UTC)

Seems to be due to the missing title line on the Main Page that causes this. This has shown up in the past at some point, but I guess now with Vector 2022 out, this is going to be another persistent issue. Doesn't seem like a fix would be too hard; will work on this now. Chlod (UV • say hi!) 00:24, 8 May 2023 (UTC)
@Dylnuge: Should be  fixed. Chlod (UV • say hi!) 05:42, 8 May 2023 (UTC)

Warnings not working

Upon warning someone, I get a message:

There was a problem warning the user. Please verify if the user has been warned before issuing another warning.

There is also no warning, and I get this on my console:

File:UVconsole.png








--(Roundish t) 21:48, 8 May 2023 (UTC)

@Roundish: Please provide a copy of your Ultraviolet log so I can take a look at this better. Chlod (UV • say hi!) 22:12, 8 May 2023 (UTC)
@Roundish:  Fixed. Chlod (UV • say hi!) 22:27, 8 May 2023 (UTC)

Can't right click to edit rollback buttons in preferences

I'm encountering a bug where I can't right click in the RedWarn preferences window, to edit the quick rollback action buttons. Instead of the options appearing, my browser's context menu appears instead.

There's no errors in the browser console. I'm using Firefox 113.0b9 (deb) on Ubuntu 23.04, if that helps.

Let me know if you need any more information! Thanks, — MrConorAE (User | Talk | Contrib) 05:06, 9 May 2023 (UTC)

Nothing immediately indicating that an issue is occurring, but it definitely seems like $.contextMenu is to blame. The contextmenu event handler isn't latching onto any element in the list. Might be a case of the code being run before the elements have loaded, but this is unlikely given the format of the page. I'll try to give this one more peek tonight, but if I'm unable to find a solution, it seems like this'll just have to linger for a bit while UV matures (as we're currently not making changes to RedWarn besides some rather important ones). Chlod (UV • say hi!) 09:35, 9 May 2023 (UTC)

Add a welcome template pack by default

I would suggest that the Ultraviolet gadget have a default welcome pack which could detect that the user is an IP or an account and can give the right welcome template. 64andtim (talk) 16:16, 16 May 2023 (UTC)

@64andtim: Welcome templates are varied and Wikipedian preferences of these templates also vary. While we probably won't have automatic welcome templating (nor a dedicated module for welcoming users), packs part of the ol' RedWarn quick templates will eventually be ported for use on Ultraviolet. Chlod (UV • say hi!) 07:07, 17 May 2023 (UTC)

Align page buttons with topicons

Currently, on a page with topicons ({{eg}} {{topicon}}) the redwarn buttons (more actions, page protection, {{etc}}) the buttons aren't aligned with the topicons. I think they should be. Aaron Liu (talk) 20:56, 14 May 2023 (UTC)

Like this: — Qwerfjkltalk 12:13, 15 May 2023 (UTC)
@Aaron Liu, @Qwerfjkl: Apologies for the late reply; the bot responsible for alerting team members of updates to this page had momentarily failed. The buttons already seem aligned. I will note that we're unable to accommodate "true" (CSS-based and responsive) alignment on Vector 2022 (which is the only skin where this issue exists) due to how different topicons can appear, unless we implement this in JavaScript (which causes positioning flashes that can make a user misclick on a button). Chlod (UV • say hi!) 07:20, 17 May 2023 (UTC)

Incompatible with Firefox?

Recently I have began using the Firefox browser, and both RedWarn and Ultraviolet do not work on my build. Any suggestions? Schminnte (talk contribs) 17:48, 15 May 2023 (UTC)

I've been able to run it successfully on Firefox 113.0b9, on Ubuntu. How are you loading the script (what's in your common.js)? If it's being loaded from Toolforge, you might need to tweak Firefox's tracking protection settings, or any ad-blocking extensions you might have, to allow it to load. — MrConorAE (User | Talk | Contrib) 02:27, 17 May 2023 (UTC)
I'm on the most recent version and have allowed Wikipedia on my exceptions list, would I need to allow toolforge as well? I am importing directly from User:10nm/beta.js. Schminnte (talk contribs) 06:52, 17 May 2023 (UTC)
Yes, you'll need to allow Toolforge as well. If you look at the script in the JavaScript file, it's just loading the code directly from the latest build on Toolforge (the exact URL is "https://ultraviolet.toolforge.org/builds/" - on line 73). — MrConorAE (User | Talk | Contrib) 06:56, 17 May 2023 (UTC)
@Schminnte: We test features on Firefox primarily, so there shouldn't be any reason for it not to run on Firefox. Ultraviolet and RedWarn both load styles and scripts from external sources; privacy extensions or third-party script blockers may restrict these from being run.
Both scripts load styles from the following external sites, which must be allowed for Ultraviolet to run:
Specifically for Ultraviolet, you also have to allow the following external sites:
Specifically for RedWarn, you also have to allow the following external sites:
Should things still be going wrong; try to check your browser console for errors. If an error occurred while loading Ultraviolet, there's usually a large red warning, with a string of green text below. You can send this to us for further processing. Chlod (UV • say hi!) 07:37, 17 May 2023 (UTC)
Thanks @Chlod, I'll do this and see if it works. Schminnte (talk contribs) 08:49, 17 May 2023 (UTC)
@Chlod: Now that I've changed the exceptions in my Firefox settings, it is working fine. If this problem occurs for others, might it be worth adding to the documentation that adding exceptions to the basic Firefox settings are required? Schminnte (talk contribs) 15:14, 17 May 2023 (UTC)