Jump to content

Wikipedia talk:Twinkle

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
(Redirected from Wikipedia:Twinkle/Bugs)

Problems with WP:Twinkle

[edit]

When I try to revert edits on any article or Wikipedia page, it doesn't seem to revert it. Instead, it says this for example:

Grabbing data of earlier revisions: revision Diff revision number that was made 1 revisions ago by IP or username

I don't know if I'm the only one having this issue with Twinkle.

To note that I'm using Wikipedia on advanced mobile mode. I'll try on my desktop computer to see if it has the same problem or not, I haven't tried on my computer yet but will do it soon.

Anyway, can anybody tell me if this is a technical issue or a bug? PEPSI697 (💬📝) 00:37, 24 November 2024 (UTC)[reply]

Only the "Restore this revision" feature works for me at the moment. PEPSI697 (💬📝) 00:47, 24 November 2024 (UTC)[reply]
I tried to revert edits by 114.10.102.221 by clicking "Rollback", but this feature still didn't work for me. Achmad Rachmani (talk) 13:53, 24 November 2024 (UTC)[reply]
I came here looking to see if anyone had asked this question.
I've had this problem since yesterday. Same message just sits on the screen. This is using mobile and Twinkle.
I will see what happens when I switch to Desktop, I didn't think to see what happened when I switched. Knitsey (talk) 13:57, 24 November 2024 (UTC)[reply]
I've just tried it in Desktop mode and using Twinkle, still doesn’t work. Knitsey (talk) 14:06, 24 November 2024 (UTC)[reply]
Rollback (PERM, as well as Twinkle isn't working for me. Knitsey (talk) 14:11, 24 November 2024 (UTC)[reply]
Moved thread from VPT. I couldn't reproduce any problems with rollback or vandalism rollback buttons on WP:Sandbox. @PEPSI697 Do you get any WP:JSERRORs in the browser console? – SD0001 (talk) 16:59, 24 November 2024 (UTC)[reply]
This is likely related to me renaming twinklefluff to twinkletollback this week. Will take a look. Need to get a good steps to reproduce though. Maybe a specific twinkle setting is involved. –Novem Linguae (talk) 19:21, 24 November 2024 (UTC)[reply]
@Novem Linguae @SD0001 I've been experiencing the same issues for the past few days. Can you assist me please?. ®asteem Talk 19:43, 24 November 2024 (UTC)[reply]
Looks like all 3 of these folks don't have any Twinkle options set (twinkleoptions.js doesn't exist). @Rasteem. Can you please check for WP:CONSOLEERRORs and report back? Can you also let me know what skin you are using, and if you are on mobile or not? –Novem Linguae (talk) 20:44, 24 November 2024 (UTC)[reply]
OK, I was able to reproduce this. I think it only happens if there's no twinkleoptions.js file. "jQuery.Deferred exception: Cannot read properties of undefined (reading 'confirmOnFluff') TypeError: Cannot read properties of undefined (reading 'confirmOnFluff')", stack trace coming from "if (name === 'confirmOnRollback' && Twinkle.prefs.confirmOnFluff !== undefined) {". Will release a hotfix shortly. –Novem Linguae (talk) 21:09, 24 November 2024 (UTC)[reply]
@Novem Linguae Yes, currently I'm on mobile. But how can I add twinkleoptions.js Manually.? ®asteem Talk 21:16, 24 November 2024 (UTC)[reply]
Don't worry about it. I fixed the code instead. Try rolling back something in exactly 10 minutes. Should be fixed once caches clear in 10 minutes. –Novem Linguae (talk) 21:32, 24 November 2024 (UTC)[reply]
Your prompt assistance is greatly valued. Thank you for your help and support!. 😊
I've created User:Rasteem/twinkleoptions.js and manually installed a script for custom Twinkle options. Fortunately, now I'm able to revert the changes using the Twinkle tool's rollback feature. It's now working correctly. [1] ®asteem Talk 21:47, 24 November 2024 (UTC)[reply]
Feel free to try it without a twinkleoptions.js file. Should be fixed. –Novem Linguae (talk) 21:53, 24 November 2024 (UTC)[reply]
Thanks @Novem Linguae:, mine seems to be working OK now. Knitsey (talk) 22:11, 24 November 2024 (UTC)[reply]
Yep, Twinkle is working fine for me again as well. All good. PEPSI697 (💬📝) 05:01, 25 November 2024 (UTC)[reply]

Moving Template:Welcomeunsourced to Template:Welcome-unsourced

[edit]

Would this be fine if I added a redirect? Sangsangaplaz (Talk to me! I'm willing to help) 15:33, 28 November 2024 (UTC)[reply]

Just noting this has now been done. I've also added a wikilink to the header for convenience more than anything else. Primefac (talk) 23:10, 1 December 2024 (UTC)[reply]
Pull request opened. Rusty 🐈 15:47, 2 December 2024 (UTC)[reply]

Template:Db-t5

[edit]

Please add the new Template:Db-t5. Gonnym (talk) 07:40, 3 December 2024 (UTC)[reply]

Blocking users without talk page access places wrong template

[edit]

Until recently, if I blocked a user with Twinkle and disabled Talk page access, the block notice said so. The last few blocks it did not, and it therefore leaves a block notice that is misleading about the user's appeal rights. Am I doing something wrong? Thanks.--Bbb23 (talk) 14:56, 4 December 2024 (UTC)[reply]

I see the same issue in testing on User talk:WK-test. Writ Keeper  15:09, 4 December 2024 (UTC)[reply]
I figured this out and wrote a patch. Should be fixed and deployed in the next few days. –Novem Linguae (talk) 08:48, 6 December 2024 (UTC)[reply]
Thank you.--Bbb23 (talk) 15:09, 6 December 2024 (UTC)[reply]

I'm planning to make some changes to Wikipedia:Teahouse/Teahouse talkback to make it dark mode compatible. The template will still work when substituted, but the results would be sub-optimal (try using dark mode User:Matrix/sandbox4, it works but it's not pretty). Hence I will strongly discourage substitution. I'm not aware if Twinkle is substing this template, but I would appreciate if this was changed before I make my changes. —Matrix(!) ping onewhen replying {u - t? - uselessc} 18:56, 6 December 2024 (UTC)[reply]

@Matrix: Just checked, doesn't seem to be substed. Rusty 🐈 01:26, 17 December 2024 (UTC)[reply]
Thanks. no Closing without actionNovem Linguae (talk) 01:55, 17 December 2024 (UTC)[reply]
thanks, I've edited the template —Matrix(!) ping onewhen replying {u - t? - uselessc} 11:18, 17 December 2024 (UTC)[reply]

propose splitting?

[edit]

Not sure if this has come up before, but I notice that Twinkle has multiple options for proposing merging, but doesn't appear to support the same for splitting. I'm imagining this wouldn't be difficult to add but as usual don't actually have any idea. Just Step Sideways from this world ..... today 05:34, 10 December 2024 (UTC)[reply]

Probably because it's not quite as necessary; with a merge proposal, there are what, four pages that need editing? With a split, it's just the article with a {{split}} and the discussion itself. So I do suppose TW would save an edit, and if that's enough to merit adding to TW for some folks then I'd support it. Primefac (talk) 13:09, 10 December 2024 (UTC)[reply]
Got any specifics in mind? i.e. "add X template to the tags module"? –Novem Linguae (talk) 13:53, 10 December 2024 (UTC)[reply]
If we wanna get fancy, I guess
and prompts for some of the options maybe, plus opening the needed talk page discussion? Just Step Sideways from this world ..... today 22:30, 10 December 2024 (UTC)[reply]
I don't think Twinkle supports adding tags to sections. But we can add {{Split}} and {{Split dab}} to the tag module. Ticket created. –Novem Linguae (talk) 02:02, 17 December 2024 (UTC)[reply]
Also created an issue to support tagging sections. Frostly (talk) 04:00, 28 December 2024 (UTC)[reply]
[edit]

The "TW" link in edit summaries has been largely deprecated in favor of the "Twinkle" tag, but it is still not completely a thing of the past. In particular, it is still used when configuring pending changes (phab:T247721), as well as when adding contentious topics alerts (see Asilvering's contributions for example). GTrang (talk) 17:56, 10 December 2024 (UTC)[reply]

Configuring pending changes is the only place where Twinkle doesn't use the tag due to the API limitation. The contentious topic alerts are coming from User:Bellezzasolo/Scripts/arb.js which should really be banned from impersonating Twinkle. – SD0001 (talk) 19:51, 10 December 2024 (UTC)[reply]
no Closing without actionNovem Linguae (talk) 02:05, 17 December 2024 (UTC)[reply]
Example arb.js diff: [2]. –Novem Linguae (talk) 02:06, 17 December 2024 (UTC)[reply]

Nomination for merger of Template:Incomprehensible

[edit]

Template:Incomprehensible has been nominated for merging with Template:Confusing. You are invited to comment on the discussion at the template's entry on the Templates for discussion page. Thank you. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 14:33, 13 December 2024 (UTC)[reply]

Twinkle gives "someone else may have rv'd and warned this person" warning when catching second edit made by different user

[edit]

Virtually as the title says. It gives the warning whenever a second edit is made by the same user when attempting to revert the first edit by that user.
Steps for reproduction:
Step 1: Find an edit from recent changes and click on the diff page (can be any edit, doesn't matter)
Step 2: User1 makes a second edit but User2 plans to revert the first edit, unaware of User1's second edit
Step 3: Revert using the Twinkle's red "rollback (vandalism)" link; it should say "another edit was made; made by same user (User1) so let's assume vandalism" message.
Step 4: Go to User1's talk page, open up the twinkle warning menu.
By that point, it should pop up. Cheers! Klinetalkcontribs 01:18, 21 December 2024 (UTC)[reply]

@Kline. Thanks for the report. I tried these steps to reproduce and got Warning: Latest revision 633500 doesn't equal our revision 633499. Error: Latest revision was made by Novem Linguae, so it might have already been reverted, we will stop the revert. during the "Revert" step. I probably did something slightly different than you. Can you add some more details to your steps to reproduce? Can you add User1, User2, User3 to clarify who is doing which step? Does the revert screen need to be opened before the other user(s) make their edits, and then fail to refresh it? Thanks. –Novem Linguae (talk) 20:10, 27 December 2024 (UTC)[reply]
@Novem Linguae, I've added some more details to clarify the users. What I mean by the revert screen is comparing diffs between the edit just made and the last edit made to that page. Usually I do vandalism patrol on recent changes so I'll just click on what's flagged as vandalism unknowingly that they made a second edit, which then gets both edits reverted because TW automatically assumes it's still vandalism since it was by the same user. I usually then go and open the twinkle menu and gives the warning message. Hopefully this helps, cheers! Klinetalkcontribs 20:22, 27 December 2024 (UTC)[reply]
@Kline. Thanks for those details. Couple of follow up questions. What page are you clicking the rollback link from (a diff page? WP:RECENTCHANGES?) Are you clicking Twinkle's red "rollback (vandalism)" link, the native rollback link, one of the other Twinkle rollback links? Can these details be added to the steps to reproduce? Thanks. –Novem Linguae (talk) 22:12, 27 December 2024 (UTC)[reply]
@Novem Linguae Done. Klinetalkcontribs 22:14, 27 December 2024 (UTC)[reply]
OK. I think I've got the correct steps to reproduce. Now I'm confused about the bug. Can you recap what the bug is? Is the bug on the diff page? On the user talk page after clicking TW -> Warn? Something else? –Novem Linguae (talk) 22:21, 27 December 2024 (UTC)[reply]
When I go to warn someone, it usually shows in the warning menu that "someone else may have rv'd and warned this person" even though there wasn't actually a revert, just an edit made by another use. It'd be on the user talk page as you described it. Klinetalkcontribs 22:47, 27 December 2024 (UTC)[reply]
Unable to reproduce. I don't see anything odd on the TW -> Warn screen after doing the steps you described.
Article history: https://test.wikipedia.org/w/index.php?title=Mainspace&action=history
Diff: https://test.wikipedia.org/w/index.php?title=Mainspace&diff=prev&oldid=633502
User talk link it gave me: https://test.wikipedia.org/w/index.php?title=User_talk:NovemTest1&action=edit&vanarticle=Mainspace&noautowarn=true&vanarticlerevid=633502
If available, can you copy paste the exact error message, or a screenshot? –Novem Linguae (talk) 22:53, 27 December 2024 (UTC)[reply]
I'll see if it pops up, might take a while though since I don't usually get this message often patrolling RC. Klinetalkcontribs 23:11, 27 December 2024 (UTC)[reply]

on uw-rfd

[edit]

opinions on adding the uw-rfd (1, 2, 3, 4) templates? consarn (formerly cogsan) 14:05, 27 December 2024 (UTC)[reply]