PhysicsWiki talk:Twinkle

From PhysicsWiki
Jump to: navigation, search

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:

  • An extra "Untag" tab, providing a list of tags in the article, with checkboxes to uncheck in order to remove them.
  • Incorporate one of the many delsort scripts into Twinkle (see Physicswiki:DELSORT)
  • Incorporate FurMe into Twinkle

Bugs and feature requests

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.


Welcome module overhaul


Here is a proposed list of welcome templates to be included in the overhauled module:

Mode Standard welcomes IP user welcomes WikiProject-specific Non-English welcomes
General welcome templates

{{Welcome}} {{Welcomeshort}} {{Welcome-personal}} {{WelcomeMenu}} {{Welcomeh}} {{Welcome-belated}} {{W-graphical}} {{W-screen}}

Problem user templates

{{Welcomelaws}} {{First article}} {{Welcomevandal}} {{Welcomenpov}} {{Welcomespam}} {{Welcomeunsourced}} {{Welcomeauto}} {{Welcome-COI}}

{{Welcome-anon}} {{Welcome-anon-test}} {{Welcome-anon-vandal}} {{Welcome-anon-vandalism-fighter}} {{Welcome-anon-constructive}}

Jayanta suggests a few above. Perhaps it is a good idea to stick with a small selection, as he has done. The category is bursting at the seams.

{{welcomeen-sq}} {{welcomeen-zh}} {{welcomeen-nl}} {{welcomeen-fi}} {{welcomeen-fr}} {{welcomeen-de}} {{welcomeen-he}} {{welcomeen-ja}} {{welcomeen-ko}} {{welcomeen-mr}} {{welcomeen-ml}} {{welcomeen-pt}} {{welcomeen-ru}} {{welcomeen-es}} {{welcomeen-sv}} {{welcomeen-uk}}

What do people think? — This, that, and the other (talk) 09:10, 30 March 2012 (UTC)

If you do add any project specific ones then they probably all need renaming to be more consistent, which would then make your coding easier to do. e.g. {{Welcome-ProjectName}} for a ProjectName specific template -- WOSlinker (talk) 09:25, 30 March 2012 (UTC)
Some more existing ones like {{W-graphic}} and {{Wel-constructive-anon}} are missing. They are in the existing Twinkle Welcome module. I hope adding them here doesn't make you angry.--Ankit MaityTalkContribs 05:09, 1 April 2012 (UTC)
No, not at all... in fact, it makes me happy to see that people are having their say.
However, I really think that {{W-graphic}} is too similar to {{W-graphical}} - the only differences are the colour scheme and some minor changes to links. I would really want to include only one of them. This is one of the great problems that lies in choosing a good basic list of welcome templates - there is so much minor variation between templates, and people will always be disappointed that their favourite template is not in the list. (Of course, you can always use the custom welcome templates feature at Physicswiki:TWPREFS to add the welcome templates that you like.) — This, that, and the other (talk) 07:12, 1 April 2012 (UTC)

Is there any particular reason why {{W-screen}} isn't included? It's my preferred option for welcoming new editors. PamD 09:14, 1 April 2012 (UTC)

Eugh! I hate that bouncy WP logo. Still, I don't think we have anything really similar on the list, so I'll add it to the main list. — This, that, and the other (talk) 00:51, 2 April 2012 (UTC)

As you may have noticed, the new welcome module is now available on all user talk pages. Further suggestions (as well as bug reports) are welcome. — This, that, and the other (talk) 07:08, 5 April 2012 (UTC)

Hello, Can you please add {{Welcomeen-or}}, Odia (or) Non-English welcome template in to MadiaWiki twinkle.js page. Thanks in advance :-) -- ɑηsuмaη ʈ ᶏ ɭ Ϟ 15:14, 10 April 2012 (UTC)
Noted. Should be up soon. — This, that, and the other (talk) 07:30, 13 April 2012 (UTC)
Thank You! very much. -- ɑηsuмaη ʈ ᶏ ɭ Ϟ 09:19, 22 April 2012 (UTC)

Allow option for deleting talk pages in batch deletion

When performing batch deletions, deletiong of any talk pages (under CSD G8) is usually desired. You should have such an option there. עוד מישהו Od Mishehu 09:35, 11 April 2012 (UTC)

Custom tags

Can't add custom tags? I click the button, add the tag, etc, but it doesn't save. --(ƒî)» 17:57, 12 April 2012 (UTC)

Looks like there's one showing up at the bottom of your Twinkle settings. Have you bypassed your cache? jcgoble3 (talk) 18:39, 12 April 2012 (UTC)
When you save your Twinkle preferences it informs you that you must clear your cache entirely, which is necessary in some browsers. — This, that, and the other (talk) 01:16, 13 April 2012 (UTC)


The template {{uw-username}} asks for a parameter specifying the type of username problem, but the Twinkle template does not have a field to include the reason, which causes a failure message when the template transcludes. (Sorry, I don't have a github account) --Elen of the Roads (talk) 14:59, 15 April 2012 (UTC)

Note that this was previously reported (Physicswiki_talk:Twinkle/Archive_29#.7B.7Buw-username.7D.7D) but apparently never fixed. jcgoble3 (talk) 17:51, 15 April 2012 (UTC)
The logic dealing with {{uw-username}} is a bit broken; I'll have to take a look at it when I have more time. However, it worked for me in this diff. — This, that, and the other (talk) 01:21, 16 April 2012 (UTC)
 Works for me. [1] The reason should be entered in the "optional message" field, and although it won't work in the preview, it will be inserted into the proper place in the template when you submit. jcgoble3 (talk) 01:49, 16 April 2012 (UTC)
Fairy snuff. I assumed that the 'optional message' field was for something that was - you know - optional. Could you modify the template to at least say 'reason' rather than 'optional message'? --Elen of the Roads (talk) 02:44, 22 April 2012 (UTC)

Invalid token

CSD A7, getting the error message: Notifying initial contributor (Evan Jones1818): Failed to save edit: Invalid token Faced twice! You can alert me in my talk page when you'll post a reply!--Tito Dutta (Message) 14:56, 17 April 2012 (UTC)

I'm getting it too when I post a welcome message and sending WikiLove. -- Luke (Talk) 14:03, 22 April 2012 (UTC)

"Traverse" module

While doing some testing yesterday, I noticed that the "traverse" module (for admins only) is well-and-truly broken. It was designed to allow admins to traverse through a category of images and choose to delete or skip each image. But it has been broken for a few weeks at least.

My question is, does any admin actually use it? If not, it can be removed; otherwise I suppose it ought to be fixed... sigh... — This, that, and the other (talk) 01:35, 22 April 2012 (UTC)


Would it be possible to add a feature allowing stub-tagging with Twinkle? Or does anybody know of a program that does that? Ryan Vesey Review me! 03:25, 22 April 2012 (UTC)

See Physicswiki_talk:Twinkle/Archive_26#Stubs_.28again.29. Essentially, there's so many stub types that it's just not feasible. jcgoble3 (talk) 04:25, 22 April 2012 (UTC)


Twinkle is not currently displaying - something the matter? Calabe1992 18:46, 23 April 2012 (UTC)

Twinkle not working

Suddenly Twinkle stopped working. Is it related to the rollout of the new MediaWiki software?

I'm running Firefox 13a2 in Windows. — Malik Shabazz Talk/Stalk 18:48, 23 April 2012 (UTC)

  • Twinkle disappeared for me at the same moment I first saw the new diff format. (Mac OSX 10.7.3, Firefox 11.0) -- Boing! said Zebedee (talk) 18:51, 23 April 2012 (UTC)
Same for me as well. -- JJJ (talk) 18:55, 23 April 2012 (UTC)
I was able to do one Twinkle edit after seeing the new diff format, but no more since. (Win XP SP3, Google Chrome v18.0.1025.162 m) --McDoobAU93 18:57, 23 April 2012 (UTC)
No Twinkle here either. Firefox 3.6.24 (yeah, I know!) Canthusus (talk) 19:02, 23 April 2012 (UTC)
It's been reported by another editor at the Village pump. — Malik Shabazz Talk/Stalk 19:04, 23 April 2012 (UTC)
I just threw it in the Physicswiki developer's IRC channel. Someone is taking a look right now. Steven Walling (WMF) • talk 19:04, 23 April 2012 (UTC)
It's fixed now. The problem was that Twinkle was using $ as an alias for jQuery without explicitly aliasing it with a closure. This is something ResourceLoader used to just kind of cover up before, but apparently that was dropped in 1.20wmf1. See also change 5628. --Catrope (talk) 19:11, 23 April 2012 (UTC)
Thank you. — Malik Shabazz Talk/Stalk 19:12, 23 April 2012 (UTC)
It still isn't working for me, I'm using Firefox. Ryan Vesey Review me! 19:15, 23 April 2012 (UTC)
It came back but now it's gone again. — Malik Shabazz Talk/Stalk 19:16, 23 April 2012 (UTC)
Still not seeing "Vandalism" or "Rollback" links.Canthusus (talk) 19:17, 23 April 2012 (UTC)
  • Still not working - no Twinkle menu, no Twinkle "Rollback" links on diffs, etc. Have tried logging out and in again, but that made no difference -- Boing! said Zebedee (talk) 19:29, 23 April 2012 (UTC)
Nothing here either. SÆdontalk 19:29, 23 April 2012 (UTC)
Down for me too, running Firefox 11.0 on Mac OS X 10.5.8. -- Luke (Talk) 19:32, 23 April 2012 (UTC)
Down for me as well, Firefox 11.0 and Chrome 19.0.1084.30 on Windows 7 64 SP1. --Xaliqen (talk) 19:40, 23 April 2012 (UTC)
Some of the old folk still know how to do it by hand. Drmies (talk) 19:43, 23 April 2012 (UTC)
You can do that?!? :) Ryan Vesey Review me! 19:46, 23 April 2012 (UTC)
  • Does anyone know where the new yellow-blue diff appearance is discussed? I barely can see the differences. Besides, I had twinkle activated a few days ago, never showed up, so now I de-selected it again in hope I get the old dif version back.TMCk (talk) 19:47, 23 April 2012 (UTC)
    • I agree about the new blue/yellow scheme making it difficult to detect edit changes. Oh, and Twinkle is not functioning for me.--E8 (talk) 19:57, 23 April 2012 (UTC)
  • Found the right place. New diffs are discussed here.TMCk (talk) 20:36, 23 April 2012 (UTC)

Sorry about the delay and confusion there, everyone. I thought I'd fixed Twinkle, but it turned out I'd broken it while fixing it :S . It's fixed for me now, you should start seeing a working Twinkle again in the next 5 to 10 minutes. --Catrope (talk) 19:59, 23 April 2012 (UTC)

Yep, everything's working, and thank you once again. --Xaliqen (talk) 20:07, 23 April 2012 (UTC)
Thanks! Allens (talk | contribs) 20:10, 23 April 2012 (UTC)
And now it's back for me. Much thanks on the quick work! - The Bushranger One ping only 20:14, 23 April 2012 (UTC)
Very nearly. Shows the links on a diff, but not when looking at a users contributions pageCanthusus (talk) 20:10, 23 April 2012 (UTC)
Ooooh - seems to be starting to work now. Thanks!!! Canthusus (talk) 20:15, 23 April 2012 (UTC)
  • Hey, I got my Twinkle menu and diff links back :-) Thanks -- Boing! said Zebedee (talk) 20:16, 23 April 2012 (UTC)
Its still not fully working for me. For instance cant use the welcome interface.Edinburgh Wanderer 22:38, 23 April 2012 (UTC)
  • Not working for me, either, with Google Chrome 18.0.1025.162 m on Windows 7 Professional. I've got all the buttons, but they do nothing. --Moonriddengirl (talk) 10:19, 24 April 2012 (UTC)
I use safari and modern skin think it might have something to with the skin rather than the browser.Edinburgh Wanderer 19:10, 24 April 2012 (UTC)
I can't reproduce this, the welcome functionality is working for me in Firefox and in Chrome. It's possible that other things (e.g. other Gadgets) are broken and taking down Twinkle with it. I'll make some tweaks that should improve things. --Catrope (talk) 21:04, 24 April 2012 (UTC)
It appears to be the skins as i just switched mine from modern to vector and it works.Edinburgh Wanderer 21:07, 24 April 2012 (UTC)

Still not working for me, using FF 11.0 and Ubuntu. Even after purging the cache I get "Could not parse twinkleoptions.js" and Physicswiki:Twinkle/Preferences tells me that I need to have the thing installed as a gadget or a script (it is already installed as a gadget). - Sitush (talk) 12:38, 25 April 2012 (UTC)

Also not working for me, FF12 and Vector skin. Deleted twinkleoptions.js, disabled Twinkle from gadgets and did a full reload, enabled and full reload - no avail. Edit - switched to Modern skin, full reload etc - still not working. --Sander Säde 18:18, 27 April 2012 (UTC)
You can try completely clearing your cache, as well as checking your JavaScript console for errors. If you find any JavaScript errors, please report back here. — This, that, and the other (talk) 00:43, 28 April 2012 (UTC)
It's still not working here. Here's my error log:
Timestamp: 5/1/12 2:15:06 PM

Error: $(".mw-jump").delegate is not a function
Source File:*

Line: 504
~ neko-chan :3 (talk) 19:21, 1 May 2012 (UTC)

Suggestion: "talk" to user whose text needs a citation

Suggested here. Not sure if it's technically feasable and something the community would want. -- (talk) 22:37, 23 April 2012 (UTC)

Automatic welcoming of vandals

Hi. I was suggested to come here from the #Physicswiki-en-help channel on Freenode, since I asked a question there and was told this would be a good place to post it. I tagged a user's article about 20 minutes ago, as an attack page under G10 - moments later, I go to this guy's talk page and find out that I've welcomed him as well. Now correct me if I seem wrong, but welcoming a vandal to Physicswiki when I'm about to have one of his articles kicked into the next postcode, and him blocked, doesn't seem like the most sensible of ideas :) Is there any way that this feature can be switched off within user settings on the site, or is it permanently built into Twinkle? MarkBurberry32|talk 01:29, 24 April 2012 (UTC)

Check Physicswiki:Twinkle/Preferences. I know that you can deselect G10 for welcoming a user when you tag the page. Ryan Vesey Review me! 01:44, 24 April 2012 (UTC)


When Twinkle is used to tag articles with {{not English}} or {{rough translation}}, it could leave a notification at Physicswiki:Pages needing translation into English automatically. Just a thought. Chris the Paleontologist (talkcontribs) 21:43, 1 May 2012 (UTC)