Wikipedia talk:Twinkle

From Wikipedia, the free encyclopedia
Jump to: navigation, search
"WT:TW" redirects here. For other uses, see Wikipedia talk:Transwiki log, or the WikiProject Taiwan talk page.

This page is for general discussion and questions related to Twinkle. It is also one possible venue for reporting bugs and requesting new features; although see Bugs and feature requests below.

Consider also checking Twinkle's documentation, which may answer your question.

e·h·w·Stock post message.svg To-do:
  • Ability to remove maintenance tags from articles using the "tag" module
  • Incorporate one of the many delsort scripts into Twinkle (see WP:DELSORT).
  • Incorporate FurMe into Twinkle.
  • When tagging {{Expert needed}}, add a field for the |reason= or |talk= parameter, as it's compulsory to populate at least one of the two.
  • Rename {{Cleanup-reorganize}} to {{Cleanup reorganize}}, as that is the template's proper name.

Bugs and feature requests[edit]

Bugs and feature requests can be reported at (you will need to have a GitHub 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.

Go to user talk when reverting pending changes[edit]

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. Jackmcbarn (talk) 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. — This, that and the other (talk) 02:17, 1 February 2014 (UTC)
@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. — This, that and the other (talk) 06:14, 15 February 2014 (UTC)
A link from the confirmation page, I mean. Jackmcbarn (talk) 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 :) — This, that and the other (talk) 02:52, 16 February 2014 (UTC)
Talk page link on pending changes revert screen.png Jackmcbarn (talk) 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. — This, that and the other (talk) 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. Jackmcbarn (talk) 13:27, 18 February 2014 (UTC)
@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. — This, that and the other (talk) 07:26, 3 March 2014 (UTC)
Threadcromancy, but I would suggest using popups to direct you quickly to their user talk page. You'll have to copy the page name manually, but it's nonetheless faster than clicking and clicking repeatedly. --k6ka (talk | contribs) 22:09, 28 April 2014 (UTC)

I don't want to see the vandal's talk page, but I would like this bot to automatically create a talk page for the vandal, if necessary, and post a notice on the vandal's talk page that they did something offensive. In my recent use of this bot, no notice was posted on the vandal's talk page; apparently because there was no existing talk page for the vandal. - Ac44ck (talk) 19:11, 3 May 2014 (UTC)


...for lack of a better heading.

  • The preferences panel at Wikipedia:Twinkle/Preferences nowhere states that twinkle preferences are actually stored on a wiki page, and are hence public (unlike the mediawiki preferences). A js-savvy user could easily understand what they mean (and even a not-so-savvy user could copy-paste someone else's preferences and then go to the twinkle preferences panel). Also, the page doesn't mention that the prefs will be released under the default wikipedia license. (Not sure if there's a copyright/privacy violation in there anywhere, but you might want to look into this.)
  • Someone might want to take a look at this commit I did downstream back in 2012. It includes a function to softcode namespace names in regex creation for the unlink tool in morebits.js. Devs may want to properly implement that upstream. The benefit would be that the regex would work on any wikipedia without problem.
  • There's a script at hi:User:Siddhartha Ghai/twinkle.js which loads for me a personal version of twinkle from various user subpages. The only difference from the gadget version is that the header and footer have been kept separate. Devs might want to consider separating them again since using this script, changes in one module can be tested easily with the other live modules (i.e copy one module to your userspace, make some changes, use hi:User:Siddhartha Ghai/twinkle.js to load the default gadget, only replacing the changed module with the userspace subpage instead of the mediawiki page) and you can test the changes live!
  • Over the past 1.5 months I've done a lot of updates to the gadget at hi.wp (stuff dating from May 2012 to October 2013). I'm just giving a heads up since I may have to take a long wikibreak and if the gadget breaks there, someone might complain here. Anything that was implemented after mid-October hasn't been implemented there (including the mediawiki js deprecations removal)
  • Oh, and it seems that Jimbo uses Twinkle too, in case any of the devs ever want to do an April Fool's prank for users in the founder group ;) --Siddhartha Ghai (talk) 16:14, 27 April 2014 (UTC)
Wow, even Jimbo Wales uses Twinkle? Man, this is just reason enough to get all autoconfirmed users in good standing to get Twinkle, even if they're not planning on using it often. It's just an awesome tool. --k6ka (talk | contribs) 21:51, 28 April 2014 (UTC)
I'm considering adding a line to the top of the preferences panel saying "Note that your preferences will be released publicly as JavaScript code in a subpage of your user page." Thoughts? Eman235/talk 06:01, 1 September 2014 (UTC)
If you really want to do it, perhaps something less technical would be better: "Note that your preferences are stored in (a subpage of your user page). Only you (and Wikipedia administrators) can modify your preferences, but the settings you choose are visible to everyone." — This, that and the other (talk) 12:10, 1 September 2014 (UTC)
And now the {{-}} is boggling me. If this note is going to be put in I don't think I can do it. Face-confused.svg Eman235/talk 00:38, 3 September 2014 (UTC)
*slaps self* never mind, figured it out. I made a slight change to the wording mention that it is JavaScript, not blatant text -- dunno what you think of that -- but yes, item one in this list is amended, kind of. Eman235/talk 00:48, 3 September 2014 (UTC)

Custom tags for non-article namespace[edit]

Is there a way to make custom tags (such as I use on User:Jo-Jo Eumerus/twinkleoptions.js) appear in the Twinkle menu even in non-Main namespaces? Such as File.Jo-Jo Eumerus (talk, contributions) 16:16, 4 April 2016 (UTC)

  • Pinging @MusikAnimal: so that this doesn't get lost.Jo-Jo Eumerus (talk, contributions) 14:54, 12 April 2016 (UTC)
    Sorry, I'll look into this when I can, got a backlog of other work to take care of first. I've instructed the bot not to archive this thread. Best MusikAnimal talk 15:36, 12 April 2016 (UTC)

Cut the Template:welcomeen-zh into Template:welcomeen-zh-hant and Template:welcomeen-zh-hans[edit]

I just add the simplified Chinese version, but it should be in different templates. 333-blue

Add protection request[edit]

I want to add an protection request in pages. How I can add them? GXXF TC 11:57, 1 October 2016 (UTC)

@GXXF: If I've understood you correctly, that's the "RPP" entry on the Twinkle menu. -- John of Reading (talk) 06:10, 6 October 2016 (UTC)
@John of Reading: How I can enter to the Twinkle menu? GXXF TC 18:13, 6 October 2016 (UTC)
@GXXF: If you've enabled Twinkle, then the Twinkle menu should be at the top right of every page - see Wikipedia:Twinkle for that. The other way to ask for a page to be protected is to go to Wikipedia:Requests for page protection and follow the instructions there. -- John of Reading (talk) 18:21, 6 October 2016 (UTC)

Templare tag addition request[edit]

Could you please add the templates {{BLP IMDb refimprove}} and {{BLP IMDb-only refimprove}} to the tag menu, under Verifiability and sources ? It would save me a lot of typing.--Auric talk 12:32, 1 October 2016 (UTC)

@Auric: In WP:TW/PREF, under "Tag" you can enter any "custom article maintenance tags". Best MusikAnimal talk 03:50, 6 October 2016 (UTC)

Unlink abuse[edit]

Just wanted to point out a massive vandalism run which I believe used Twinkle's unlink function. This was done by now blocked User:I2padams. I know there has been some discussion about limiting it to admins, so now that it exists maybe there can be some discussion about perhaps limiting it to extendedconfirmed users.--☾Loriendrew☽ (ring-ring) 21:53, 2 October 2016 (UTC)

@This, that and the other: Could we reconsider this? Restricting to extended confirmed users sounds reasonable to me MusikAnimal talk 03:45, 6 October 2016 (UTC)
I suppose I could reluctantly agree to that. On the one hand, I am largely opposed to using extendedconfirmed for anything beyond the bare essentials. However, unlink isn't exactly a commonly-needed tool (I don't think I have ever needed to use it outside Twinkle development), and its use is mainly confined to administrative and semi-administrative work, so I can see why this might be a good thing to stop disruption by unfamiliar or bad-faith users. — This, that and the other (talk) 09:43, 6 October 2016 (UTC)

CSD for user subpage redirect[edit]

I needed to make these two edits [1] and [2] manually because I was not provided with the user CSD in Twinkle's CSD form. I was instead provided with only the general and the redirect CSD. Is that desirable behavior? --Izno (talk) 16:32, 4 October 2016 (UTC)

@Izno: Twinkle's CSD dialog box dislpays G7: Author requests deletion, or author blanked on this page for me. Mlpearc (open channel) 16:53, 4 October 2016 (UTC)
Right, but G7 isn't the criterion I want, it's U1, since I'm not technically the author in these cases. --Izno (talk) 17:38, 4 October 2016 (UTC)
Fixed in 61c2f4a3344c1aacd9f7a4cda650dfc21b8b1e0d. I wonder if MusikAnimal could sync it? — This, that and the other (talk) 02:43, 6 October 2016 (UTC)
Synced. Cheers MusikAnimal talk 03:40, 6 October 2016 (UTC)

Twinkle posts Welcome messages above the "Talk header" template.[edit]

Please see this instance where Twinkle incorrectly placed a Welcome message at the very top of a user talk page, even above the {{Talk header}}. The Talk header should not be pushed down like that. I don't know if this was a once-off glitch or a consistent bug. Roger (Dodger67) (talk) 15:42, 13 October 2016 (UTC)

There is an option in the Twinkle controls to place the welcome message above other content. It has always put it up top for me when checked.--☾Loriendrew☽ (ring-ring) 02:38, 15 October 2016 (UTC)

Problematic username[edit]

I just added a uw-login warning to User talk:Ileana321$$ (that's 2 $). On the talk page refresh after adding the notice TW attempted to load User talk:Ileana321$ (just 1 $). The notice added successfully, it's just the refresh that's wrong. Cabayi (talk) 14:18, 19 October 2016 (UTC)

And the same when adding uw-speedy2. Cabayi (talk) 14:20, 19 October 2016 (UTC)

Feature request in block module[edit]

Currently, if an editor has been blocked before (but is not blocked anymore), Twinkle will issue a remark that states that the editor has been blocked before, and the blocking admin is then redirected to the blocklog. Can that message be adapted in such a way that it states the date of issue, the length, and the block-reason for the last block on said account - referring admins to the blocklog for more info? (if the previous block was for A, and I intend to block again for reason A, I will just increase the previous block length, which is a common practice I believe - directly seeing the last block would speed up that process). --Dirk Beetstra T C 10:22, 20 October 2016 (UTC)

Feature Request[edit]

On the admin side of things, one complicated multi-step process is the imposition of bans and sanctions, both AE and Community. It involves closing the request, looking up the specific template for the occasion with the exact parameters you need (a tricky thing to memorize, and general purpose ones don't satisfy the requirements of WP:ACDS), leaving the right one on their user talk, notifying all the parties, and logging at the appropriate location. Once it is all set up, the edits have to be saved in a specific order (God help you if there are edit conflicts) and diff links copied and pasted into subsequent edits in the sequence. It can take up to half an hour to prepare all the paperwork, so to speak, even after an admin has determined the consensus. I believe something like this would greatly benefit from semi-automation, much like we have AFD closing. The WordsmithTalk to me 17:17, 19 October 2016 (UTC)

Request alert when you hit a filter[edit]

I recently was trying to use Twinkle to revert back to a revision on Charles Kelman to remove some copyright violations and I kept hitting a filter. The revision would have reintroduced {{persondata}} which is blocked by Special:AbuseFilter/783. After multiple attempts to get Twinkle to work (and not knowing why it was failing) I did it manually and finally saw the filter alert. During the attempted Twinkle revision there was no warning, no notice, nothing to indicate why the revision was failing. In fact, the normal green text kept coming up giving the implication that the revision worked. Perhaps there could be a notice that shows up when these revisions fail due to a filter so people at least know why their revisions failed. Thanks! --Majora (talk) 21:54, 22 October 2016 (UTC)


Why is "Evidently a vandalism-only account" greyed out but not other things like spambot account? Could it please be made that you can use that option, and also please change account to account/IP. --TerraCodes (talk to me) 04:04, 23 October 2016 (UTC)

@TerraCodes: (1) Where are you seeing this greyed-out option? Selecting the "arv" tab and then the Vandalism option, I see a tick box with these words and not greyed out. (2) We don't have a notion of a "vandalism-only IP", as an IP may be used by different people and is blockable only on a very recent sequence of vandal edits and after due warnings: Noyster (talk), 08:56, 23 October 2016 (UTC)