Wikipedia talk:Twinkle

Active discussions


Whenever I try any of the revert options, it comes up with the following message: Error:Aborted by user. ― Qwerfjkl | 𝕋𝔸𝕃𝕂  (please use {{reply to|Qwerfjkl}} on reply) 20:16, 18 May 2021 (UTC)

Please give more context. Also what device/browser are you using? Does this occur on one page or all of them? There have been no changes to twinkle in over 3 months, so if it's the latter that would be surprising. – SD0001 (talk) 03:53, 19 May 2021 (UTC)
Nevermind, I've released its because of the dialouge box that appears whenever I try to revert (i.e. Enter comment here:). ― Qwerfjkl | 𝕋𝔸𝕃𝕂  (please use {{reply to|Qwerfjkl}} on reply) 16:21, 19 May 2021 (UTC)
@SD0001: Please.could you fix this problem by not using a dialog box to enter the comment for reverting. ― Qwerfjkl | 𝕋𝔸𝕃𝕂  (please use {{reply to|Qwerfjkl}} on reply) 17:19, 23 May 2021 (UTC)
How else would you enter the comment for reverting? Besides you haven't really described what the problem is. – SD0001 (talk) 17:26, 23 May 2021 (UTC)
@SD0001: For technical reasons, I cannot view alert dialogue boxes, and they are automatically closed. ― Qwerfjkl | 𝕋𝔸𝕃𝕂  (please use {{reply to|Qwerfjkl}} on reply) 20:15, 24 May 2021 (UTC)
Well, there's a active PR by TheTVExpert that replaces the prompt with simple window. – SD0001 (talk) 17:55, 26 May 2021 (UTC)
You can configure for which kinds of rollback the dialog box should be shown in your Twinkle preferences. ~~~~
User:1234qwer1234qwer4 (talk)
20:32, 23 May 2021 (UTC)

Warning template filter no longer gets focusedEdit

Until a little while ago, the filter textbox for warning templates got automatically focused when I clicked the dropdown ("{{uw-vandalism1}}: Vandalism"). It no longer does, and I want the old behavior back. Is this a bug or an intentional change? Nardog (talk) 09:15, 19 May 2021 (UTC)

@Nardog: you mean that the optional message textarea should get focused on selecting a warning template from the dropdown menu? I don't think that ever used to happen. – SD0001 (talk) 13:08, 22 May 2021 (UTC)
@SD0001: No, the single-line textbox that shows up when you open the dropdown list and filters the list as you type. IIRC it got focused as soon as it appeared. Nardog (talk) 05:28, 23 May 2021 (UTC)
@1234qwer1234qwer4: You thanked me for this thread—can you attest to what I'm saying? Nardog (talk) 05:31, 23 May 2021 (UTC)
I get it now. This appears to a regression, yes. I checked out some old versions of twinkle dating back as far as 6 months. But they have the same issue. So I'm guessing some change in MW or browsers may be responsible. – SD0001 (talk) 05:36, 23 May 2021 (UTC)
@SD0001: I think I know what's not working. It's this line. Try running $('.select2-container').prev().data('select2').dropdown.$search.focus() while the filter box is visible. It doesn't work. But $('.select2-container').prev().data('select2').dropdown.$search[0].focus() does. For some reason, the jQuery .focus() doesn't work (neither does .trigger('focus')), but the vanilla DOM .focus() does. This sounds like a problem with jQuery upstream, but calling the DOM method directly would be a handy quick fix. Nardog (talk) 07:15, 24 May 2021 (UTC)
@Nardog I see that this works. Can you open a PR? Thanks! – SD0001 (talk) 15:05, 24 May 2021 (UTC)
@SD0001: Done, ICYMI. Nardog (talk) 11:19, 26 May 2021 (UTC)
It seems the reason behind this has already been found, but I can attest this, yes. ~~~~
User:1234qwer1234qwer4 (talk)
08:16, 23 May 2021 (UTC)
Thanks! Glad I'm not alone. Well, no, actually, we don't know what the reason is yet. Nardog (talk) 07:15, 24 May 2021 (UTC)

Nomination for deletion of Template:Uw-thumb2Edit

 Template:Uw-thumb2 has been nominated for deletion. You are invited to comment on the discussion at the entry on the Templates for discussion page. Schierbecker (talk) 02:04, 27 May 2021 (UTC)

Typo foundEdit

Hi, I found a typo in the gadget. When you use the belated welcome template through Twinkle, between "[...]your contributions" and "Though you seem[...]", there is no period. Could you please fix that? Thanks, Zaitalk 18:54, 1 June 2021 (UTC)

It's not a typo in the gadget itself, but rather in Template:Welcome-belated, which has some scary template syntax which someone seasoned may want to fix. (The typo can be seen on User_talk:Tobiasi0.) – SD0001 (talk) 14:34, 2 June 2021 (UTC)
Ah, ok. Thanks. Zaitalk 18:57, 2 June 2021 (UTC)
Sorry - I tested my edit without substing and the bug only appears if you subst. The issue is that {{safesubst:<noinclude/>#parserfunction:{{templatecall}}}}, when substed, interprets {{templatecall}} as a literal string not as a template transclusion. Not sure why, although it probably relates to the order that different steps of the parser happen in. Previously the code had also been buggy but in the opposite direction, so that a full stop always appeared even when it was supposed to be suppressed. I have now fixed it properly with some more scary syntax. Thanks both. User:GKFXtalk 20:58, 2 June 2021 (UTC)


I think it would be reasonable to mention TwinkleGlobal in the "Use on other wikis" section. I boldly added it, but was reverted by Cassiopeia. Is there a reason I am missing not to mention it? Elli (talk | contribs) 01:05, 2 June 2021 (UTC)

Seems reasonable. I don't think we need a consensus for adding edits like that. – SD0001 (talk) 14:41, 2 June 2021 (UTC)
This is the first time I've come across it, and it's intriguing. Is there a reason that we need a fork for Twinkle to function globally? I'd think it would be better just for global functionality to come standard. I'm wary of forks because they inevitably go out of date unless they have a mechanism to automatically sync with their source, I'm not sure if this does. Courtesy pinging Xiplus who might be able to speak to this. {{u|Sdkb}}talk 19:51, 3 June 2021 (UTC)
It doesn't always keep to update with twinkle-enwiki. However, if you report a bug or feature request. I will reply it ASAP. Xiplus (talk) 01:55, 4 June 2021 (UTC)
Hey @Cassiopeia, is it really in the spirit of Not a Bureaucracy to demand seven days of discussion before someone posts a link to a related project? Oiyarbepsy (talk) 23:54, 4 June 2021 (UTC)
I've reverted the user. They haven't even participated in this discussion yet, and we've had no objections. BilCat (talk) 00:32, 5 June 2021 (UTC)
@Oiyarbepsy and BilCat: Then dont we the editors should have the spirit and why in the hurry not let other editors to commands, if any? I dont see different it this is delayed for a few more days. Cassiopeia(talk) 02:23, 5 June 2021 (UTC)
Because no one else has a problem with adding it now. BilCat (talk) 02:53, 5 June 2021 (UTC)

Feature requestEdit

When I use Twinkle to revert vandalism using the "Vandalism" button, it does not include "Vandalism" in the revert edit summary, as seen here. Would it be possible to automatically include "Vandalism" in the edit summary? I believe this would be very useful. Thanks. BilCat (talk) 18:27, 3 June 2021 (UTC)

BilCat, it actually used to work this way, and the devs decided that it was not conducive to civility to accuse editors of vandalism this way. It will suffice to leave an appropriate warning on the user talk page to this effect. Elizium23 (talk) 02:29, 5 June 2021 (UTC)
How does that make any sense? I'm going to warn the user for vandalism anyway, so I am already accusing them of vandalism. The way it is now, no one can tell why the user was reverted. How is that better? BilCat (talk) 02:41, 5 June 2021 (UTC)
BilCat, please see Wikipedia talk:Twinkle/Archive 32#Please remove the "vandalism" summary. for the discussion that led up to this. Elizium23 (talk) 02:47, 5 June 2021 (UTC)
Thanks, but I'm going to try RedWarn, as its developers aren't afraid of telling the truth in edit summaries. BilCat (talk) 02:51, 5 June 2021 (UTC)
All bot/script operators need to follow consensus. No sense in attributing that to fear. HighInBC Need help? Just ask. 02:55, 5 June 2021 (UTC)
How am I not following consensus? I made no changes to Twinkle, I simply made a request. BilCat (talk) 03:04, 5 June 2021 (UTC)
(edit conflict) Oh, the user who "complained" has been blocked for 8 years now, just 3 months after making the complaint. This is hilarious. LOL. BilCat (talk) 03:01, 5 June 2021 (UTC)

I ask the developers to either (a) reconsider their prior decision to leave what amounts to a blank edit summary (result being, as BilCat says above, "no one can tell why the user was reverted") - perhaps making the text be "see reverted user's talk page for reason" - or (b) rename the button from "Vandalism" to "revert without explanatory edit summary." Butwhatdoiknow (talk) 22:55, 21 June 2021 (UTC)

I would suggest an edit summary like "unconstructive" or something, which matches the warning of our initial vandal templates. Oiyarbepsy (talk) 00:32, 22 June 2021 (UTC)

Non-english welcomes do not substEdit

hi, apparently twinkle's non-english welcomes (with the exception of the basic one) do not subst, and thus also doesn't automatically insert the signature as well. could this be fixed? thanks,  | melecie | t 01:02, 4 June 2021 (UTC)

MelecieDiancie, I'm guessing the issue may have to do with WT:Welcoming committee/Welcome templates#Consolidation of foreign welcomes. Pinging Mathglot. {{u|Sdkb}}talk 02:14, 4 June 2021 (UTC)
@MelecieDiancie:, Thank you for alerting us to this problem. I'm pretty ignorant about Twinkle, but Sdkb is undoubtedly correct that it has to do with a recent change I made to consolidate the templates.
The change involved the creation of a new template, {{welcome-foreign}}, and the replacement of all the old templates, such as, say, {{welcomeen-es}}, with a redirect to the new one. Without knowing any details, there could be a two-pronged approach:
  • Include {{welcome-foreign}} in Twinkle, and use that. Ultimately, this should be the permanent solution. Not sure if I need to do anything to facilitate that, or if it's all up to some Twinkle-install gnome, or what.
  • Fix the Redirects, or something in the template code so that the redirects work when substed, for any Twinkle users who prefer to continue using them.
Just looking at the latter, I have a pretty good idea what the problem is (missing subst protection before the invocation of {{welcome-foreign}} from the redirect), but I need a test case. Can you tell me what template you used, e.g., {{welcomeen-fr}} or whatever), and I'll fix that one, and ask you to try again (you can send it to my Talk page if you want; in fact, that's a good idea). I've already made one simple change to the Spanish one ({{welcomeen-es}}), so if that one works for you from Twinkle now, then I can fix all of the other ones in short order.
Oh, one other question: you said parenthetically, "with the exception of the basic one"; what did you mean by that? Mathglot (talk) 03:31, 4 June 2021 (UTC)
Okay, I think found your edit: it was this one at User talk:, which you then fixed up on the next edit, right? By chance, Spanish is the one template redirect that I fixed as a trial; if you try that same one on my page or your sandbox from Twinkle, I think it will work. Lmk. Mathglot (talk) 04:28, 4 June 2021 (UTC)
After some testing in my sandbox, I did a test at User talk:Sandbox for user warnings; you can find it in rev. 1026772464‎. Not sure if that's the same thing you were trying to do, but you can try it again there, and if you tell me it's good, then I'll fix the other ones the same way. Mathglot (talk) 05:14, 4 June 2021 (UTC)
Eager to help on this, but waiting for feedback. Can any other Twinkle user respond? If the current status is, "{{welcomeen-es}} working, all others (e.g., {{welcomeen-fr}}, {{welcomeen-nl}}, etc.) broken", then I know what to do. Assuming User:Sdkb is following. Mathglot (talk) 18:24, 4 June 2021 (UTC)
Adding safesubst to the wrappers is exactly what I'd assume needs to be done to fix this. I don't think you need to wait for further feedback here, just boldly add it. {{u|Sdkb}}talk 18:38, 4 June 2021 (UTC)
Thanks; will do. Mathglot (talk) 22:17, 4 June 2021 (UTC)
  Done Mathglot (talk) 22:26, 4 June 2021 (UTC)

Edit conflict when listing many files at FfDEdit

Special:Diff/1026979918 when adding File:SalemKeizerVolcanoesCapLogo.PNG to Wikipedia:Files for discussion/2021 June 5. Presumably it has something to do with my rapid-fire FfD nominations. This could probably be prevented by using section=new? — Alexis Jazz (talk or ping me) 10:40, 5 June 2021 (UTC)

Support for template:splitEdit

Hi. Thanks a lot for such a great tool. May I add a wish to the list? Support for template:split, please. Thanks! fgnievinski (talk) 23:53, 7 June 2021 (UTC)

This appears related to Wikipedia:User_scripts/Requests#split_section_helper. – SD0001 (talk) 09:22, 16 June 2021 (UTC)

Nomination for deletion of Template:Uw-accessdate2Edit

 Template:Uw-accessdate2 has been nominated for deletion. You are invited to comment on the discussion at the entry on the Templates for discussion page. Schierbecker (talk) 07:17, 8 June 2021 (UTC)

Nomination for deletion of Template:Uw-paid4Edit

 Template:Uw-paid4 has been nominated for deletion. You are invited to comment on the discussion at the entry on the Templates for discussion page. Schierbecker (talk) 08:34, 8 June 2021 (UTC)


Currently there are no types of warning that can be given specifically for edit-warring, would this perhaps be a feature we could get? Vif12vf/Tiberius (talk) 18:17, 13 June 2021 (UTC)

Vif12vf, we are a little confused here: what do you consider as {{uw-ew}} {{uw-3rr}} and {{uw-ewsoft}}? Elizium23 (talk) 18:21, 13 June 2021 (UTC)
The problem is that the three warnings above do not appear in the list of warnings that twinkle may insert for you, otherwise I would have used them long ago. Vif12vf/Tiberius (talk) 18:24, 13 June 2021 (UTC)
Each one of these is classified as "Single-issue warnings" which is a category that you can select in the Twinkle warning menu. If you do not know which category to choose, you may use "All warning templates" option and the convenient search box to find your appropriate warnings.
This does take a little getting used to, until you are accustomed to which warnings are found where, but we think the categories are a good thing to keep us organized and the lists to a tidy size. Elizium23 (talk) 18:26, 13 June 2021 (UTC)

Welcome signaturesEdit

Would it be possible to individually enable/disable custom welcome template signatures? ― Qwerfjkl | 𝕋𝔸𝕃𝕂  (please use {{reply to|Qwerfjkl}} on reply) 21:11, 13 June 2021 (UTC)

Qwerfjkl It could definitely be done in the welcome templates themself if we want the standard signature to be used for all welcome messages (or add a parameter to switch between standard and regular signature). Should also be possible to make changes to twinkle but I think that would be more difficult and wouldn't affect welcomes not done through twinkle. --Trialpears (talk) 21:21, 13 June 2021 (UTC)
I suggest both, as I only welcome users through Twinkle, as this limits the welcome templates I can use (without subsequently removing the duplicate signature), but many users just use templates without Twinkle. ― Qwerfjkl | 𝕋𝔸𝕃𝕂  (please use {{reply to|Qwerfjkl}} on reply) 21:26, 13 June 2021 (UTC)
Qwerfjkl After some rethinking I have created {{subst:Default signature}} (shortcut {{subst:Dsig}}) which generates the default signature upon substitution. Pings work like normal and the wikitext generated is identical to doing it normally. The only problem is that if you don't substitute it you can get major problems with the next user to edit the page signature being displayed instead. If there's enough interest in using the template on a large scale that could be fixed by me making a bot that deals with unsubsituted uses. For twinkle it would now be simple to replace the normal signature with this. Trialpears (talk) 22:40, 13 June 2021 (UTC) This message was signed using {{subst:dsig}}
(talk page stalker) @Trialpears: I believe AnomieBOT already handles automatic substitution through the {{always substitute}} template through Category:Wikipedia templates to be automatically substituted. Alternatively, {{Require substitution}} seems to create an error in the template unless it's substituted, which I think might be a bit more useful for this template's purposes. OhKayeSierra (talk) 23:04, 13 June 2021 (UTC)
OhKayeSierra If AnomieBOT substituted it you would get AnomieBOTs signature which isn't what we want. {{Require substitution}} sounds better though. After some more testing it seems like pings only work properly if you already use the default signature, I will see if something can be done to trick echo, but otherwise it probably won't be possible to get pings working with twinkle either. Perhaps not necessary for the current application of welcome messages though. Trialpears (talk) 23:17, 13 June 2021 (UTC)
If I remember correctly, AnomieBOT substitution is actually smart enough to handle this case. Pppery (talk) 17:41, 14 June 2021 (UTC)
Yep, it is * Pppery * it has begun... 18:00, 14 June 2021 (UTC)
Anomie I think it was a while since I told you how great your bots are! This is amazing!!
I highly doubt it's possible to get pings working normally since there appears to be a check for the custom signature to be present in the edit. Clever things like generating a signature but then not including it is also not working. It is however possible to put the custom signature inside {{void}} so it doesn't display but still generates pings. I'm not sure what's preferable, polluting wikitext or having non-functional pings. --Trialpears (talk) 19:07, 14 June 2021 (UTC)
@OhKayeSierra @Pppery @Trialpears Could someone implement the individual signature enabling/disabling? ― Qwerfjkl | 𝕋𝔸𝕃𝕂  (please use {{reply to|Qwerfjkl}} on reply) 18:23, 19 June 2021 (UTC)

[resolved] Bug with uncontroversial requested movesEdit

I've tried to use Twinkle to file uncontroversial requested moves (select "XfD" in the Twinkle menu, choose "RM", and check the "Uncontroversial technical request" box) a couple of times recently, but each time I get the error Adding entry at WP:RM/TR: failed to find target spot for the entry. The browser console has an error with the same message and the stack trace update @ VM197:466. Rublov (talk) 15:32, 16 June 2021 (UTC)

Rublov I added back an html comment and then it worked for me. I think this is fixed now. --Trialpears (talk) 15:41, 16 June 2021 (UTC)
Trialpears, it appears so. Thanks! Rublov (talk) 15:46, 16 June 2021 (UTC)

Proposed change to Template:R from domain nameEdit

Hi, I'm posting a message here because there there is a proposed change to the template, including changing its recommended usage. The template has a banner telling me to notify this talk page. (I don't know much about Twinkle or its development, so if this message was unnecessary, just remove it.) ―Jochem van Hees (talk) 16:27, 16 June 2021 (UTC)

Missing rcat templatesEdit

Hi. There seem to be several important rcat templates missing from the pop-up tagging window. I just noticed that {{R from non-neutral name}} wasn't there. Is there a way to add it? I normally use the search bar to find the one I want, so clutter isn't a problem. Thanks. --Sangdeboeuf (talk) 22:47, 18 June 2021 (UTC)

Nomination for deletion of Template:Book-prodEdit

 Template:Book-prod has been nominated for deletion. You are invited to comment on the discussion at the entry on the Templates for discussion page. --Trialpears (talk) 19:32, 19 June 2021 (UTC)

No edit summary explanation for revert?Edit

I'm new to Twinkle and just tried my first vandalism revert. I am disappointed that the edit summary does not include an explanation for the revert. Please consider having the program drop [[wp:RVV|rv/v]] (rv/v) into edit summaries for vandalism reverts. Butwhatdoiknow (talk) 17:46, 21 June 2021 (UTC)

Butwhatdoiknow, please see #Feature request? Elizium23 (talk) 21:42, 21 June 2021 (UTC)
Thanks. Butwhatdoiknow (talk) 22:48, 21 June 2021 (UTC)

Protection template broke template displayEdit

I've just protected this template using TW. In this edit it added the {{pp-dispute}} icon, and that broke the display of the page. It seems to require a line break after the closing /noinclude to display properly. I've no idea where to go to fix that, but I'm sure someone here will know. Thanks, Justlettersandnumbers (talk) 10:27, 22 June 2021 (UTC)

In general for templates, a newline should not be added as that breaks the formatting. This template, however, begins with table syntax which only works when on a newline – so for this template a newline should be there. Twinkle can only do so much to guess whether to add a newline or not. I guess it's easy enough to realise the mistake and fix it manually for edge cases like these. – SD0001 (talk) 11:15, 24 June 2021 (UTC)

Infinite Block Template to IP Address UserEdit

I placed indefinite block template on User talk: How can he be blocked because he is still editing even with the template on. — Preceding unsigned comment added by (talk) 10:46, 24 June 2021 (UTC)

The template only displays a message about a block. The actual block is a separate function of the MediaWiki software, and can only be put in place by administrators. -- John of Reading (talk) 10:57, 24 June 2021 (UTC)
Return to the project page "Twinkle".