Misplaced Pages

talk:Twinkle: Difference between revisions - Misplaced Pages

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editContent deleted Content addedVisualWikitext
Revision as of 02:02, 14 March 2014 editTucoxn (talk | contribs)Extended confirmed users, IP block exemptions, Pending changes reviewers, Rollbackers9,608 edits CSD for Files and the CSD Log: any update?← Previous edit Latest revision as of 23:11, 27 December 2024 edit undoKline (talk | contribs)Autopatrolled, Extended confirmed users, IP block exemptions, New page reviewers, Pending changes reviewers, Rollbackers22,185 edits Twinkle gives "someone else may have rv'd and warned this person" warning when catching second edit made by different user: ReplyTag: Reply 
(1,000 intermediate revisions by more than 100 users not shown)
Line 1: Line 1:
{{redirect3|WT:TW|For other uses, see ], or the ]}} {{redirect|WT:TW|text=For other uses, see ]}}
{{shortcut|WT:TW}} {{shortcut|WT:TW}}
{{Talk header|search=no|archives=no}}
This page is for general discussion and questions related to ]. It is also one possible venue for reporting ]s and requesting new features; although see ] below.
{{Tmbox|text=Tips for writing good bug reports and feature requests:

* Include the affected article name and a diff.
Consider also checking ], which may answer your question.
* Include a screenshot.
* For bugs, include the exact ] the bug. Bugs need to be reproducible.
We will use this information to create a ticket on , which is our todo list for volunteer developers. For most tickets, expect them to take a long time (months). They will need to attract the interest of a volunteer developer, then go through code review, then get merged to master, then get deployed.}}
{{Tmbox|text=Twinkle has detailed documentation located at ].}}
{{User:MiszaBot/config {{User:MiszaBot/config
|archiveheader = {{aan}} |archiveheader = {{Automatic archive navigator}}
|maxarchivesize = 200K |maxarchivesize = 200K
|counter = 34 |counter = 48
|algo = old(20d) |algo = old(30d)
|minthreadsleft = 10
|minthreadstoarchive = 1
|archive = Misplaced Pages talk:Twinkle/Archive %(counter)d |archive = Misplaced Pages talk:Twinkle/Archive %(counter)d
}} }}
{{archive box|bot=Lowercase sigmabot III |age=20 |units=days |auto=yes |<div style{{=}}"text-align: center;">'''Other archives'''</div>
{{User:HBC Archive Indexerbot/OptIn
|target=/Archive index
|mask=/Archive <#>
|mask=/Archive Friendly <#>
|mask=/Bugs/Archive <#>
|mask=/RFA/Archive <#>
|leading_zeros=0
|indexhere=yes
}}{{archive box |index=/Archive index |auto=yes |search=yes |bot=MiszaBot II |age=20 |units=days |<div style{{=}}"text-align: center;">'''Other archives'''</div>
<div style{{=}}"text-align: center;">Friendly talk archives: ], ], ], ], ]</div> <div style{{=}}"text-align: center;">Friendly talk archives: ], ], ], ], ]</div>
<div style{{=}}"text-align: center;">]; archive ], ], ], ], ]</div> <div style{{=}}"text-align:center;">]; archive ], ], ], ], ]</div>
<div style{{=}}"text-align: center;">]; archive ], ]</div>}} <div style{{=}}"text-align: center;">]; archive ], ]</div>}}
{{to do|small=yes|list=Misplaced Pages:Twinkle/to do}}

=== Bugs and feature requests ===

{{anchor|Feature Requests|Feature requests}}
Bugs and feature requests can be reported at https://github.com/azatoth/twinkle (you will need to have a ] account). This will probably result in the issue being noticed sooner, as an e-mail is sent to all Twinkle developers. Alternatively, start a new discussion on this page. Possibly slower service, but you will be able to gain consensus, etc., if you need to.

__TOC__

== Go to user talk when reverting pending changes ==

When a page is reverted with the pending changes "Revert changes" button, Twinkle should give a nice link to go to the user's talk page with the page name pre-filled, like it does when "real" rollback is used. ] (]) 04:35, 11 January 2014 (UTC)
:I'll look into this. I only have reviewer rights on testwiki, so I hope our setup is not too different. — <span style="border:dashed #666;border-width:1px 0 0 1px">]</span> and <span style="border:dashed #666;border-width:0 1px 1px 0">]</span> 02:17, 1 February 2014 (UTC)
::{{ping|Jackmcbarn}} Hm, I'm not quite sure what you are referring to here. When I clicked "Reject changes" I seemed to get sent back to the article itself. — <span style="border:dashed #666;border-width:1px 0 0 1px">]</span> and <span style="border:dashed #666;border-width:0 1px 1px 0">]</span> 06:14, 15 February 2014 (UTC)
:::A link from the confirmation page, I mean. ] (]) 23:03, 15 February 2014 (UTC)
::::Being hopelessly inexperienced with Pending Changes, I will need step-by-step instructions of every click you are making :) — <span style="border:dashed #666;border-width:1px 0 0 1px">]</span> and <span style="border:dashed #666;border-width:0 1px 1px 0">]</span> 02:52, 16 February 2014 (UTC)
:::::] ] (]) 18:31, 16 February 2014 (UTC)
::::::So you want to see a talk page link even before you have made the revert? That seems like a strange order in which to do things. — <span style="border:dashed #666;border-width:1px 0 0 1px">]</span> and <span style="border:dashed #666;border-width:0 1px 1px 0">]</span> 06:41, 18 February 2014 (UTC)
:::::::Yes. I know that's kind of strange, but after the revert is made, there's nowhere to put the talk page link. The other alternative is to make the user's talk page pop open in a new window after the revert, the way that it does when you use Twinkle's own rollback to revert someone. ] (]) 13:27, 18 February 2014 (UTC)
:{{ping|Jackmcbarn}} Sorry Jack, I missed your reply. Yes, a popup wouldn't be a bad idea, although I'm hesitant to add another one. I'll see what is possible here and think about the best way to implement it. — <span style="border:dashed #666;border-width:1px 0 0 1px">]</span> and <span style="border:dashed #666;border-width:0 1px 1px 0">]</span> 07:26, 3 March 2014 (UTC)

== Help regarding welcome teplate ==

I've tried to add the W-screen template in user talk page automatically but when I click on the "Wel" in use talk page it show the pop-up for choosing template while I have already set it to automatic. Please help ! I think I'm doing something wrong--<span style="font-family: Segoe Script; font-size:12px; color: white; text-shadow: black 0.1em 0.1em 0.2em;">]</span> <sup>]</sup> 14:37, 18 February 2014 (UTC)
:The "automatic" option only applies when you click the yellow "welcome" link seen on page diffs. You are always given the choice to select a welcome template when using the "Wel" option on a user talk page - otherwise, if you wanted to welcome a problem user with one of the specific templates or something like that, your only recourse would be to change your preferences. — <span style="border:dashed #666;border-width:1px 0 0 1px">]</span> and <span style="border:dashed #666;border-width:0 1px 1px 0">]</span> 02:14, 19 February 2014 (UTC)


== Problems with ] ==
== Reverting and reporting trolls with attacking usernames ==
{{Tracked in|https://github.com/wikimedia-gadgets/twinkle/pull/2071|resolved}}
{{Moved discussion from|Misplaced Pages:Village pump (technical)#Problems with WP:Twinkle| – ] (]) 16:56, 24 November 2024 (UTC)}}
When I try to revert edits on any article or Misplaced Pages page, it doesn't seem to revert it. Instead, it says this for example:
:
<code>Grabbing data of earlier revisions: revision '''Diff revision number''' that was made 1 revisions ago by '''IP or username'''</code>
:
I don't know if I'm the only one having this issue with Twinkle.
:
To note that I'm using Misplaced Pages 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? ''']''' (] • ]) 00:37, 24 November 2024 (UTC)


:Only the "Restore this revision" feature works for me at the moment. ''']''' (] • ]) 00:47, 24 November 2024 (UTC)
Is there any way to disable the automatic edit-summary of TW when reverting or reporting socks/vandals/trolls with attacking usernames? If the username of the troll is in itself an attack, it would be better to disable the automatic TW edit-summary before saving for the revert or any AIV/SPI report. This way the name/attack would not infect the edit-summary and perpetuate the attack. It would also save revdel time for the admins. Thanks. ]&nbsp;<small><sup style="position:relative">]<span style="position:relative;bottom:-2.0ex;left:-5.2ex;*left:-5.5ex">]</span></sup></small> 05:20, 22 February 2014 (UTC)
::I tried to revert edits by ] by clicking "Rollback", but this feature still didn't work for me. ] (]) 13:53, 24 November 2024 (UTC)
:I guess in that case you could simply "undo" the edit and manually fix the edit summary, or instead of reverting the vandal's revisions, you could restore that last good version, which (IIRC) shows the username of the editor whose revision you're restoring to. <span style="font-family:Sylfaen;color:white;background:black;padding:0 3px;">☺&nbsp;·&nbsp;]&nbsp;·&nbsp;]</span> 15:05, 22 February 2014 (UTC)
:::I came here looking to see if anyone had asked this question.
::Thank you Salvidirim. The "undo" button is slow, and TW's "restore previous version" button can work in cases of reverting. But for reporting at AIV and UAA the TW edit-summary still carries the trolling username which is then repeated again when the bots copy it in their edit-summary when the troll gets blocked. Can the TW edit-summary be modified for reporting? ]&nbsp;<small><sup style="position:relative">]<span style="position:relative;bottom:-2.0ex;left:-5.2ex;*left:-5.5ex">]</span></sup></small> 18:29, 22 February 2014 (UTC)
:::I've had this problem since yesterday. Same message just sits on the screen. This is using mobile and Twinkle.
:::If the username is bad enough that it could require RevDeletion or that it needs to avoid being mentioned, then it clearly shouldn't be pushed through to AIV or UAA and should be dealt with more efficiently/discreetly. Privately contacting an admin seems like the best option to me. <span style="font-family:Sylfaen;color:white;background:black;padding:0 3px;">☺&nbsp;·&nbsp;]&nbsp;·&nbsp;]</span> 18:51, 22 February 2014 (UTC)
:::I will see what happens when I switch to Desktop, I didn't think to see what happened when I switched. ] (]) 13:57, 24 November 2024 (UTC)
::::I agree. But the troll will be left unchecked if the contacted admin is off-line. Plus I don't want to keep bothering admins I know for revdels. This is ]. In any case, thank you again Salvidirim. ]&nbsp;<small><sup style="position:relative">]<span style="position:relative;bottom:-2.0ex;left:-5.2ex;*left:-5.5ex">]</span></sup></small> 19:42, 22 February 2014 (UTC)
::::I've just tried it in Desktop mode and using Twinkle, still doesn’t work. ] (]) 14:06, 24 November 2024 (UTC)
:::::Rollback (PERM, as well as Twinkle isn't working for me. ] (]) 14:11, 24 November 2024 (UTC)
:Moved thread from VPT. I couldn't reproduce any problems with rollback or vandalism rollback buttons on ]. @] Do you get any ]s in the browser console? – ] (]) 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. –] <small>(])</small> 19:21, 24 November 2024 (UTC)
::@] @] I've been experiencing the ] for the past few days. Can you assist me please?. ] ] 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). @]. Can you please check for ]s and report back? Can you also let me know what skin you are using, and if you are on mobile or not? –] <small>(])</small> 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. –] <small>(])</small> 21:09, 24 November 2024 (UTC)
::::@] Yes, currently I'm on mobile. But how can I ''add twinkleoptions.js'' Manually.? ] ] 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. –] <small>(])</small> 21:32, 24 November 2024 (UTC)
::::::Your prompt assistance is greatly valued. Thank you for your help and support!. ]
::::::I've created ] and manually installed a script for custom Twinkle options. Fortunately, now I'm able to revert the changes using the ] rollback feature. It's now working correctly. ] ] 21:47, 24 November 2024 (UTC)
:::::::Feel free to try it without a twinkleoptions.js file. Should be fixed. –] <small>(])</small> 21:53, 24 November 2024 (UTC)
::::::::Thanks {{ping|Novem Linguae}}, mine seems to be working OK now. ] (]) 22:11, 24 November 2024 (UTC)
::::::::Yep, Twinkle is working fine for me again as well. All good. ''']''' (] • ]) 05:01, 25 November 2024 (UTC)


== Moving Template:Welcomeunsourced to ] ==
== Error handling question ==
{{Tracked in|https://github.com/wikimedia-gadgets/twinkle/pull/2091}}
Would this be fine if I added a redirect? ] (]) 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. ] (]) 23:10, 1 December 2024 (UTC)
:. ]&nbsp;] 15:47, 2 December 2024 (UTC)


== Template:Db-t5 ==
Some current server problems made me notice: Twinkle doesn't seem to unload/disable itself when "Could not load twinkleoptions.js" occurs; a quick read of the source code confirms as much. Why? Is the list of blacklisted users still checked properly in such a case? (I haven't done anything to verify the latter, so don't think I'm reporting a known security bug - I know this isn't the proper place for that anyway.) --] (]) 19:31, 23 February 2014 (UTC)
{{Tracked in|https://github.com/wikimedia-gadgets/twinkle/issues/2094}}
:There's no Twinkle blacklist anymore. <code>twinkleoptions.js</code> contains your personal Twinkle preferences, so if it fails to load, it will simply mean that Twinkle behaves in the default manner. Usually this situation occurs when you navigate away from a page before it has finished loading, but if it happens in other cases, refreshing the page should fix the problem. — <span style="border:dashed #666;border-width:1px 0 0 1px">]</span> and <span style="border:dashed #666;border-width:0 1px 1px 0">]</span> 01:02, 24 February 2014 (UTC)
Please add the new ]. ] (]) 07:40, 3 December 2024 (UTC)
::Ok, thanks for your prompt attention. I was basically aware of all that already (and the case of my impatiently navigating away from the page had already happened quite a few times). My main point was that I thought it would have been good programming practice for Twinkle to abort entirely when such an error occurs, but I apologize if you consider such a feature request ]. --] (]) 02:08, 24 February 2014 (UTC)


== Blocking users without talk page access places wrong template ==
== Stray content in user-warning edit-summary ==
{{Tracked in|https://github.com/wikimedia-gadgets/twinkle/issues/2106|resolved}}
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.--] (]) 14:56, 4 December 2024 (UTC)
:I see the same issue in testing on ]. ]&nbsp;]] 15:09, 4 December 2024 (UTC)
::I figured this out and wrote a patch. Should be fixed and deployed in the next few days. –] <small>(])</small> 08:48, 6 December 2024 (UTC)
:::Thank you.--] (]) 15:09, 6 December 2024 (UTC)


== Changes to ] ==
I used TW to . The edit-summary says "Warning: Using Misplaced Pages for advertising or promotion on Vidya Academy of Science and Technology]]". Those "hide" and "help with translations" seem like they are indented to be links rather than visible with brackets. Or more likely that they are supposed to be links ''on the page discussing/listing them'' and missing <nowiki><noinclude></nowiki> or similar protection from appearing at all in the actual generated edit-summaries. ] (]) 06:28, 24 February 2014 (UTC)
:Whoa! Those links are the same as those found in the Steward Elections banner shown on WMF sites. I suspect when you copy-pasted the page title from the top of the page, you accidentally selected the links from the banner as well. — <span style="border:dashed #666;border-width:1px 0 0 1px">]</span> and <span style="border:dashed #666;border-width:0 1px 1px 0">]</span> 07:09, 24 February 2014 (UTC)
::*blink*. D'oh:( Carry on then, Better give myself time to let the coffee kick in... ] (]) 14:40, 24 February 2014 (UTC)


I'm planning to make some changes to ] to make it dark mode compatible. The template will still work when substituted, but the results would be sub-optimal (try using dark mode ], 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. —'''](!)''' <sub>ping one</sub><sup>when replying</sup> &#123;''] - ] - ]''&#125; 18:56, 6 December 2024 (UTC)
==Redirect categorization==
Can we add individual redirect categories to redirect tagging, as with maintenance tags? I tried adding one along with the regular maintenance tags but it didn't seem to work. --] (]) 22:17, 25 February 2014 (UTC)
:I'm afraid I would need a bit more context here... What exactly are you referring to? — <span style="border:dashed #666;border-width:1px 0 0 1px">]</span> and <span style="border:dashed #666;border-width:0 1px 1px 0">]</span> 05:26, 26 February 2014 (UTC)
::Rcats, e.g., {{t|R from other capitalisation}}, {{t|R to section}}. Those are supported by TW, but I'm wondering if there's a way to add more. --] (]) 17:12, 26 February 2014 (UTC)
:::Ah, so you'd like to add custom ones? It doesn't seem as though that has been thought of yet. To be honest it might just be better if we add any missing redirect tags to the default list, unless they're extremely obscure - after all, redirect tagging serves a different purpose to article maintenance tagging, so having an incomplete list of redirect tags is rather unhelpful. Which ones in particular would you like to see added? — <span style="border:dashed #666;border-width:1px 0 0 1px">]</span> and <span style="border:dashed #666;border-width:0 1px 1px 0">]</span> 00:28, 27 February 2014 (UTC)
::::I really like {{t|R from phrase}}. I don't do a lot of redirect categorization just for the sake of it—it's usually when I already find myself on a redirect, most often fixing a double one. But I'm gradually trying to populate {{cat|Redirects from phrases}}, so being able to quickly tag the relevant Rcat would be helpful. I'll ping the dean of Rcats, ], for further suggestions. --] (]) 17:10, 27 February 2014 (UTC)
:::::Thank you, BDD – I wish I could be more help, because I am not a Twinkle user. If I ''were'' a Twinkle user I might wonder why some rcats are usable with Twinkle while others aren't. Twinkle is already fairly well represented by the rcats in the functional index at {{tl|R template index}}. Of those 55 most often used rcats, about half are already available to Twinkle users. I also wonder if Twinkle might be useful in conjunction with the {{tl|This is a redirect}} template, which gives text a different (and in my humble opinion, better) appearance on redirects. It also acts as a shortcut, because it can hold up to six rcats – see ]. Thank you, again, and I hope that as the Misplaced Pages project grows, and more editors turn to Twinkle for these tasks, that more rcats will become available for them to use to tag redirects. &ndash;&nbsp;'''''<small>]</small>'''''&nbsp;<sup><font size="1" color="blue">]</font></sup> 00:07, 28 February 2014 (UTC)


:@]: Just checked, doesn't seem to be substed. ]&nbsp;] 01:26, 17 December 2024 (UTC)
== CSD for Files and the CSD Log ==
::Thanks. {{Closing without action}} –] <small>(])</small> 01:55, 17 December 2024 (UTC)
::thanks, I've edited the template —'''](!)''' <sub>ping one</sub><sup>when replying</sup> &#123;''] - ] - ]''&#125; 11:18, 17 December 2024 (UTC)


== propose splitting? ==
Hi. I would like to know if it's possible to change the link for files that were proposed and logged in the CSD log. Currently, after locally (en.wp) saved versions of a file are deleted, the CSD log entry wikilinks to the en.wp pointer page for the file held on Commons -- this makes examining a CSD log harder since those files do not have red links. If it's not possible to change the wikilink, it should be possible to add a link to the file's deletion log using ]. <small>(This is probably easier.)</small> Thanks! - <b>]</b>\<font face="serif"><sup>]</sup></font> 22:29, 25 February 2014 (UTC)
{{Tracked in|https://github.com/wikimedia-gadgets/twinkle/issues/2136}}
:Where would you like the link to point? There isn't a whole lot of choice. (I actually wish image redlinks went to the File: namespace page instead of the Upload Wizard, as that is a pretty useless destination.)
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. ] ] 05:34, 10 December 2024 (UTC)
:I agree a link to the deletion log could be a useful addition to the CSD log in the case of files. — <span style="border:dashed #666;border-width:1px 0 0 1px">]</span> and <span style="border:dashed #666;border-width:0 1px 1px 0">]</span> 05:26, 26 February 2014 (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 {{t|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. ] (]) 13:09, 10 December 2024 (UTC)
::How about pointing to the deleted page history. For the example of ], which was deleted on en.wp but justifiably remains on Commons, a link to the could be added; the history also shows that the file has been deleted. I think this might turn out red if a wikilink is used. In any case, adding the deletion log to all CSD entries would be useful. - <b>]</b>\<font face="serif"><sup>]</sup></font> 20:55, 27 February 2014 (UTC)
:Got any specifics in mind? i.e. "add X template to the tags module"? –] <small>(])</small> 13:53, 10 December 2024 (UTC)
::{{U|This, that and the other}}: do you think there is interest and/or use for having this change implemented? - <b>]</b>\<font face="serif"><sup>]</sup></font> 02:54, 4 March 2014 (UTC)
::If we wanna get fancy, I guess
:::Well, you're interested and I guess I am too :) It's an idea that makes sense, I'm just a bit snowed under right now to do anything substantial to Twinkle. — <span style="border:dashed #666;border-width:1px 0 0 1px">]</span> and <span style="border:dashed #666;border-width:0 1px 1px 0">]</span> 10:31, 4 March 2014 (UTC)
::* {{tl|Split}}
::::]: Any update on this. Is there anything I can do to help get it implemented? - <b>]</b>\<font face="serif"><sup>]</sup></font> 02:02, 14 March 2014 (UTC)
::* {{tl|Split dab}}
::* {{tl|Split section}}
::* {{tl|Split sections}}
::and prompts for some of the options maybe, plus opening the needed talk page discussion? ] ] 22:30, 10 December 2024 (UTC)
:::I don't think Twinkle supports adding tags to sections. But we can add {{t|Split}} and {{t|Split dab}} to the tag module. Ticket created. –] <small>(])</small> 02:02, 17 December 2024 (UTC)


== "TW" link in edit summaries almost but still not quite yet a thing of the past ==
== Twinkle should tag with... ==


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 (]), as well as when adding contentious topics alerts (see ] for example). ] (]) 17:56, 10 December 2024 (UTC)
...{{tlx|Cleanup-bare URLs}} instead of {{tlx|linkrot}}}. <span style="background: turquoise; font-family: 'Segoe Script'">(])&nbsp;]&nbsp;(])</span> 01:10, 26 February 2014 (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 ] which should really be banned from impersonating Twinkle. – ] (]) 19:51, 10 December 2024 (UTC)
:To paraphrase AzaToth, "what is a 'cleanup-bare' URL?" I really can't believe I supported the renaming of this template back when I was younger and less mature, and I'd prefer to stick with the old redirect {{tlf|linkrot}} in Twinkle, simply because the name is so much more transparent and sensible. — <span style="border:dashed #666;border-width:1px 0 0 1px">]</span> and <span style="border:dashed #666;border-width:0 1px 1px 0">]</span> 05:26, 26 February 2014 (UTC)
::{{Closing without action}} –] <small>(])</small> 02:05, 17 December 2024 (UTC)
::On the flip side, a new user might say "these links work, so there's no linkrot", thereby missing the point of the template. "Cleanup-bare URLs" is therefore the one I find to be easier to understand; it clearly says that "this article needs cleanup because it has bare URLs", which is a much better description of the problem. The hyphen probably should be a slash (as would probably be good for the whole <nowiki>{{cleanup-</nowiki> family), but that's a totally different discussion. ] (]) 07:07, 27 February 2014 (UTC)
::Example arb.js diff: . –] <small>(])</small> 02:06, 17 December 2024 (UTC)
:::You're right that "linkrot" isn't the best name. As you can see, there are arguments both ways. I wonder if it wouldn't be better for the template to be simply called "bare URLs"? (or a redirect from that title could be created and then used by Twinkle?) — <span style="border:dashed #666;border-width:1px 0 0 1px">]</span> and <span style="border:dashed #666;border-width:0 1px 1px 0">]</span> 07:11, 27 February 2014 (UTC)
== Nomination for merger of ] ==
::::<s>{{tl|Linkrot}} is already a redirect to {{tl|Cleanup-bare URLs}}.</s>—] (]) 07:15, 27 February 2014 (UTC)
{{Tracked in|https://github.com/wikimedia-gadgets/twinkle/issues/2147}}
:::::There's no doubting that, John. We are discussing which name should be used by Twinkle for this template. — <span style="border:dashed #666;border-width:1px 0 0 1px">]</span> and <span style="border:dashed #666;border-width:0 1px 1px 0">]</span> 00:23, 28 February 2014 (UTC)
]] has been ] with ]. You are invited to comment on the discussion at ] on the Templates for discussion page. Thank you.<!--Template:Tfmnotice--> <span class="vcard"><span class="fn">]</span> (<span class="nickname">Pigsonthewing</span>); ]; ]</span> 14:33, 13 December 2024 (UTC)
::::::My comment is indeed the result of misreading the thread. I've stricken it to emphasis its extraneous nature.—] (]) 00:49, 28 February 2014 (UTC)
{{OD}}If any user runs AWB on that article it will be change to {{tlx|Cleanup-bare URLs}}, that would be double the work. I suggest keeping the name linkrot in the "Tag"-meny, but that Twinkle actually tags with {{tlx|Cleanup-bare URLs}}. <span style="background: turquoise; font-family: 'Segoe Script'">(])&nbsp;]&nbsp;(])</span> 00:40, 28 February 2014 (UTC)
:It's interesting that AWB does that; it's a pity it doesn't do it more consistently. What I really think should happen here is that the tag in question should be renamed to something more sensible. — <span style="border:dashed #666;border-width:1px 0 0 1px">]</span> and <span style="border:dashed #666;border-width:0 1px 1px 0">]</span> 05:56, 28 February 2014 (UTC)
At Page Curation it's listed in the menu of tags as "Bare URLs", while at Twinkle it goes under the name "Link rot", which is confusing for editors who use both. I don't feel strongly about which name we use but I'd like those two systems to be consistent. ]] 08:32, 28 February 2014 (UTC) clarified 13:41, 28 February 2014 (UTC)


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


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.<br>
Not sure if this is a good place to ask, because it's not strictly related to Twinkle, just to the warnings we issue. Bracketbot has been doing a lot of heavy lifting lately with letting people know when the Wiki syntax is broken by their edit. I just wondered what other people are doing as far as vandalism warnings when BB has already been to the user talk page. Should we consider the user already warned, or should we drop another warning at the same level? ] (]) 17:48, 7 March 2014 (UTC)
Steps for reproduction:<br>
:I give them a warning just as if I would if BracketBot didn't post at all. ] (]) 19:49, 7 March 2014 (UTC)
Step 1: Find an edit from recent changes and click on the diff page (can be any edit, doesn't matter)<br>
Step 2: User1 makes a second edit but User2 plans to revert the first edit, unaware of User1's second edit<br>
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.<br>
Step 4: Go to User1's talk page, open up the twinkle warning menu.<br>
By that point, it should pop up. Cheers! ] • ] • ] 01:18, 21 December 2024 (UTC)


:@]. Thanks for the report. I tried these steps to reproduce and got {{tq|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. –] <small>(])</small> 20:10, 27 December 2024 (UTC)
== not completing AFD nominations correctly. ==
::@], 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! ] • ] • ] 20:22, 27 December 2024 (UTC)
:::@]. 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. –] <small>(])</small> 22:12, 27 December 2024 (UTC)
::::@] Done. ] • ] • ] 22:14, 27 December 2024 (UTC)
:::::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? –] <small>(])</small> 22:21, 27 December 2024 (UTC)
::::::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. ] • ] • ] 22:47, 27 December 2024 (UTC)
:::::::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/search/?title=Mainspace&action=history
:::::::Diff: https://test.wikipedia.org/search/?title=Mainspace&diff=prev&oldid=633502
:::::::User talk link it gave me: https://test.wikipedia.org/search/?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? –] <small>(])</small> 22:53, 27 December 2024 (UTC)
::::::::I'll see if it pops up, might take a while though since I don't usually get this message often patrolling RC. ] • ] • ] 23:11, 27 December 2024 (UTC)


== on uw-rfd ==
] - see the bot comment. Using Chrome. ] (]) 21:05, 11 March 2014 (UTC)
{{Tracked in|https://github.com/wikimedia-gadgets/twinkle/issues/2146}}
:The user ], who was at the time, edit-conflicted with you, removing your nomination and overwriting it with his/her new nomination. So it wasn't your fault at all. — <span style="border:dashed #666;border-width:1px 0 0 1px">]</span> and <span style="border:dashed #666;border-width:0 1px 1px 0">]</span> 08:35, 13 March 2014 (UTC)
opinions on adding the uw-rfd (], ], ], ]) templates? '''] <sub>] ]</sub>''' 14:05, 27 December 2024 (UTC)

Latest revision as of 23:11, 27 December 2024

"WT:TW" redirects here. For other uses, see WikiProject Taiwan talk page. Shortcut
This is the talk page for discussing improvements to the Twinkle page.
Tips for writing good bug reports and feature requests:
  • Include the affected article name and a diff.
  • Include a screenshot.
  • For bugs, include the exact steps to reproduce the bug. Bugs need to be reproducible.
We will use this information to create a ticket on GitHub, which is our todo list for volunteer developers. For most tickets, expect them to take a long time (months). They will need to attract the interest of a volunteer developer, then go through code review, then get merged to master, then get deployed.
Twinkle has detailed documentation located at WP:TW/DOC.


Archives
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 Friendly talk archives: 1, 2, 3, 4, 5 Old Bugs page; archive 1, 2, 3, 4, 5 Old RFA page; archive 1, 2


This page has archives. Sections older than 30 days may be automatically archived by Lowercase sigmabot III when more than 10 sections are present.

Problems with WP:Twinkle

Tracked in github.com
Issue #2071
Resolved Moved from Misplaced Pages:Village pump (technical) § Problems with WP:Twinkle – – SD0001 (talk) 16:56, 24 November 2024 (UTC)

When I try to revert edits on any article or Misplaced Pages 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 Misplaced Pages 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)
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. ®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)

Moving Template:Welcomeunsourced to Template:Welcome-unsourced

Tracked in github.com
Issue #2091

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

Tracked in github.com
Issue #2094

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

Blocking users without talk page access places wrong template

Tracked in github.com
Issue #2106
Resolved

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)

Changes to Misplaced Pages:Teahouse/Teahouse talkback

I'm planning to make some changes to Misplaced Pages: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 one {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. no Closing without actionNovem Linguae (talk) 01:55, 17 December 2024 (UTC)
thanks, I've edited the template —Matrix(!) ping one {u - t? - uselessc} 11:18, 17 December 2024 (UTC)

propose splitting?

Tracked in github.com
Issue #2136

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 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
and prompts for some of the options maybe, plus opening the needed talk page discussion? Just Step Sideways 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)

"TW" link in edit summaries almost but still not quite yet a thing of the past

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)
no Closing without actionNovem Linguae (talk) 02:05, 17 December 2024 (UTC)
Example arb.js diff: . –Novem Linguae (talk) 02:06, 17 December 2024 (UTC)

Nomination for merger of Template:Incomprehensible

Tracked in github.com
Issue #2147

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

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)

@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)
@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)
@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)
@Novem Linguae Done. Klinetalkcontribs 22:14, 27 December 2024 (UTC)
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)
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)
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/search/?title=Mainspace&action=history
Diff: https://test.wikipedia.org/search/?title=Mainspace&diff=prev&oldid=633502
User talk link it gave me: https://test.wikipedia.org/search/?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)
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)

on uw-rfd

Tracked in github.com
Issue #2146

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