Wikipedia talk:Twinkle

From Wikipedia, the free encyclopedia
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)

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)
  • +1 but not limited to child personal data. Twinkle should offer an "email oversight" tab that contains common reasons for oversight or allows entering a custom reason. Regards SoWhy 12:30, 17 August 2017 (UTC)
  • Support offering Twinkle-users a clear and simple way to report stuff which needs to be oversighted. If Oversighters find they are getting sent too many reports for non-oversight-worthy content, then the documentation at Twinkle can be fine-tuned to clarify what does and doesn't need to be reported. PamD 13:07, 17 August 2017 (UTC)
  • There should be language to specify content needs to be removed before oversight is contacted. I'll save everyone my rant about how much content that should be rev del'd or oversight gets through NPP, but the goal should be to hide the content from the general public as quickly as possible, which requires the editor remove it before waiting what can be hours before an oversighter responds. TonyBallioni (talk) 13:28, 17 August 2017 (UTC)
Just blank the personal details on sight, that should remove them from view and hide them from most of the general public and scrappers, who don't know enough to look in the page history, up until the Oversighter fully blocks them. Diego (talk) 14:04, 17 August 2017 (UTC)
Yes. I know: I'm saying Twinkle should make that clear. A lot of people don't know that, though, so education is key here. TonyBallioni (talk) 14:21, 17 August 2017 (UTC)
  • Support, streamlining the processing of content that needs to be removed for BLP reasons is a good thing. Diego (talk) 14:04, 17 August 2017 (UTC)
  • Support per above, but the Oversight team should be made aware of this discussion as this will probably lead to a significant increase in requests and associated decrease in response time, perhaps to unacceptable levels. We may need more oversighters. – Train2104 (t • c) 14:18, 17 August 2017 (UTC)
  • Support. This seems like a very valuable use of the developers' time, for the reasons above. Matt's talk 19:05, 17 August 2017 (UTC)
  • Support - Including Primefac's RevDel option below. - FlightTime (open channel) 01:42, 18 August 2017 (UTC)
  • Support Good idea. Chris Troutman (talk) 03:36, 18 August 2017 (UTC)

Revdel?[edit]

Can we add in revdel support as well? I completely understand the importance of a subtle oversight, but revdel is just as important and Twinkle could make such a task much easier. I hate to piggyback on a somewhat-separate topic, but it's been propose three times now with zero comments from others. Primefac (talk) 01:29, 18 August 2017 (UTC)

  • Yes. Yes. 1000x Yes. For all the reasons I noted above. TonyBallioni (talk) 03:02, 18 August 2017 (UTC)
  • Support Chris Troutman (talk) 03:36, 18 August 2017 (UTC)
  • Strong support for both - the average editor doesn't need to concern himself with the differences between oversight and revdel. I've been at this near 6 years and I'm not sure which is appropriate when, mainly because I don't need to be. Editing school articles primarily as I do, I come across "Tammy Foo is a slut" or "Bill Foo has a huge cock" almost daily. Making a revdel request easier would be a blessing. John from Idegon (talk) 15:36, 18 August 2017 (UTC)
  • Support both - I've had to mosey over to IRC I believe four times in the past two days over these types of things. TimothyJosephWood 10:46, 25 August 2017 (UTC)
  • Support both - I've had to google "copyvio revdel template" far too many times now. Gone shall be those days. 100% support from my side. Jiten Dhandha • talk • contributions • 11:21, 5 September 2017 (UTC)
    • @Timothyjosephwood and Jiten Dhandha: it's not perfect, but until the above gets implemented I've written up User:Primefac/revdel.js. Just add importScript('User:Primefac/revdel.js'); // Linkback: [[User:Primefac/revdel.js]] to your common/vector/etc. Should help with that pesky "what's the code" issue. Let me know if there are any major issues, or other ways I could improve it further. Primefac (talk) 16:21, 8 September 2017 (UTC)
There is absolutely no way I'm going to figure out how to do that without accidentally deleting my entire account. TimothyJosephWood 16:37, 8 September 2017 (UTC)
@Timothyjosephwood: Click this link: Special:Mypage/common.js > (Create the page if not already existent) > Edit page > Copy code exactly the way Primefac mentioned in the comment above > Hit "Save changes" and voila! :P Jiten Dhandha • talk • contributions • 16:51, 8 September 2017 (UTC)
Jiten Dhandha, TJW doesn't have a common.js ;) Primefac (talk) 17:16, 8 September 2017 (UTC)
@Primefac: I havent tested it yet, but I did add the code to my common.js. The prompts look simple and neat so there's no issue there (I see that only 4 ranges are allowed at max, which isnt an issue since I've never come across an article needed more than that). Now to see if it actually works when I come across an article with copyvio issues. Also, thanks for taking the time out to write the script! Jiten Dhandha • talk • contributions • 16:43, 8 September 2017 (UTC)

Button load issues[edit]

Instead of moving the TW to the left of the Read tab, we have added a "peer gadget" that allots the room for the TW menu before it is actually loaded (see issue #336). This effectively should solve the "jumpiness" issue, while keeping the TW menu where it is now. Note the issue may persist if you are using other gadgets that add dropdown menus or tabs, such as MoreMenu. As the maintainer of MoreMenu, I will try to do the same trick soon. Thanks and let us know if you have anymore issues! MusikAnimal talk 15:53, 12 September 2017 (UTC)
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.

Button load issue

I am wanting to fix this button load issue. When the TW button loads it shifts over the "read", "edit source" and "view history" buttons. This often causes me to miss the button I was trying to click on.

Amir has moved the "rater" button to the left of the read button which half solves the issue. I am proposing that we move the TW button to the left of "Read" aswell.

Doc James (talk · contribs · email) 15:59, 1 September 2017 (UTC)

Support[edit]

  • Support As proposer. Doc James (talk · contribs · email) 16:32, 1 September 2017 (UTC)
  • support per Doc James rationale--Ozzie10aaaa (talk) 16:44, 1 September 2017 (UTC)
  • Huge support per Doc James, the rater move makes a huge difference. Sadads (talk)
  • Support This doesn't fix the intrinsic problem (that parts of the page load after others), but it significantly reduces the effect that the problem has. Thanks. Mike Peel (talk) 14:01, 5 September 2017 (UTC)

Oppose[edit]

Discuss[edit]

  • The code change has been requested here Doc James (talk · contribs · email) 12:34, 8 September 2017 (UTC)
  • Let's hold off on this for a bit. There may be a better solution involving CSS that would allow us to keep the menu where it is now but still prevent the jumpiness. See issue #393 and #366 for more MusikAnimal talk 15:55, 8 September 2017 (UTC)
    • We could also do the move and than change it again when a better option is figured out. Doc James (talk · contribs · email) 23:06, 8 September 2017 (UTC)
      • Not to worry! I think we've got it figured out and will get this deployed soon :) MusikAnimal talk 01:47, 9 September 2017 (UTC)
  • Am I the only one left wondering what all this is about? Been using Twinkle for years and never seen a Rater or Read button. In what context do they appear? Thanks: Noyster (talk), 09:37, 9 September 2017 (UTC)
    • You do not have a read button up top? Rater is another optional tool like TW. Doc James (talk · contribs · email) 15:28, 9 September 2017 (UTC)
    • Where the TW would be after the proposed change
      First off, this only affects users who use the Vector skin. If you don't use Vector, you can ignore this discussion as nothing will change for you. The proposed change would move the TW menu to the left of the Read tab, see the screenshot on the right. But we have a better solution ready to go, just waiting on a little code review :) I'm going to look into doing the same trick for some other gadgets that suffer from the same problem, such as MoreMenu MusikAnimal talk 17:33, 9 September 2017 (UTC)

The discussion above is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.

Adding new level 2 heading as none found for this month[edit]

G'day, simple request. Can this be made to search the entire page instead of the bottom-most sub-heading? It's often enough that I perform an action like tagging a page with a CSD template and for one reason or another need to add a warning after, yet it won't recognise an existing September 2017 sub-hearder. Cheers! — IVORK Discuss 03:38, 6 September 2017 (UTC)

Additionally, is there any reason the WP:PRODBLP templates don't allow adding of the concern when placing? This is an arguement within the template. — IVORK Discuss 04:08, 11 September 2017 (UTC)

Spamming shared IP notices[edit]

Can Twinkle be programmed to detect if a thread already contains a shared IP notice, and either suppress repeat notification, or remove prior notices so that there is only one at the bottom of a monthly subsection? The notice is important, but I don't think anyone benefits from it showing up in between every single templated message on an IP's page. Ivanvector (Talk/Edits) 13:16, 15 September 2017 (UTC)

@Ivanvector: Are you talking about the messages that are automatically posted when you block an IP as "anonblock" (or similar) using Twinkle? If so, I have a version of Twinkle you can try. If you're talking about tagging (TW > "Shared IP"), then yes, we can still make it detect if the template is already there, but in that case I imagine you would usually see it and know not to re-tag MusikAnimal talk 02:13, 20 September 2017 (UTC)
Not the anonblock template. I'm talking about pages like this one, where if I use Twinkle to leave a templated notice, it automatically adds {{Shared IP advice}} below the warning, so you end up with a page with several warnings all interspaced with the repeated shared IP advice. If there's an option to turn that off, I don't see it in the dialog. Ivanvector (Talk/Edits) 13:21, 20 September 2017 (UTC)