Wikipedia talk:Twinkle

From Wikipedia, the free encyclopedia
  (Redirected from Wikipedia talk:TW)
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)

uw-agf-sock edit summary[edit]

Minor bug, but giving a user an agf-sock warning through Twinkle produces an edit summary of Warning: Using multiple accounts on Username, linking to the username as if it were the name of an article (eg. 1). --McGeddon (talk) 09:27, 15 November 2016 (UTC)

When I give that warning with Twinkle, there's no username box, just a linked article box, so I'd expect that whatever you put there gets linked like an article. Are you seeing something different? Jackmcbarn (talk) 21:24, 19 November 2016 (UTC)

Rfd tagging; new option requested[edit]

A recent edit to {{rfd}} added a |showontransclusion= parameter to {{rfd}} which, if set, causes pages transclusding the redirect to show a notice. Twinkle should also provide this option when it is used to list redirects at rfd. Pppery 03:34, 17 November 2016 (UTC)

@Pppery: Can you tell me more? Why is this parameter not on by default – why is it something that must be turned on explicitly? — This, that and the other (talk) 12:09, 19 November 2016 (UTC)
@This, that and the other: I originally suggested that this feature be opt-out rather than opt in, but Jackmcbarn converted it to opt-in, saying I didn't even know that template [{{rfd-t}}, which this feature was added as part of a merge with], existed prior to today. Since its use seems to be very rare, I've made some adjustments to the code so that no changes are required in the common case when it's not used. Pppery 14:29, 19 November 2016 (UTC)
My reasoning for this is twofold: 1) this change was the result of a TfM, and the template that used to do this was almost never used, and nothing in the TfM said it should be made default, and 2) it's not important if a template redirect is getting deleted to pages that merely transclude it, since these must all be repointed before the deletion can go through anyway, with no real effect on the pages themselves. I'm open to changing this back if there are reasons to do so, but I don't know of any right now. Jackmcbarn (talk) 21:23, 19 November 2016 (UTC)

Create option to remove "." at end of posts[edit]

Can there be an option that makes it so that twinkle doesn't add a "." automatically at the end of twinkle scripts like ARV, or CSD? Iazyges Consermonor Opus meum 03:36, 17 November 2016 (UTC)

Twinkle never loads on Pokemon articles[edit]

List of Pokémon: Sun & Moon episodes is one of many articles it just doesn't seem to load on.—cyberpowerChat:Offline 00:12, 18 November 2016 (UTC)

[Error] Failed to set referrer policy: The value 'origin-when-cross-origin' is not one of 'no-referrer', 'origin', 'no-referrer-when-downgrade', or 'unsafe-url'. Defaulting to 'no-referrer'. (Cyberpower678, line 19)
[Error] Failed to set referrer policy: The value 'origin-when-cross-origin' is not one of 'no-referrer', 'origin', 'no-referrer-when-downgrade', or 'unsafe-url'. Defaulting to 'no-referrer'. (Wikipedia_talk:Twinkle, line 19)
[Error] Failed to load resource: the server responded with a status of 500 (HTTP/2.0 500) (queryTasks, line 0)
[Error] Failed to set referrer policy: The value 'origin-when-cross-origin' is not one of 'no-referrer', 'origin', 'no-referrer-when-downgrade', or 'unsafe-url'. Defaulting to 'no-referrer'. (index.php, line 21)
[Error] Failed to set referrer policy: The value 'origin-when-cross-origin' is not one of 'no-referrer', 'origin', 'no-referrer-when-downgrade', or 'unsafe-url'. Defaulting to 'no-referrer'. (List_of_Pokémon:_Sun_&_Moon_episodes, line 19)

Here's the console log.—cyberpowerChat:Offline 00:14, 18 November 2016 (UTC)

Which browser, version and operating system? — This, that and the other (talk) 12:07, 19 November 2016 (UTC)
Safari Version 10.0.2 (12602.3.3) and macOS Sierra Version 10.12.2 Beta (16C32f).—cyberpowerChat:Offline 01:52, 22 November 2016 (UTC)
On the other hand, it loads successfully for me with Windows 8.1 and Google Chrome version 54.0.2840.99 m --Gronk Oz (talk) 02:51, 22 November 2016 (UTC)
It doesn't load on any of my browsers/OSs. It's clearly an issue with Twinkle.—cyberpowerChat:Online 16:17, 22 November 2016 (UTC)
It loads for me using Safari on ios 10.1.1. Weird. Beeblebrox (talk) 20:16, 22 November 2016 (UTC)
Well clearly something's happening. It's getting a little annoying not having access to the brown "Restore the revision" button on the top of those revisions, after a boat load of speculation, sneaky vandalism, crystal balling.—cyberpowerChat:Offline 02:15, 23 November 2016 (UTC)
For what it's worth, all I get is an empty dropdown underneath the old diff version section.—cyberpowerChat:Offline 02:16, 23 November 2016 (UTC)
Twinkle working as it should
Twinkle not working as it should. Notice the missing Twinkle menu that's supposed to show between the Page dropdown and the search bar.
@Cyberpower678: I notice you have a few other features enabled, like Revision Slider and article assessments. Try turning those off to see if Twinkle works correctly. If you manage to identify the problematic tool or feature, please post here and I will look into the problem. — This, that and the other (talk) 07:53, 26 November 2016 (UTC)

"Generic" option for ECP[edit]

I don't see "Generic" option, like PC and semi-protection have, for ECP. What gives? --George Ho (talk) 05:45, 29 November 2016 (UTC)

Deletion of Template:Uw-thumb4[edit]

Heads up that {{Uw-thumb4}} was deleted after a discussion at TfD. I don't believe it's in Twinkle by default, but there was a notice in the documentation requesting a courtesy post here if it's nominated for deletion/deleted, so here you go. Doubt this affects much of anyone. ~ Rob13Talk 04:54, 30 November 2016 (UTC)

Rollback vs Undo[edit]

This is meant for the Twinkle/doc

The documentation seems to take what "rollback" means for granted, neither explaining nor linking to* the concept.

Without Twinkle you can undo edits. With Twinkle you gain the ability to rollback.

What is "rollback" and in what ways is it different from "undo". *) The only link provided, WP:ROLLBACK, specifically says "not to be confused with Twinkle rollback".

(Please don't explain this here to me; please update the document to provide the answer for everyone) Thx CapnZapp (talk) 15:22, 30 November 2016 (UTC)

Yes check.svg Done [1] I hope this change makes it clearer, but if not you can always carry out rollback: Noyster (talk), 10:24, 1 December 2016 (UTC)

Expand reasons for revert?[edit]

Is it possible to add additional talk page templates for reverts? The most obvious being "non-notable list entry." It would also be useful to include a "blank" template so we can just write in our reasoning. Justin15w (talk) 20:03, 30 November 2016 (UTC)

Agree {{uw-badlistentry}} is a frequently wanted one, although I usually follow up by changing "entity" to "person", "company" or whatever. As for the blank template, even though it would only save a couple of clicks relative to going direct to their talk page, if it encourages a few more personal messages it may be worthwhile as well: Noyster (talk), 10:42, 1 December 2016 (UTC)

ARV log[edit]

Can a log for ARV be made, it would be like CSD log, whenever you tag someone with it it pops up in log? Iazyges Consermonor Opus meum 02:38, 1 December 2016 (UTC)

Changes to Template:Welcome non-latin[edit]

Hi Twinkle users. I've made a change to the Template:Welcome non-latin template, fixing broken links, removing one orphaned language (Khmer), and adding ISO 639-1 language codes to each entry to avoid ambiguity with languages that use the same or similar script. This shouldn't break anything, but since I'm unaware of how Twinkle works, I thought I'd let you know just in case. If you find something wrong, please let me know, or WP:FIXIT yourself if you are able! Thanks! AlexEng(TALK) 03:55, 2 December 2016 (UTC)