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 https://github.com/azatoth/twinkle (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)

Stuff[edit]

...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)

Twinkle enhanced move options[edit]

Hello Twinkle devs, anyone up for making some enhanced options for the pagemovers? Perhaps extra move script to automate their round-robin-style page swaps? — xaosflux Talk 00:13, 14 June 2016 (UTC)

For context, the specific scenario, as discussed here, involves swapping the content, history, (and deleted revisions?) of two pages, both of which have substantial history. If a page mover wanted to swap "A" with "B", the way to do it currently is with 3 suppressredirect moves: move "A" to "C", move "B" to "A", and move "C" to "A" with no trail. The editor using Twinkle would need to have the suppressredirect flag (either be a sysop or extendedmover) for the option to be available. Visually, this might appear in the Twinkle menu as "Swap", which brings up a box that allows you to type the name of the other (existing) page. — Andy W. (talk ·ctb) 00:20, 14 June 2016 (UTC)
This would certainly be a nice feature. Preferably, it would also allow for a custom edit summary, as I would primarily use this when closing an RM, and would like to be able to link to the closed discussion in my edit summary, or link to WP:PM/C#4. Omni Flames (talk) 08:28, 14 June 2016 (UTC)
+1 for this request, including the prompt for a custom edit summary. — JFG talk 18:18, 4 July 2016 (UTC)
This is a great idea. It will be a while before I can personally get around to it, but definitely worth our while. I've prevented the bot from archiving this talk thread MusikAnimal talk 18:33, 10 July 2016 (UTC)

Rollback vandal and plain rollback[edit]

When I used to click on Rollback Vandal and just plain Rollbank in the upper right, it would automatically take me to the user's Talk page so I could leave a warning. It no longer does that, and I have to go through extra steps to warn users. I assume this is somehow related to the rollback problems that started last month (?) but am not sure. What do I do?--Bbb23 (talk) 12:23, 16 June 2016 (UTC)

@Bbb23: What browser are you using and what's your "Open user talk page after these types of reversions:" Twinkle preference set to? --NeilN talk to me 12:29, 16 June 2016 (UTC)
@NeilN: The box was unchecked, but why? I didn't change it, and it worked before. Is it a new preference? When the rollback changes occurred, did something happen to user preferences. I tried it at WP:SANDBOX, but it didn't take me to my Talk page. Will it not work with myself? My browser is Chrome at the moment.--Bbb23 (talk) 12:40, 16 June 2016 (UTC)
@Bbb23: When I returned to editing on the weekend there were a couple of preferences I had to set before everything was working as before. Sandbox reverting did not take me to my talk page either but all the reverts I've done since I've come back and set preferences have opened the user talk window. --NeilN talk to me 12:48, 16 June 2016 (UTC)
  • This was resolved. It turned out to be a setting in my browser that I had just started using.--Bbb23 (talk) 12:42, 17 June 2016 (UTC)
    A while back we made the "When opening a user talk page, open it" default to "in a new tab" rather than a new window, since tabs are more preferred these days. This may have had something to do with your issue MusikAnimal talk 18:48, 4 July 2016 (UTC)

Template changes[edit]

I want to add a header and internal signing to {{uw-copyright-new}}, e.g.,

{{<includeonly>subst:</includeonly>#ifeq:{{{header}}}|1|=={{{header-text|Copyright problem in [[:{{{1}}}]]}}}==}}
and
{{ #if: {{{sig|}}} | {{{sig}}}}}

but I see in its documentation it has {{Twinkle standard installation}} so I don't want to add it in a way that would affect Twinkle usage. Will adding these, as proposed above, have any affect?--Fuhghettaboutit (talk) 01:18, 9 July 2016 (UTC)

Hi Fuhghettaboutit. This would be a problem, not just for Twinkle, but quite possibly other utilities that post user warning templates. You'll notice that the entire uw- series of warnings are standardised such that none of them have headers or signatures built into the template. I'm not sure why this particular template should be any exception. — This, that and the other (talk) 14:13, 9 July 2016 (UTC)

Notification G12[edit]

I do a fair amount of copyright issue investigation but I've normally done so after someone else identifies the potential problem. I started looking at the new copy patrol tool. In some cases I had dent if Ihave an article that is a clear copyright violation and I want to delete it. I also want to notify the relevant editor.

I note that if I choose "tag page only, don't delete" I have an option to notify the page creator if possible. But if I don't want to tag the page and I want to delete it I'd still like to notify the creator. I get that the notification is intended to let them know so they can take corrective action and by definition if I deleted it, they won't have the option to contest it.

Is there a way to do delete using twinkle and send a notification?--S Philbrick(Talk) 17:39, 10 July 2016 (UTC)

I've been wanting to add such functionality, but first we need to clean up the post-deletion notification templates. E.g. it doesn't make sense to say "A tag has been placed requesting speedy deletion" when you've already deleted it. Instead I'd like to have it use something like {{nothanks-warn-deletion}}, only that template is terribly written (copyvios are often done in good-faith, needs to be more new-user-friendly), and has a nonsensical title as well, in my opinion. See the "See also" section of the template doc for the other post-deletion templates. They all could use some rewording, and we also need one for each speedy criteria. When this happens, I can add them to Twinkle, and eventually you will be able to delete the page and issue the template directly from the CopyPatrol interface :) I hope to get around to cleaning up the templates soon. Best MusikAnimal talk 18:27, 10 July 2016 (UTC)
Thanks, the good news is that I didn't miss something obvious. I agree we need to be careful in wording - so many people are committing copyvios, but not maliciously, they just seem unaware that it is a problem.--S Philbrick(Talk) 19:23, 10 July 2016 (UTC)

Teahouse welcome?[edit]

I see that Twinkle has a variety of welcome options. I didn't see a specific invitation for the Teahouse. If I missed it, please point it out. If it doesn't exist, I think it would be a good idea. I'm just about to remove substantial contributions by a new user, and I'd like to invite them to the Teahouse. Obviously, I can do that manually, but it has become common enough that I'd like to be able to do it from Twinkle.--S Philbrick(Talk) 14:02, 13 July 2016 (UTC)

@Sphilbrick: You are aware that you can add templates to your Twinkle preferences (You can add other welcome templates, or user subpages that are welcome templates (prefixed with "User:"). Don't forget that these templates are substituted onto user talk pages.) Mlpearc (open channel) 14:13, 13 July 2016 (UTC)
I wasn't, but I guess I am now. I'll still suggest that Welcome to the Teahouse ought to be in the default, but I will look into how to add it for myself.--S Philbrick(Talk) 14:19, 13 July 2016 (UTC)
Welcome. Cheers, Mlpearc (open channel) 14:21, 13 July 2016 (UTC)

Inclusion of vote option[edit]

It would be of great help if the vote option is included. I mean that in AfDs, and other nominations for discussion, it would be of great help to the users if they can vote automatically. This can be done by providing options such as delete, keep, speedy delete, speedy keep, redirect etc.. and it would also be helpful while an idea is proposed to support or to oppose, especially is RfA. This is just an idea, please your views and opinions regarding this to make Twinkle more beneficial for editing. Thank you. KCVelaga ☚╣✉╠☛ 15:27, 13 July 2016 (UTC)

Including mathematics in the deletion rationale[edit]

In Special:Diff/729660618, Twinkle replaced all | with {{subst:!}}. This doesn't work since subst: doesn't work within <math>...</math>. --Stefan2 (talk) 18:40, 13 July 2016 (UTC)

Feature request[edit]

I think I've identified two areas that would benefit massively from having tabs in Twinkle. The first, is semiautomating WP:DYK nominations. The current structure seems like it comes straight out of 2005 (and it probably is), and involves creating subpages and formatting templates before somebody comes to review it. The process is frankly Byzantine, and it would help if we had a Twinkle box to put the page title, proposed hook, the citation, optional image, etc so it could initiate the process for you like we already have with XFD.

The second area is Community sanctions and Arbcom discretionary sanctions. For something as simple as a topic ban, it involves looking up the right template, pasting on their user talk, filling in the parameters and formatting everything right, inserting the code for the appropriate decision, closing the AE discussion with a summary and logging on the appropriate page. This would benefit from a system similar to our Warn function, where it only shows up on Userpages and lets you choose the template from a dropdown and fill in the appropriate blanks.

Please let me know whether this is 1) technically possible and 2) a good idea. Regards, The WordsmithTalk to me 21:51, 13 July 2016 (UTC)

Stub Template[edit]

I noticed that the ability to tag with the stub template seems to have been removed...

Darklight Shadows 20:36, 18 July 2016 (UTC)

It was never present, as far as I know. — This, that and the other (talk) 10:58, 21 July 2016 (UTC)

Adding a custom option[edit]

Hoping someone can help me. I've been using Twinkle for a while and I'm wondering if someone can explain how to add a custom template to twinkle. I'm working on cleaning out Category:Pages using infoboxes with thumbnail images and one of the things I've been doing is leaving a message on the talk pages of people I see adding thumbs to infoboxes. At the moment I am simply copying and pasting the below message and then replacing [[PAGE]] with the name of the page in question. I would really like to be able to just click on a dropdown in Twinkle and have this done. Can anyone help me with this? --Zackmann08 (Talk to me/What I been doing) 16:26, 21 July 2016 (UTC)

==Use of thumbnails in Infoboxes ==
Hello! Thank you for your recent contributions to [[PAGE]]. I did have one note for you. I am working on a maintenance project to clean up [[:Category:Pages using infoboxes with thumbnail images]]. In the future, please do not use thumbnails when adding images to an infobox (see [[WP:INFOBOXIMAGE]]). If you have any questions, let me know! :-)  You can respond on my talk page, or here. If you respond here, please include {{tlc|ping|zackmann08}} in your response so I am notified. --~~~~
One way would be to create your own template. Create a new subpage, let's say User:Zackmann08/NaughtyThumb (no, don't call it that...) Place that message into that page, remove your signature though as Twink autoadds, and save. Also rather than the nowiki-page combo try {{<includeonly>safesubst:</includeonly>#if:{{{1|}}}| to [[:{{{1}}}]]}} which lets you add the article name to the twinkle warning section in the popup. Then open your twinkle preferences, section warn user, subsection custom warning. Add your subpage location, User:Zackmann08/NaughtyThumb, without any curly brackets as you commonly see in templates. Save, refresh, etc., and you should be good to go. Results may vary.. I have only done one for persistent badlist adders (User:Loriendrew/uw-badlist3) hopefully correctly.--☾Loriendrew☽ (ring-ring) 00:42, 22 July 2016 (UTC)
@Loriendrew: worked like a charm! And that is EXACTLY what I am going to call it ;-) --Zackmann08 (Talk to me/What I been doing) 01:29, 22 July 2016 (UTC)

What am I missing?[edit]

I wanted to tag Draft:1/2 Sibling as a A10 of Sibling#Half-sibling, but it isn't an option. Is that because it is a draft?--S Philbrick(Talk) 13:00, 22 July 2016 (UTC)

Yes. As only show on mainspace pages.Jo-Jo Eumerus (talk, contributions) 13:03, 22 July 2016 (UTC)
What's the rationale? It is extremely common for someone to create a draft page about a subject, not realizing that the subject is already covered in Wikipedia. I'm sure I've seen such pages nominated for deletion — are they all done manually?--S Philbrick(Talk) 14:33, 22 July 2016 (UTC)
I suggest you raise this at WT:CSD. Twinkle simply does its best to follow the policy. — This, that and the other (talk) 06:29, 23 July 2016 (UTC)