Wikipedia talk:Twinkle
This is the talk page for discussing improvements to the Twinkle page. |
|
Tips for writing good bug reports and feature requests:
|
Twinkle has detailed documentation located at WP:TW/DOC. |
Index 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 21, 22, 23, 24, 25, 26, 27, 28, 29, 30 31, 32, 33, 34, 35, 36, 37, 38, 39, 40 41, 42, 43, 44, 45, 46, 47, 48 |
Other archives
|
This page has archives. Sections older than 30 days may be automatically archived by Lowercase sigmabot III when more than 10 sections are present. |
Renaming fluff to rollback
[edit]Hello talk page watchers. I have a patch in the queue that, once merged, will rename "fluff" to "rollback". Fluff is the bespoke name for Twinkle's rollback module which provides [rollback] links on diff pages. Anyway, this also involves renaming the preference variables confirmOnFluff and confirmOnMobileFluff. Changing these preference names will make Twinkle forget those two particular preferences for 937 users that are not using the default setting. If this patch is merged as is, those folks will have to go to their Twinkle preferences and turn those preferences back on manually.
Anyway, just wanted to check with the group first. Is this kind of collateral damage acceptable here? (A bunch of the 937 are probably inactive.) Or does it need to be mitigated somehow, with backwards compatibility code, an WP:AWB run to change them all, etc? I'm leaning towards it being acceptable, but happy to hear other thoughts. Thanks. –Novem Linguae (talk) 09:15, 21 November 2024 (UTC)
- Done –Novem Linguae (talk) 10:47, 22 November 2024 (UTC)
- I'd personally lean towards doing an AWB run to rename the variables, because it's low-risk and a quick fix. — Frostly (talk) 10:01, 23 November 2024 (UTC)
- SD0001 wrote a patch to provide reverse compatibility, so we'll just do that I think. –Novem Linguae (talk) 17:23, 23 November 2024 (UTC)
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)
- Only the "Restore this revision" feature works for me at the moment. PEPSI697 (💬 • 📝) 00:47, 24 November 2024 (UTC)
- 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)
- 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)
- I've just tried it in Desktop mode and using Twinkle, still doesn’t work. Knitsey (talk) 14:06, 24 November 2024 (UTC)
- Rollback (PERM, as well as Twinkle isn't working for me. Knitsey (talk) 14:11, 24 November 2024 (UTC)
- I've just tried it in Desktop mode and using Twinkle, still doesn’t work. Knitsey (talk) 14:06, 24 November 2024 (UTC)
- 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)
- 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)
- 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)
- @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)
- 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)
- 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)
- @Novem Linguae Yes, currently I'm on mobile. But how can I add twinkleoptions.js Manually.? ®asteem Talk 21:16, 24 November 2024 (UTC)
- 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)
- 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)
- Feel free to try it without a twinkleoptions.js file. Should be fixed. –Novem Linguae (talk) 21:53, 24 November 2024 (UTC)
- Thanks @Novem Linguae:, mine seems to be working OK now. Knitsey (talk) 22:11, 24 November 2024 (UTC)
- Yep, Twinkle is working fine for me again as well. All good. PEPSI697 (💬 • 📝) 05:01, 25 November 2024 (UTC)
- Feel free to try it without a twinkleoptions.js file. Should be fixed. –Novem Linguae (talk) 21:53, 24 November 2024 (UTC)
- 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)
- 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)
- @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)
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)
- 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)
- Pull request opened. Rusty 🐈 15:47, 2 December 2024 (UTC)
Template:Db-t5
[edit]Please add the new Template:Db-t5. Gonnym (talk) 07:40, 3 December 2024 (UTC)
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)
- I see the same issue in testing on User talk:WK-test. Writ Keeper ⚇♔ 15:09, 4 December 2024 (UTC)
- 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)
- Thank you.--Bbb23 (talk) 15:09, 6 December 2024 (UTC)
- 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)
Changes to Wikipedia:Teahouse/Teahouse talkback
[edit]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)
- @Matrix: Just checked, doesn't seem to be substed. Rusty 🐈 01:26, 17 December 2024 (UTC)
- Thanks. Closing without action –Novem Linguae (talk) 01:55, 17 December 2024 (UTC)
- thanks, I've edited the template —Matrix(!) ping onewhen replying {u - t? -
uselessc} 11:18, 17 December 2024 (UTC)
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)
- 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)
- Got any specifics in mind? i.e. "add X template to the tags module"? –Novem Linguae (talk) 13:53, 10 December 2024 (UTC)
- If we wanna get fancy, I guess
- {{Split}}
- {{Split dab}}
- {{Split section}}
- {{Split sections}}
- 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)
- 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)
- If we wanna get fancy, I guess
"TW" link in edit summaries almost but still not quite yet a thing of the past
[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)
- 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)
- Closing without action –Novem Linguae (talk) 02:05, 17 December 2024 (UTC)
- Example arb.js diff: [2]. –Novem Linguae (talk) 02:06, 17 December 2024 (UTC)
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)
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 (can be any edit, doesn't matter)
Step 2: Make a second edit but plan to revert the first edit
Step 3: Revert; it should say "another edit was made; made by same user so let's assume vandalism" message.
Step 4: Go to their talk page, open up the twinkle warning menu.
By that point, it should pop up. Cheers! Kline • talk • contribs 01:18, 21 December 2024 (UTC)