Wikipedia talk:Twinkle

From Wikipedia, the free encyclopedia
  (Redirected from Wikipedia talk:TW)
Jump to: navigation, search
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.
  • In the article-maintenance-tagging dialog, rename {{Cleanup-reorganize}} to {{Cleanup reorganize}}, as that is the template's proper name.
  • In the article-maintenance-tagging dialog, in the description of {{Copy edit}}, replace the construct "and/or" with simply "or" per MOS:ANDOR.

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)

TfD: garbled templates[edit]

When a template is nominated for WP:TFD using Twinkle, then its content will get horribly mangled if the template begins with a wikitable. See for example this template before and after the tfd nomination. This happens because Twinkle places the tfd notice without a trailing newline (which is a good behaviour in most cases), while the wikitable needs to start on a clean new line in order to render properly.

The solution is to have Twinkle check what characters the template begins with, and insert a newline after the tfd notice if (and only if) this string of characters is the opening code of a wikitable {|, or any other code that expects to be on a newline (the only other case I'm aware of is section headings with a string of these: ==). – Uanfala 13:49, 9 July 2017 (UTC)

Bumping up to prevent premature automatic archiving. – Uanfala 09:09, 30 July 2017 (UTC)

Template:Copyvio-revdel[edit]

This has been discussed before at Wikipedia_talk:Twinkle/Archive_39#Copyvio_revdel_request where Chrissymad brought it up, but can we please add the copyvio-revdel template to Twinkle? It is probably the most cumbersome maintenance templates to apply by hand, and having a Twinkle version of it would be very helpful. TonyBallioni (talk) 01:45, 3 August 2017 (UTC)

Aaa-men! I use this template quite a bit (at times), and sometimes it is muliple different revisions that needs to be deleted (more than the 5 'ranges' the template can hold), so it would save a lot of time to be able to use a tool such as TW to speed up tagging! (tJosve05a (c) 19:17, 3 August 2017 (UTC)

CSD log[edit]

I recently speedied an article with Twinkle for the first time, but did not have the "Keep a log in userspace of all CSD nominations" box checked. I have now checked it in my preferences but I still don't see a CSD log. (I have tried bypassing the cache). Will it only appear for the next page I tag? Is there any way to get that first one in the log retroactively?--Pawnkingthree (talk) 14:16, 4 August 2017 (UTC)

I think that's correct. My edit history shows that I enabled logging 01:17, 5 March 2014‎, and the log file was not created until my next Speedy nom, at 19:59, 5 March 2014‎.
When you do your next speedy, you should see it at User:Pawnkingthree/CSD_log. An edit to it will also show up in your list of contributions. If you want to retroactively add a log entry, I would probably wait until your next speedy created the log, then edit it using the first-added existing entry as a template. TJRC (talk) 21:31, 4 August 2017 (UTC)
OK I'll do that. Thanks. Pawnkingthree (talk) 22:02, 5 August 2017 (UTC)

Twinkle doesn't autocreate AFD sub page when using it.[edit]

When I used Twinkle to nominate a page for AFD, it didn't create a sub page at the AFD forum and I had to do the process manually. It did warn the user though. --Tyw7  (☎ Contact me! • Contributions) 22:08, 7 August 2017 (UTC)

Tyw7, sounds like a hiccup in the system. If it keeps happening, though, it might indicate an actual bug. Primefac (talk) 15:14, 10 August 2017 (UTC)

F4 deletions[edit]

Attempting a deletion under WP:CSD#F4 fails and the following message comes up "Building deletion summary: Unable to generate summary from deletion template

Asking for reason: you didn't give one. I don't know... what with admins and their apathetic antics... I give up..." Fair enough but as Twinkle isn't presenting any dialogue box to complete, it's a problem. Nthep (talk) 13:29, 9 August 2017 (UTC)

Does this occur with all the delayed deletion templates? Twinkle looks for a span with id "delete-reason", which is generated by {{db-meta}} but not {{deletable file}}. – Train2104 (t • c) 02:15, 10 August 2017 (UTC)
I've had the same happen with F6 (no FUR) deletions, F5 & F7 I'd have to check. Nthep (talk) 11:44, 10 August 2017 (UTC)
Just checked, no problem with F5. Nthep (talk) 12:13, 10 August 2017 (UTC)
I think I've fixed this, by passing an additional parameter into {{deletable file}} and then displaying it in delete-reason. – Train2104 (t • c) 00:25, 11 August 2017 (UTC)
Seems to work, many thanks. Nthep (talk) 16:05, 11 August 2017 (UTC)

Error message during XfD[edit]

I recently nominated Pedology (disambiguation) for deletion through TW. The dialog gave me two error messages:

  • Creating article deletion discussion page: Failed to save edit: Invalid CSRF token.
  • Notifying initial contributor: Failed to save edit: Invalid CSRF token.

--Theodore Kloba (talk) 21:43, 10 August 2017 (UTC)

Talk pages for IPV6 anons[edit]

When on RCP, I usually generate a "welcome, and don't do that" page for anons with an IPv4 address, even if I rarely get evidence that they have subsequently looked at it. But I've been wondering if it is worth the effort at all for IPv6 addresses. Several times I've observed that what is clearly the same editor will insert the same dubious content from different addresses. Now, I know next to nothing about IP address assignment, but from the IPv6 article I think I understand that the addresses get changed frequently for privacy reasons. I don't know if used IPs get reassigned to someone else at all frequently; that would definitely argue against a talk page.

Trawling recent changes by anons, it seems that almost all IPv6 addresses see activity for only an hour, sometimes a day. I found two exceptions: a short-form address and a full one. Most IPv4 addresses are drive-by edits, but a larger percentage of them hang around for longer. So, do we usually create talk pages for anons, and if so is it still worth the effort (I know, it's only twofive clicks) for IPv6 anons? David Brooks (talk) 18:21, 11 August 2017 (UTC)

Personally I wouldn't bother welcoming IPv6. The user will likely not see it since they will likely be quickly assigned a new IP in the /64. You may be interested in phab:T112325. — JJMC89(T·C) 18:56, 11 August 2017 (UTC)
Ah, I see. Privacy enabled by default on Windows probably explains the small number of persisting addresses. David Brooks (talk) 19:29, 11 August 2017 (UTC)

Use on other wikis[edit]

This section is poorly written. It must be clarified more. Module:Diff exists but there are no modules named "fluff" and "unlink". Can someone please explain to me what it would take to get this Twinkle extension on a different wiki? ◂ ‎épine talk 08:13, 12 August 2017 (UTC)

Épine, it's not a module as in the "module space", it literally means a specific part of the tool (kind of like how the ISS keeps adding new modules). That's why they're all in quotes, because it's their nickname. As for implementing Twinkle on another wiki, I cannot help. Primefac (talk) 13:37, 12 August 2017 (UTC)

Children's personal info[edit]

The emerging consensus of this discussion at Wikipedia talk:Criteria for speedy deletion is that kids' personal information needs to be oversighted. I'm sure I'm not the only editor who has viewed this material in terms of deletion (U5, A7, G11, G10) in the past. Could we have another option on Twinkle's CSD menu to handle this properly by initiating an oversight request, Special:EmailUser/Oversight, pre-populated along the lines of "Child's personal info at articlename"? Thanks, Cabayi (talk) 10:46, 16 August 2017 (UTC)

Please, please, please! Legacypac (talk) 12:43, 16 August 2017 (UTC)

+1. Lowering the action threshold for this is a big win in terms of ensuring that issues like this get dealt with not by shining a huge spotlight on it (as there are several known cases of nominating for CSD immediately triggering bots to scrape the data and store it on one of numerous SpeedyDeletion wikis) but to make it easier to privately request oversight is a big win. Hasteur (talk) 12:59, 16 August 2017 (UTC)