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:
  • Update TODO list
  • 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

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)

Problem selecting warnings on an iPhone[edit]

When selecting a warning on an iPhone, some of the choices are truncated. Warning levels one through four, as well as only warning, work fine: all of the warning choices, including the explanatory notes, no matter how long, are displayed in their entirety. But for single issue notices, single issue warnings, and custom warnings, only the first part is shown, with the majority of it unscrollably truncated. After a warning is selected and you move on to another field, the whole thing is shown, and can be read by scrolling. The truncation is especially inconvenient for custom warnings, which display the full path, so when you're trying to select one, all you see is the path and not the specific warning (unless the path to your custom warnings is very short; in my case, they're in a user's space, and the path is about twenty characters). You have to either remember what order they're in, or select one at random, see which one you ended up with after you select it, and if you guessed incorrectly, try again. Even though it's a less severe problem for the single issue notices/warnings, it's still not a desirable situation – the explanatory notes are there for a reason, and it's helpful for a user to be able to see them when selecting a warning. MANdARAX  XAЯAbИAM 07:44, 5 November 2014 (UTC)

Twinkle is certainly not designed to be used on mobile devices; indeed, MediaWiki isn't really designed to be used on such devices in "desktop view". It would be nice to fix this, but I don't have an iPhone to be able to test and determine the cause of this issue – Amalthea, do you have one? — This, that and the other (talk) 07:23, 6 November 2014 (UTC)
I'm wondering if it may not be necessary to have the device to be able to fix the problem. It seems that the first five sets of warnings must be handled differently than the last three, and if those last three can be changed to do things the same way as the others, everything would be fine. (Of course, things are usually more complicated than one thinks, so there may be something else going on.) MANdARAX  XAЯAbИAM 07:56, 6 November 2014 (UTC)
The level x warning dropdowns use option groups (bold headings under which sets of options are groups), while the single issue and custom dropdowns don't use option groups. It's bizarre that you are seeing problems on the ones without option groups, as I would think that option groups are more problematic for mobile devices. But apparently not!
I suppose we could add a compatibility hack for iOS. What is the string you see when you visit — This, that and the other (talk) 09:10, 8 November 2014 (UTC)
I tried three iOS devices. The problem exists for iPhones 4 and 5, but everything works fine on an iPad. The requested strings are ...
iPhone 4: Mozilla/5.0 (iPhone; CPU iPhone OS 7_1_2 like Mac OS X) AppleWebKit/537.51.2 (KHTML, like Gecko) Version/7.0 Mobile/11D257 Safari/9537.53
iPhone 5: Mozilla/5.0 (iPhone; CPU iPhone OS 8_1 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12B411 Safari/600.1.4
Thanks for looking into this. MANdARAX  XAЯAbИAM 01:45, 9 November 2014 (UTC)
Don't have one either, sorry. Amalthea 10:56, 11 November 2014 (UTC)

Courtesy notification[edit]

See Template talk:Primary sources#WP:ABOUTSELF/WP:BLPSELFPUB caveat. OK to go ahead with that as an edit request to the template? --Francis Schonken (talk) 08:56, 6 November 2014 (UTC)

Thanks for the note. No change required from our end! — This, that and the other (talk) 10:09, 7 November 2014 (UTC)

Help me[edit]

I am stuck up with my Twinkle. Its just showing up the options, but I am not getting the task windows. Can you please see my documentations and check them and mend them if needed. Its not as a gadget for me (unchecked in preferences). Twinkle preferences shows- Before modifying your preferences here, make sure you have removed any old TwinkleConfig and FriendlyConfig settings from your user JavaScript file...Please help me..--The Herald 06:37, 8 November 2014 (UTC)

@The Herald: Is your browser configured to block all pop-up windows? You'll have to allow as an exception if you want to use Twinkle. -- John of Reading (talk) 06:41, 8 November 2014 (UTC)
@John of Reading:..Thanks...I have set it as an exception. But still it is not showing up warn and wel popups neither the twinkle preferences panel..The Herald 07:34, 8 November 2014 (UTC)
@The Herald: I'm stuck then! But it would probably help if you posted your browser name and version number here, so the real experts can work on the problem. -- John of Reading (talk) 07:47, 8 November 2014 (UTC)
Its Chrome. (38.0.2125.111 m)--The Herald 07:52, 8 November 2014 (UTC)
@The Herald: You've enabled global Twinkle globally so it's enabled here as well. Global Twinkle is not meant for use at English Wikipedia. You need to specifically disable global Twinkle at enwiki. To fix this:
  1. First, to disable global Twinkle at enwiki, go to m:User:The Herald/global.js and add if ( mw.config.get( 'wgDBname' ) !== 'enwiki' ) { to the top of the page and close it by adding } to the bottom of the page.
  2. Go to Special:Preferences#mw-prefsection-gadgets and tick the checkbox next to Twinkle to enable English Wikipedia's Twinkle.
Regards, --Glaisher (talk) 07:54, 8 November 2014 (UTC)

@Glaisher: and @John of Reading:..Thanks...Done it..!!The Herald 08:13, 8 November 2014 (UTC)

Twinkle issues[edit]

Hello! I am currently having difficulty using Twinkle on my Mac running OS X Yosemite. When I click on the "TW" dropdown, I am able to see the proper buttons; however, when I click on any of them, a number sign is appended to the URL in my browser's address bar. In addition, the expected window (CSD, for example) doesn't pop up. Does anyone know what may be causing this and/or know how I may remedy it? Thank you! MJ94 (talk) 03:34, 9 November 2014 (UTC)

Could you please follow the steps 4, 5 and 6 of WP:JSERROR and report your findings? In particular, I'm interested to know what browser you're using, and whether you see any JavaScript errors. — This, that and the other (talk) 09:39, 9 November 2014 (UTC)
@This, that and the other: I am using Google Chrome (38.0.2125.111). After bypassing Chrome's cache and attempting to use individual Twinkle tools while in the Javascript console, I receive the following errors when clicking CSD, XfD, and RPP, respectively: "Uncaught TypeError: Cannot read property 'initDialog' of undefined", "Uncaught TypeError: Cannot read property 'callback' of undefined", and "Uncaught TypeError: Cannot set property 'protectionLevel' of undefined". These are all collapsable errors, so let me know if you want me to give you more information on any of them. While using Firefox (33.0.3) I received the errors "TypeError: Twinkle.speedy is undefined", "TypeError: Twinkle.xfd is undefined", and "TypeError: Twinkle.protect is undefined" while trying to use CSD, XFD, and RPP, respectively. I hope that helps! MJ94 (talk) 16:05, 9 November 2014 (UTC)
Mysterious. I notice you have a number of user scripts installed in both your User:MJ94/vector.js and User:MJ94/common.js files. While I can't see anything obvious there that would cause a conflict with Twinkle in there, you should try blanking those pages, clearing Chrome's cache (WP:BYPASS#CLEAR) and testing Twinkle on some other pages.
You could also switch the the "Console" tab of the F12 tools and type the word "Twinkle" and press Enter. See what comes up. If it's "undefined" or some similar message, then it seems that your Twinkle object is somehow being overwritten. — This, that and the other (talk) 11:16, 12 November 2014 (UTC)
@MJ94:..Me too had the same problem, now solved by the above procedure.--The Herald 11:39, 12 November 2014 (UTC)
Ah yes, that is what the problem is. Thanks for putting MJ94 on the right track! I really need to engage with PiRSquared and give him some guidance on how to fix Global Twinkle. It's currently a bit of a mess, from a coding perspective. — This, that and the other (talk) 01:05, 13 November 2014 (UTC)

Minor Error[edit]

Sometimes when using deli-batch, one of the files in the list will give a Deleting image: Failed to delete the page: An unknown error occurred in storage backend "local-swift-eqiad" and does not delete, if I run deli-batch again it gets deleted. Ronhjones  (Talk) 22:57, 10 November 2014 (UTC)

This is a MediaWiki issue; see bugzilla:69760 and bugzilla:73094. There's not much we can do about it from our end; it seems that when this error occurs, the server needs a few moments to get itself in order before the deletion can succeed. Automatically retrying the deletion might be counterproductive, for this reason.
By the way, I've noticed you're a relatively heavy user of Twinkle's batch deletion tools. If you have any requests or feedback, please don't hesitate to ask here. — This, that and the other (talk) 01:10, 13 November 2014 (UTC)

TW from mobile[edit]

Hello,i can't use Twinkle from my Smartphone,right now I am editing from my smartphone but i putting the laptop version instead the mobile version,and twinkle seems not work on Android ice cream sandwich. How i can use Twinkle from the smartphone? thanks! Carliitaeliza TALK 18:29, 17 November 2014 (UTC)

UAA Shared use[edit]

We need a Shared use option on the UAA Advance Reporting and Vetting dialog box. Mlpearc (open channel) 18:44, 17 November 2014 (UTC)

An "Other" radio box selection would help. Mlpearc (open channel) 22:32, 23 November 2014 (UTC)
This is one I've wanted for a long time. Often a username will simply represent an organization rather than an individual. I select the "promotional" option as the closest choice even though I don't consider the user's edits to be promotional. MANdARAX  XAЯAbИAM 23:17, 23 November 2014 (UTC)
@Mlpearc: These are checkboxes not radio buttons; you don't have to tick any of them. You can leave them all unchecked and write your reasoning in the text box. -- John of Reading (talk) 06:59, 24 November 2014 (UTC)
It would be fine if that were true. Unfortunately, it's not. At least one selection is required. MANdARAX  XAЯAbИAM 09:21, 24 November 2014 (UTC)
Hmm, looks like poor old UAA could do with a bit of an update. Would you all agree if I made it possible to submit to UAA with no checkboxes selected, so long as a comment is entered? And if I added a fifth checkbox "Username implies shared use", "Shared-use username", or some such? — This, that and the other (talk) 09:30, 24 November 2014 (UTC)
That would work for me, none of the "required" options are rarely true when shared use or implied is the main reason for the posting. Mlpearc (open channel) 19:02, 24 November 2014 (UTC)
Yes, that would be great. Thanks! MANdARAX  XAЯAbИAM 22:51, 24 November 2014 (UTC)

Merger of two welcome templates proposed[edit]

FYI, I have suggested at Wikipedia:Templates for discussion/Log/2014 November 21#Template:Welcome-anon-border that {{Welcome-anon-border}} and {{Welcome-anon}} be merged. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 18:22, 21 November 2014 (UTC)

Edit summary mistake[edit]

When warning with the blocking selection {{uw-ipevadeblock}} Block-evasion block - IP address it says "...Your IP address have been blocked from editing because it has been used to evade a previous block...." but it should be "...Your IP address has been..."

Best, Anna Frodesiak (talk) 06:56, 23 November 2014 (UTC)

Noted, thanks. A change is on its way. — This, that and the other (talk) 09:25, 24 November 2014 (UTC)

Request for change when reporting Socks[edit]

A admin that frequently investigates sockpuppets asked me not to use the notify reported users feature because it may cause problems. If that's actually the desire of all admins, we should consider removing the checkbox from that panel. Is that possible? Walter Görlitz (talk) 04:42, 28 November 2014 (UTC)