Wikipedia talk:Ultraviolet/2023/October

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

UV not working

I installed Ultraviolet (upgraded from RedWarn), but when I try to use it on Chrome, I the error InvalidStateError: Failed to execute 'transaction' on 'IDBDatabase': A version change transaction is running. in the JavaScript console and the page freezes up. However, UV seems to load properly Microsoft Edge. Rusty4321 talk contributions 00:55, 16 September 2023 (UTC)

Hi, @Rusty4321! Could you provide the full text of the error? This will help pinpoint the exact part of the code causing the issue. Chlod (UV • say hi!) 01:11, 16 September 2023 (UTC)
@Chlod Sure!
The full error message is below (in the collapsed content). It is spammed over and over in the console and the script does not load.
Extended content
AppLog.ts:65 [Ultraviolet 0.1.5] [ERROR] InvalidStateError: Failed to execute 'transaction' on 'IDBDatabase': A version change transaction is running.
log @ AppLog.ts:65
error @ AppLog.ts:142
(anonymous) @ UltravioletIDB.ts:123
(anonymous) @ tslib.es6.js:76
l @ tslib.es6.js:72
transaction @ ultraviolet.js:33
(anonymous) @ UltravioletIDB.ts:184
(anonymous) @ tslib.es6.js:76
l @ tslib.es6.js:72
(anonymous) @ UltravioletIDB.ts:181
(anonymous) @ UltravioletIDB.ts:181
(anonymous) @ tslib.es6.js:76
l @ tslib.es6.js:72
runRequest @ ultraviolet.js:33
(anonymous) @ UltravioletIDBObjectStore.ts:73
(anonymous) @ tslib.es6.js:76
l @ tslib.es6.js:72
get @ ultraviolet.js:33
(anonymous) @ API.ts:220
(anonymous) @ tslib.es6.js:76
l @ tslib.es6.js:72
loadGroupNames @ ultraviolet.js:33
(anonymous) @ API.ts:140
(anonymous) @ tslib.es6.js:76
l @ tslib.es6.js:72
init @ ultraviolet.js:33
(anonymous) @ Ultraviolet.ts:204
c @ tslib.es6.js:73
Promise.then (async)
u @ tslib.es6.js:75
c @ tslib.es6.js:73
Promise.then (async)
u @ tslib.es6.js:75
c @ tslib.es6.js:73
Promise.then (async)
u @ tslib.es6.js:75
(anonymous) @ tslib.es6.js:76
l @ tslib.es6.js:72
initialize @ ultraviolet.js:28
(anonymous) @ Ultraviolet.ts:281
(anonymous) @ tslib.es6.js:76
l @ tslib.es6.js:72
start @ ultraviolet.js:28
6463 @ Ultraviolet.ts:364
__webpack_require__ @ bootstrap:19
(anonymous) @ startup:4
__webpack_require__.O @ chunk loaded:23
(anonymous) @ startup:5
(anonymous) @ ultraviolet.js:33
Rusty4321 talk contributions 01:58, 16 September 2023 (UTC)
Thanks, @Rusty4321! I've pushed a change that should alleviate this, but I can't fully reproduce this on my end since this is a pretty rare race condition. Please give it a try, and tell me if it didn't work so I can try something else. Chlod (UV • say hi!) 02:16, 16 September 2023 (UTC)
@Chlod It's still happening, but suspect it may be something on my end. I'll double-check my common.js and rwconfig.json. Rusty4321 talk contributions 18:00, 24 September 2023 (UTC)
@Chlod It's happening still. By the way, I'm using Google Chrome on macOS, which might help with debugging. Rusty4321 talk contributions 18:09, 24 September 2023 (UTC)
Hi, @Rusty4321! Sorry for the late response. Please run the following in your browser console (⌥ Option+⌘ Cmd+J).
window.indexedDB.deleteDatabase("ultravioletDB").onsuccess = () => console.log("Database deleted.");
This will delete the Ultraviolet data stored on your local browser, allowing it to rebuild. Ultraviolet does not need to be running or loaded. Let me know if this works. Chlod (UV • say hi!) 16:07, 26 September 2023 (UTC)
@Chlod I don't know what it is with this issue, but it just doesn't seem to work. I've cleared all my browser cookies, cache, and data for all Wikimedia Foundation sites (at least, if that's what the "Clear Data" button does), but it still doesn't work. Rusty4321 talk contributions 03:35, 27 September 2023 (UTC)
I think I got it fixed. Seemed like TamperMonkey or an adblocker were interfering. Disabled tampermonkey and the ad blocker. Rusty4321 talk contributions 21:54, 13 October 2023 (UTC)

Update on UV

Hello! I'm curious what the status of Ultraviolet is right now as I haven't seen any updates for it in a while. I'm assuming you guys are just busy outside of Wikipedia which is fine, I'm merely curious as to how things are going. ― Blaze WolfTalkblaze__wolf 19:07, 17 October 2023 (UTC)

Hey @Blaze Wolf, thanks for the inquiry! It is true that many of us are busy IRL, but I've started to work on Ultraviolet more during these past few weeks. You can see activity happening on our phabricator project and also on our Gitlab. As always, you can let us know if you have any feedback regarding Ultraviolet/RedWarn and we'll do our best to get back to you. We're also welcoming any editors who know a bit of Typescript to contribute to the UV codebase! You can always reach out to us through this talk page or the other methods on WP:Ultraviolet/Contact. ―sportzpikachu my talkcontribs 19:23, 17 October 2023 (UTC)
Woah someone who isn't Chlod answering questions related to UV. I forget that you guys have places where people can view progress that is happening. Thanks for the update! ― Blaze WolfTalkblaze__wolf 19:38, 17 October 2023 (UTC)

About adding review log entries

Hey there! I currently use RedWarn to review pending changes, and I have a suggestion for the Ultraviolet team as you work on the 1.0 release. I'd really appreciate if the script added entries to the review log when performing a rollback in the pending changes view. Currently, an entry is added only when the big red X "revert changes" is clicked, not during regular rollbacks. I definitely think it'd help reviewers keep track of their activity, and keeps all of the information in one place at Special:Log. I believe Twinkle already does this. Let me know if you have any questions! TechnoSquirrel69 (sigh) 04:57, 10 October 2023 (UTC)

Hi TechnoSquirrel69, I've opened a issue for this feature on phabricator -- Asartea Talk | Contribs 20:44, 17 October 2023 (UTC)
Thanks, Asartea! TechnoSquirrel69 (sigh) 23:35, 17 October 2023 (UTC)

Can I use this tool as a non admin?

I just wanna fight vandalism but all the tools are administrator or rollbacker only which just seems unfair Puzzle Piece the Wikipedian (talk) 03:03, 25 October 2023 (UTC)

@Puzzle Piece the Wikipedian, as far as I know none of the tools are admin or rollback-only. — Qwerfjkltalk 09:54, 25 October 2023 (UTC)
It says I need to be confirmed to use Ultraviolet Puzzle Piece the Wikipedian (talk) 17:58, 25 October 2023 (UTC)
@Puzzle Piece the Wikipedian, you need to be autoconfirmed to use UV. This requires an account age of 4 days and a minimum of ten edits. You are not yet autoconfirmed, but should be if you wait several hours as you already have ten edits. Sincerely, Novo Tape (She/Her)My Talk Page 18:01, 25 October 2023 (UTC)