Jump to content

Wikipedia talk:Twinkle: Difference between revisions

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Content deleted Content added
DASHBot (talk | contribs)
m Removing fair use file(s), per WP:NFCC#9 (Shutoff | Log )
Line 375: Line 375:
I'm having a problem regarding warning vandals using Twinkle. There are two drop down menus, one to determine the level of the warning, and the second to list the specific template to use. But when I use Twinkle, the second drop down menu has no items; it is completely blank. How can I solve this problem? [[User:Bryce53|<font color="silver">Bryce</font>]][[Special:Contributions/Bryce53|<font color="orange">53</font>]] &#124; [[User talk:Bryce53|<font color="blue">talk</font>]] 03:51, 29 June 2011 (UTC)
I'm having a problem regarding warning vandals using Twinkle. There are two drop down menus, one to determine the level of the warning, and the second to list the specific template to use. But when I use Twinkle, the second drop down menu has no items; it is completely blank. How can I solve this problem? [[User:Bryce53|<font color="silver">Bryce</font>]][[Special:Contributions/Bryce53|<font color="orange">53</font>]] &#124; [[User talk:Bryce53|<font color="blue">talk</font>]] 03:51, 29 June 2011 (UTC)
: That is not enough information to help you. Which browser are you using, which version, which OS, any errors in your javascript console? See also [[WP:TW/DOC#Trouble]]. What page are you on when this happens? What happens if you change the warning level? [[User talk:Amalthea|<span style="font-variant:small-caps;color:#832">Amalthea</span>]] 09:23, 29 June 2011 (UTC)
: That is not enough information to help you. Which browser are you using, which version, which OS, any errors in your javascript console? See also [[WP:TW/DOC#Trouble]]. What page are you on when this happens? What happens if you change the warning level? [[User talk:Amalthea|<span style="font-variant:small-caps;color:#832">Amalthea</span>]] 09:23, 29 June 2011 (UTC)
::Does this help? [[User:Bryce53|<font color="silver">Bryce</font>]][[Special:Contributions/Bryce53|<font color="orange">53</font>]] &#124; [[User talk:Bryce53|<font color="blue">talk</font>]] 10:34, 29 June 2011 (UTC) [[File:The problem with twinkle.png|thumb|450px|center|See? Nothing there!]]
::Does this help? [[User:Bryce53|<font color="silver">Bryce</font>]][[Special:Contributions/Bryce53|<font color="orange">53</font>]] &#124; [[User talk:Bryce53|<font color="blue">talk</font>]] 10:34, 29 June 2011 (UTC) [[:File:The problem with twinkle.png|thumb|450px|center|See? Nothing there!]]<!--Non free file removed by DASHBot-->
:::No, I don't think that will help much. Can you answer Amalthea's questions instead? -- [[User:John of Reading|John of Reading]] ([[User talk:John of Reading|talk]]) 10:40, 29 June 2011 (UTC)
:::No, I don't think that will help much. Can you answer Amalthea's questions instead? -- [[User:John of Reading|John of Reading]] ([[User talk:John of Reading|talk]]) 10:40, 29 June 2011 (UTC)
::::No problem. I use Firefox 5, Windows 7, and I manually added the gadget in my preferences. This happens on every single page. Nothing happens if I change the warning level. Hope this helps. [[User:Bryce53|<font color="silver">Bryce</font>]][[Special:Contributions/Bryce53|<font color="orange">53</font>]] &#124; [[User talk:Bryce53|<font color="blue">talk</font>]] 11:12, 29 June 2011 (UTC)
::::No problem. I use Firefox 5, Windows 7, and I manually added the gadget in my preferences. This happens on every single page. Nothing happens if I change the warning level. Hope this helps. [[User:Bryce53|<font color="silver">Bryce</font>]][[Special:Contributions/Bryce53|<font color="orange">53</font>]] &#124; [[User talk:Bryce53|<font color="blue">talk</font>]] 11:12, 29 June 2011 (UTC)

Revision as of 05:02, 30 June 2011

Bugs and feature requests

Bugs and feature requests can be reported at https://github.com/azatoth/twinkle (you will need to have a github account). This is probably quicker, 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.

Discussion

Functionality that would allow diffs

I just started a discussion over at Wikipedia talk:Template messages/User talk namespace#Functionality that would allow diffs about a possible functionality that would allow the inclusion of diffs in uw-warnings. While users manually adding warnings probably wouldn't use this functionality, Twinkle could (I think).

When a user reverts an edit with Twinkle, a little popup window opens up with the reverted user's talkpage. When you go to the Twinkle menu and click "Warn", the "Warn" dialogue box comes up with the article name already prefilled. If the uw- templates also had a diff functionality, wouldn't it be possible to automatically add the revisionid of the reverted edit?

Please reply over at Wikipedia talk:Template messages/User talk namespace#Functionality that would allow diffs to keep this discussion centralised. Thanks! — Preceding signed comment added by Cymru.lass (talkcontribs) 16:28, 9 May 2011 (UTC)[reply]

Actually, let's have the discussion here, since specific integration with Twinkle is a programming issue, and not a template issue. The question I have, directed at Twinkle's developers is, can such a feature as Cymru.lass suggested be added to Twinkle, or would this be a functionality that would get left out (and if so, why would we pass over it)? SchuminWeb (Talk) 03:10, 11 May 2011 (UTC)[reply]
On a diff page, the revision ID is easily available - the revert/rollback feature retrieves it successfully, so I imagine it could pass the ID onto the warn module in the opened user talk page. If consensus is gained for the implementation of the functionality, and the code is written, etc., then this should not be too difficult to add in. — This, that, and the other (talk) 10:23, 12 May 2011 (UTC)[reply]
Okay, then great! If we end up doing diff-specific templates, then we'll be back for it. SchuminWeb (Talk) 16:33, 12 May 2011 (UTC)[reply]
I'm pro-diffs inclusion. I notice Huggle users tend to fit in diffs much more nicely than with Twinkle, but it's been a while since I've done any Twinkling of that sort. – Kerαunoςcopiagalaxies 14:16, 17 May 2011 (UTC)[reply]
I just realized exactly how easy this would be! Twinkle already grabs the revision ids for the edits reverted, and those are appended to the URL in the user talkpage edit form. (Example URL: http://en.wikipedia.org/w/index.php?title=User%20talk%3AEnjyman&action=edit&preview=yes&vanarticle=Template%3APineapples%2Fdoc&vanarticlerevid=429754192&vanarticlegoodrevid=371990550&type=agf&count=1) — Preceding signed comment added by Cymru.lass (talkcontribs) 07:40, 21 May 2011 (UTC)[reply]
So is this a good idea to implement? If so, should this be moved back to requests for features? This discussion's gone a little stale.. — Preceding signed comment added by Cymru.lass (talkcontribs) 19:00, 29 May 2011 (UTC)[reply]
My original comment stands. If this is implemented in the templates, and people generally agree on its inclusion, it can be done. — This, that, and the other (talk) 04:03, 5 June 2011 (UTC)[reply]
I think it should be done. It sounds technically easy enough. A lot of new users aren't even aware that there is such a thing as a history page. This would point them to it. --Kudpung กุดผึ้ง (talk) 01:09, 30 June 2011 (UTC)[reply]
Resolved
 – Kept

Template:Uw-biog1 has been nominated for deletion. You are invited to comment on the discussion at the template's entry on the Templates for discussion page. :| TelCoNaSpVe :| 02:19, 28 May 2011 (UTC)[reply]

This debate is still open, since nobody's commenting, just an FYI... ▫ JohnnyMrNinja 20:45, 16 June 2011 (UTC)[reply]

Twinkle deletion sorting

So Dinoguy1000 made a few (incomplete?) scripts to integrate deletion sorting into Twinkle, User:Dinoguy1000/scripts/amdelsort.js & User:Dinoguy1000/scripts/delsort.js. This editor is no longer active, so these scripts will not be finished (see User talk:Dinoguy1000#Twinkle and delsort). There are also two other delsort scripts that I know of, one that is no longer maintained (User:Pb30/Delsort tab), and one that relies on the current/old Twinkle (User:John Vandenberg/Deletion sorting tool). What is the likelihood that we can get deletion sorting under the hood of the new Twinkle from the start? I have no knowledge of JavaScript, so I can't tell how much of that code is usable. Ideal functionality would let editors using Twinkle or Friendly sort existing AfDs, and editors using full Twinkle sort the AfDs that they themselves are tagging (preferably though a pop-up menu they would see every time). This would save a good-many editors a ton of time. ▫ JohnnyMrNinja 15:05, 29 May 2011 (UTC)[reply]

Ideally, such functionality should allow for sorting *any* deletion discussion rather than just AFDs, and should allow sorting into multiple lists as one action. ダイノガイ千?!? · ☎ Dinoguy1000 07:43, 30 May 2011 (UTC)[reply]
So I posted this right before the new version was released (I didn't know it was near being finished). Most likely people have noticed it, but are too busy with putting out existing fires to respond. This has been a long-running "to do"... Is there any chance that, given the current flurry of coding focused on Twinkle, a kindly programmer will add this functionality? It has been discussed many times before (at least here, here, here, and here, maybe others), and my fear is that once the new Twinkle is stable there won't be anyone with the time and/or interest to work on it. The authors of the above-mentioned scripts want their integration into Twinkle-proper (not sure about User:Pb30/Delsort tab, but for sure the other two). Thanks! ▫ JohnnyMrNinja 07:31, 31 May 2011 (UTC)[reply]

It would be fantastic if someone could integrate delsort into Twinkle. It should be fairly simple now that Twinkle is more mature. My tool is rotting slowly and has just broken again. I'm only finding time to add bandaids. John Vandenberg (chat) 00:00, 3 June 2011 (UTC)[reply]

I'd like to point out that the delsort tab relied on Twinkle and Morebits for functionality, and so hasn't been working properly since the switch. If there were a response either way that would be helpful. ▫ JohnnyMrNinja 05:11, 4 June 2011 (UTC)[reply]
It seems to only rely on morebits, not just twinkle. The current version of morebits is (in theory) backward compatible, so the tool should continue to work when User:AzaToth/morebits.js is imported. (Having Twinkle on as a gadget won't cut it.) However, I see your point about a rewrite: the code is very messy, and will likely cease to work when the MediaWiki devs re-enable HTML5. I don't think this tool is "general-purpose" enough to justify its inclusion in Twinkle, but I'll see what others think. — This, that, and the other (talk) 10:18, 4 June 2011 (UTC)[reply]
The deletion sorting tab would only need show up on deletion discussions, right? It would be my guess that most of the people using Twinkle participate in deletion discussions at least infrequently. I don't always sort the deletions I nominate, let alone participate in, but I certainly would if there were a tab for it. I think most people would, even if they'd never previously heard of WP:DELSORT, and we'd end up crowdsourcing all of DELSORT's work (which is a good thing). As I mentioned above, the most ideal situation is to sort them as they are nominated, but I don't know if any of the scripts above would help with that, so that part would just be from scratch, which I know isn't desirable at this point. ▫ JohnnyMrNinja 22:18, 4 June 2011 (UTC)[reply]

About the upgrade to Twinkle

Prompted by the short-lived switchover to MediaWiki's HTML5-compliant mode on Wikipedia (see Twinkle bug 441), Twinkle developers have been working for some months on an overhaul of the tool, as well as AzaToth's morebits.js script library. This development has been taking place off-wiki, at a github repository. Work was started by UncleDouggie and Tcncv, and continued by AzaToth (Twinkle's inventor) and This, that and the other.

Users of Twinkle will be able to take advantage of many improvements, including:

  • Transition to the MediaWiki API. Previously, Twinkle used to download the same editing form as is used by human editors, fill it out behind-the-scenes, and send the request back as if the "Save page" button had been clicked. This was unreliable – if the format of the edit form was modified, or if malformed editnotices were present, Twinkle failed. Now, Twinkle uses the MediaWiki API to edit pages, a more solid approach specially designed for programs and scripts like Twinkle.
  • New look. Twinkle now has a refreshed look, based on jQuery UI.
  • Now works on Internet Explorer 9 (with very minor limitations, e.g. not being able to move the dialogs).
  • Lots of new features. You can now: tag a page with a protection lock using the RPP tool (for all users, not just admins); preview user warning templates before posting the warning; notify users about an AN/ANI discussion using the Talkback tool; enable a "userspace log" to keep track of your speedy and PROD nominations (huge thanks to Timotheus Canens for originally writing this); and customize your Twinkle easily, with a graphical interface instead of editing code (see WP:TWPREFS).
  • Lots of new admin stuff. Admins can now: rest easy when protecting using the PP tool - it has been redesigned, and you have full control over what it does; opt not to delete the talk page and/or redirects when using the CSD tool; edit the deletion reason before deleting with the CSD tool.
  • And lots more minor annoyances and nits have been fixed. (and some more have been introduced... please tell us if you find any we don't already know about)

Developers of scripts that use the morebits.js library should take note of the following two important points:

  • Obsolescence of Wikipedia.wiki and replacement with Wikipedia.page
  • Changes to loading of morebits.js. To harness the new functionality, gadgets can change their definition entry to look like GadgetName[ResourceLoader|dependencies=jquery.ui.dialog,jquery.tipsy]|morebits.js|morebits.css|GadgetName.js. Scripts stored in userspace can use mw.loader.using - ask us if you need any help implementing it.

For users and developers alike, if Twinkle stops working for you, or you have any other problems or questions, don't hesitate to ask them below. But see the top of this page for a list of known issues which are currently being investigated. Thanks, — This, that, and the other (talk) 10:25, 30 May 2011 (UTC)[reply]

Thanks, this is awesome, especially the new preferences sheet. I linked this post up top so that people can find it quickly. Falsifying timestamp to fool archive bot. Sven Manguard Wha? 10:25, 30 July 2011 (UTC)[reply]

Incorrect new section month

Template:Known Issue It appears that there is a narrow window of time as seen here where UTC dates are used and local times are not yet set where there could be an incorrect heading. In other words, those West of UTC time will show the previous month last in their day on the last day of the month and those east of UTC time will show the following month early on the first day of the month. Trivial issue that will be difficult to test. --Walter Görlitz (talk) 15:22, 1 June 2011 (UTC)[reply]

Twinkle uses the computer's time to do this, for want of a better solution. It should be adjusted to UTC, but obviously if the computer's clock is out by a few minutes, or the time zone is set wrongly, then the wrong month will appear. There really isn't much of a way around this at the moment. — This, that, and the other (talk) 06:55, 2 June 2011 (UTC)[reply]
What time does the Wikipedia:UTC clock use? Does it just add or subtract based on time zone? (I'm not being snarky if this is obvious, I really can't read JS) ▫ JohnnyMrNinja 09:28, 2 June 2011 (UTC)[reply]
It uses the computer's time, just like Twinkle. I suspect that we can get around this with some #time: magic, as follows: Twinkle locates the latest month header in the current page and pass it to a special template that compares it to the output of #time; the template becomes either the header or nothing depending on whether the two are equal. But that seems like a huge amount of work for what is basically a cosmetic fix that affects 12 days each year. T. Canens (talk) 14:12, 2 June 2011 (UTC)[reply]
Nifty, but that won't work for figuring out the right page to list an AfD request, for example. Amalthea 14:16, 2 June 2011 (UTC)[reply]
Yes, for that you'll have to actually ask the server for time. But in XfD requests (which are much more expensive and generally a few server requests already) the overhead of another request is relatively smaller. T. Canens (talk) 14:31, 2 June 2011 (UTC)[reply]
(ec) Yes, as does Twinkle. I can only presume that the user's time is off -- maybe it doesn't even seem off to him since he has both the clock and the timezone wrong.
In any case, that Twinkle relies on the client clock is actually the old WP:TW/BUGS#368, and I do think we should fix this at some point (should be copied to new issue tracker). It requires another server request to get at the server time though. I've added it to the bug tracker: https://github.com/azatoth/twinkle/issues/6 Amalthea 14:14, 2 June 2011 (UTC)[reply]

friendlytabs?

Friendly had friendlytabs. Now they are gone, Will Twinkle include them? My current setup pushes a lot of tabs off screen. Or is there a snipet of Friendly code I can add to my monobook.js?  Ronhjones  (Talk) 18:23, 1 June 2011 (UTC)[reply]

If you are using monobook, look for them approx 2000px to the right of your screen. AzaToth 18:31, 1 June 2011 (UTC)[reply]
I got them back by adding "importScript('User:Ioeth/friendlytabs.js');" after my twinkle line in the monobook.js.  Ronhjones  (Talk) 21:21, 1 June 2011 (UTC)[reply]
Was there a reason why this was dropped? Amalthea 13:51, 2 June 2011 (UTC)[reply]
Because we didn't think there was any reason for tab names to be shortened, in the days of larger display sizes. — This, that, and the other (talk) 10:49, 7 June 2011 (UTC)[reply]
That's because you are assuming that a user will only have extra tabs due to Twinkle and will always use the browser full screen (and has a wide screen monitor). There are other useful scripts that are not Twinkle based and still add yet more tabs. I have 22 tabs on some pages, and I like a bit of space to one side to show other windows.  Ronhjones  (Talk) 21:06, 7 June 2011 (UTC)[reply]
We also assumed that you were using Vector :) — This, that, and the other (talk) 06:47, 10 June 2011 (UTC)[reply]
Never assume anything - you will always get it wrong... I love monobook.  Ronhjones  (Talk) 19:18, 23 June 2011 (UTC)[reply]

Just as a me too, I'm missing the short tabs. I'll get used to it, as I'd rather stay with Twinkle rather than adding more javascript back in. tedder (talk) 01:17, 11 June 2011 (UTC)[reply]

If you want to get Friendlytabs back, it's as simple as adding
importScript('User:Ioeth/friendlytabs.js');
to the end of your skin JavaScript file. It ought not to interfere with Twinkle. — This, that, and the other (talk) 01:32, 11 June 2011 (UTC)[reply]
Can we add this back into Twinkle, but disable it by default? mc10 (t/c) 04:37, 11 June 2011 (UTC)[reply]
It should be possible. I'll look into it. — This, that, and the other (talk) 06:49, 11 June 2011 (UTC)[reply]

Thanks

I recognize that need to balance my complaints as a result of the changes with praise for the new features and speed included in the update. Thanks for the hard work of all involved. --Walter Görlitz (talk) 18:43, 1 June 2011 (UTC)[reply]

Seconded. Great work to all involved in creating the new Twinkle! It looks great, and functions quite well! SchuminWeb (Talk) 19:04, 1 June 2011 (UTC)[reply]

twinkleoptions.js notice

Just wondering if the notices on twinkleoptions.js & monobook,js/vector.js would look better if they were set to full width to match the styles of the other notices shown on those pages. -- WOSlinker (talk) 22:19, 1 June 2011 (UTC)[reply]

They're supposed to be eye-catching, and the messages they contain are short. Perhaps, after a while, they could be assimilated with the other boxes on JS pages. But for the moment, while the whole twinkleoptions thing is still new, I think they should stand out as they do now. — This, that, and the other (talk) 06:48, 2 June 2011 (UTC)[reply]

A suggestion which would help reduce newbie biting.

Shortly after reading a current candidate for admin discussion, and noting the concern that an editor filed many multiple PRODS almost simulataneoulsy, I noticed this talk page. While everyone of these Prods and CSD notices may be valid, it must be exceedingly discouraging for an editor to see this talk page. I made a small attempt at conveying the same information with a smaller wall of text. See here, where I manually collapsed 19 notices into a single notice. ConcernedVancouverite wondered here if the approach could be incorporated into our automated tools.

I envisage that if an editor adds a subsequent PROD or CSD to a talk page that has a Prod or CSD within a specified time frame (one day, seven days?), instead of creating an entirely new entry, the tool would simply add a new item to a list.

I realize there are some complications. In my example, all 19 are A7. There are several Prods, with differing reasons. I think it might be relatively straightforward to collapse into a notice with a list when the reasons are identical—it might be a little trickier if there are multiple prods or CSD with differing reasons. However, I think we could discuss low-hanging fruit (identical reasons) now, and maybe refine it later.--SPhilbrickT 01:30, 2 June 2011 (UTC)[reply]

I completely agree with you. I've always wanted a feature where, when CSD tagging or image DI-tagging, Twinkle would automatically condense multiple notifications on the author's talk page into one so as to not bite. Let's see if Amalthea or one of the other devs can get this working. ;) Logan Talk Contributions 01:41, 2 June 2011 (UTC)[reply]
I agree, and if it's technically possible, it is a suggestion that should be addressed. Kudpung กุดผึ้ง (talk) 03:19, 2 June 2011 (UTC)[reply]
If a proper proposal is made (i.e. showing exactly how this should be reliably done across all CSD notification templates - don't forget they are substed - and the PROD and BLP PROD warnings), it could probably be implemented, given consensus on a Village Pump or somewhere, I would imagine. — This, that, and the other (talk) 06:41, 2 June 2011 (UTC)[reply]
Maybe an algorithm that looked at the recent edit summaries to check if the user had received other recent notifications? Rather than developing and debugging code that works for every permutation of notification, just add a hat note on stacked notices with a very short summary showing instead of the full lecture? VQuakr (talk) 06:46, 2 June 2011 (UTC)[reply]
If it is to be implemented we need a fuller proposal than that. If someone could hack up a demo, then us coders are happy to jump on board. — This, that, and the other (talk) 10:49, 7 June 2011 (UTC)[reply]
Instead of basing off of edit summaries, wouldn't it be better to base it off of what tags are already on the page? Say that when Twinkle adds a PROD or speedy notice, the heading is simply "Requested deletion of an article you created" giving a full description. The next Twinkle user (Twinkler?) that comes along leaves a tag under the same heading, excluding redundant information. Prod and speedy and AfD could be bundled, or under separate headings. ▫ JohnnyMrNinja 16:55, 7 June 2011 (UTC)[reply]

Importing Twinkle to other projects

Hi, I want to include Twinkle in the Sanskrit Wikipedia. Are there any instructions on how to do that, or can anyone guide me? Thanks. Lynch7 17:43, 2 June 2011 (UTC)[reply]

I would like to import it to the French Wikipedia. (Je voudrais l'importer au Wikipédia français.) ~~EBE123~~ talkContribs 19:49, 2 June 2011 (UTC)[reply]
Hi, I am not one of the developers here, and they make some time to get back to you on this. They just released a totally-reworked version of Twinkle and have been fairly busy fixing issues and making sure it is running smoothly. I assume that you are familiar with JavaScript programming? If not, it will be very difficult to get Twinkle running on your wiki (especially if you don't want it in English). Perhaps one of the developers, or someone familiar with the workings of the program (I am not) can put together an instruction list. If you are not familiar with JavaScript, try fishing around your wiki for someone who is and will be willing to undertake a massive project. There is not only the work of porting this over to the wiki and translating all of the text, but it is also very likely that most (if not all) of the templates & pages have different names & functionality. Almost certainly the wiki will have different policies as well. Further, the developers here have too much on their plates to offer more than simple instruction, so editors at your wikis will need to problem-solve & bug-fix on their own. This is likely the reason none of the have responded here yet, this sort of question is asked a lot by editors who would like the functionality, but do not have the skills to put it into action. So if there is a skilled JavaScript programmer (preferably a small group of them) willing to dedicate that much time to making it work on your wiki, let us know. Even then, I cannot speak for the developers, and it will be up to them whether or not to help. I know it sounds daunting, but that is because it is. ▫ JohnnyMrNinja 07:00, 3 June 2011 (UTC)[reply]
As a Twinkle developer, and one who can speak a bit of French, I am happy to provide advice on any localisation efforts, but I lack the time to do any substantive JavaScript work, etc.
It would be fairly easy to transfer, say the "diff" and "fluff" (revert and rollback) modules, as they are not specific to English Wikipedia, and would only require minor text changes to accommodate a different language. However, most of Twinkle's modules, like XFD, CSD, RPP, and ARV, are very much enwiki-specific, and would likely require a complete rewrite for other language version of Wikipedia. As Johnny said above, if you can find one or more skilled JavaScript coders, you'd do well to speak to them. — This, that, and the other (talk) 07:53, 3 June 2011 (UTC)[reply]
Thanks for the replies. My JavaScript is not really up to the mark, so I'll have to find someone who is. Thanks again. Lynch7 16:36, 3 June 2011 (UTC)[reply]
I am not especially good at javascript (better at C++) but I think that I should mention that it is different the french wiki than the english wiki. For one, speedy deletions are done on request on Wikipédia:Demande de suppression immédiate instead of on the article. ~~EBE123~~ talkContribs 19:13, 3 June 2011 (UTC)[reply]
I started twinle on fr.wiki with the name of "étoile" "star" Finished /diff (link) ~~EBE123~~ talkContribs 19:30, 3 June 2011 (UTC)[reply]


Feature request

Note: This is a feature request for sysops only.

How about a block user (maybe "BL" or "BLU") button (searched all of MediaWiki:Gadget-Twinkle). There is delete, batchdelete, protect, batchprotect but no block or batchblock. ~~EBE123~~ talkContribs 22:39, 5 June 2011 (UTC)[reply]

Wouldn't an batchblock be an direct violation of WP:BEANS? :) Well, I remember I thought about it a long time ago, but couldn't think of a way to get the actual "batch" list of people to block. AzaToth 23:02, 5 June 2011 (UTC)[reply]
Then just block, how about it? ~~EBE123~~ talkContribs 20:03, 6 June 2011 (UTC)[reply]
Do you know User:Animum/easyblock.js? Amalthea 21:06, 9 June 2011 (UTC)[reply]

I would appreciate it if these two were supported. --The Σ talkcontribs 19:52, 7 June 2011 (UTC)[reply]

Is it possible to add custom talkback templates just like custom welcome templates? That would be useful to me. /ƒETCHCOMMS/ 20:05, 7 June 2011 (UTC)[reply]
Is it possible with speedy deletion tags as well? I would want {{db-animal}}. ~~EBE123~~ talkContribs 21:41, 7 June 2011 (UTC)[reply]
Personally, I think it's more important for the recipient of a talkback notice to configure its nature; I, for one, would prefer to get them as WP:SMS. Amalthea 21:58, 7 June 2011 (UTC)[reply]

Html5 local storage

I'm using the secure server and thus the script is loading relative slowing every time. Why not putting the script in the HTML5 local storage for secure server? Should be achievable with not so much amount of extra coding. (One time a day checking for a new version maybe, maybe for everybody since reducing server load, checking if browser support this of course) mabdul 20:35, 8 June 2011 (UTC)[reply]

Caching the script is the browser's job, I'd say. Are you certain the delays you notice are due to your browser requesting Twinkle? It usually should get back a quick 304 not-modified. Amalthea 23:08, 8 June 2011 (UTC)[reply]
And browsers do normally (or shouldn't) cache skripts/content of a secure server! Do you get that I mean: I'm using the secure server and the script is (of course) requested every time --> That produces server load AND costs time (for me). To prevent this: local storage... mabdul 07:08, 9 June 2011 (UTC)[reply]
I'm uncertain how it could be done, with some sort of cross browser compatibility; But feel free to provide an patch, and we'll look into it. AzaToth 10:14, 9 June 2011 (UTC)[reply]
Web_Storage and Comparison_of_layout_engines_(HTML5)#Related_specifications do say that there is cross-browser support already. The problem is, that I know many facts about it, but not able to program anything. Maybe I a year or so ;p mabdul 08:28, 10 June 2011 (UTC)[reply]

Reverting a good-faith unsigned comment

Why can't I do a "Rollback (AGF)" of an unsigned comment after SineBot has signed it? "Notice: Good faith revert was chosen on SineBot. This is a whitelisted bot, it makes no sense at all to revert it as a good faith edit, will stop reverting". Never mind, I'll do it a different way... -- John of Reading (talk) 15:16, 9 June 2011 (UTC)[reply]

Rollback means undoing all the edits by the most recent user. In this case, the most recent user is SineBot, and its edits don't make sense to be reverted. Unfortunately the best way around this is to find the last good version (before the editor you want to revert and SineBot), and use "revert to this revision". –CWenger (^@) 16:27, 9 June 2011 (UTC)[reply]
Of course, this happens often enough that it may be worth an sinebot-specific code path to treat the two edits as one … Amalthea 16:29, 9 June 2011 (UTC)[reply]
Yeah, I was going to mention that as well. I encounter this situation with some frequency and it would certainly be nice to be able to handle it with one click instead of several. Not sure how hard it would be to implement. –CWenger (^@) 16:34, 9 June 2011 (UTC)[reply]
It is already implemented for the other two buttons. If you try this with either of the other buttons, Twinkle asks for confirmation and then rolls back both edits for you. -- John of Reading (talk) 16:43, 9 June 2011 (UTC)[reply]
Interesting. I guess I never even tried it for fear of reverting SineBot. Thanks for the info! –CWenger (^@) 16:47, 9 June 2011 (UTC)[reply]

This is per design, and is described in a comment in the source code:

		// a list of usernames, usually only bots, that vandalism revert is jumped over, that is
		// if vandalism revert was chosen on such username, then it's target is on the revision before.
		// This is for handeling quick bots that makes edits seconds after the original edit is made.
		// This only affect vandalism rollback, for good faith rollback, it will stop, indicating a bot 
		// has no faith, and for normal rollback, it will rollback that edit.
		Twinkle.fluff.whiteList = [
			'HagermanBot',
			'SineBot',
			'HBC AIV helperbot',
			'HBC AIV helperbot2',
			'HBC AIV helperbot3'
		];

Though I notice that list is a bit outdated. Could someone compile an list of currently active anti-vandalism/sign bots? AzaToth 21:40, 9 June 2011 (UTC)[reply]

Back to my original question then - why was it designed this way? -- John of Reading (talk) 06:58, 10 June 2011 (UTC)[reply]
How should it work? Situation is, latest edit by a bot, edit before by a human. What should Twinkle do if you revert that (AGF, normal, vandalism)
  1. If the bot was ClueBot NG, i.e. a vandalism revert (which /might/ have reverted an unrelated edit)?
  2. If the bot was Sinebot (which /might/ have signed an unrelated edit)?
  3. If the bot was AnomieBOT, restoring some references from history (which /might/ have signed an unrelated edit)?
Amalthea 10:15, 15 June 2011 (UTC)[reply]
As far as I can remember, I've only used this feature to revert inappropriate talk page posts after they had been signed by SineBot. I've got so used to doing this with the second and third buttons that I was surprised to find I couldn't do it with the first button. I was trying to remove a mis-posted draft article at Help talk:Searching. So: no opinion on the other bots, but I would like all three buttons to undo the "post + SineBot" combination. -- John of Reading (talk) 10:32, 15 June 2011 (UTC)[reply]
But there certainly are situations where you only want to undo an overeager SineBot. Should Twinkle ask the user what to do in case of normal or AGF rollback? Or should those cases be ignored? Amalthea 12:51, 15 June 2011 (UTC)[reply]
Yes, it should ask. I think the second and third buttons already ask, don't they? -- John of Reading (talk) 14:57, 15 June 2011 (UTC)[reply]

FurMe merge

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.


The merge is underway. The end is not in sight, however. FurMe is a fairly primitive tool that will require a partial rewrite to become part of Twinkle. — This, that, and the other (talk) 10:23, 11 June 2011 (UTC)[reply]

The intent of this proposal is to gain consensus on making the image-tagging tool FurMe part of Twinkle. FurMe runs on the morebits code base as does Twinkle, however, due to the recent Twinkle upgrade, FurMe currently is inoperable, and in addition, its maintainer, AWeenieMan, has not edited since 2008. Considering the need to find a new maintainer for the tool and upgrade it anyway, it seems like the best solution is to add its features, which complement the existing features in Twinkle, to Twinkle. SchuminWeb (Talk) 18:30, 9 June 2011 (UTC)[reply]

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.


Many A7

Could we put as we have for Globalize for tags to you select the A7 option and it lists the other templates? ~~EBE123~~ talkContribs 23:12, 10 June 2011 (UTC)[reply]

Why add extra clicks to the process? — This, that, and the other (talk) 01:12, 11 June 2011 (UTC)[reply]
Just 1 or 0. Globalize in the tags box has such a function. ~~EBE123~~ talkContribs 12:09, 11 June 2011 (UTC)[reply]
0. Logan Talk Contributions 23:39, 11 June 2011 (UTC)[reply]

Watching user talk pages on PROD and CSD notifications

Can we get an option on WP:TWPREFS to allow us to automatically add the user talk page to our watchlist when notifying users of PROD and CSD notifications? That option is already present for warnings, welcomes, and XfD nominations, and I'd like to see it available for PROD and CSD also. jcgoble3 (talk) 00:06, 12 June 2011 (UTC)[reply]

This is a feature that I would find very useful, especially for those of us who patrol and/or actually delete articles. I have often missed not having such a feature. --Kudpung กุดผึ้ง (talk) 00:26, 12 June 2011 (UTC)[reply]

XfD closingh

Is this feature enabled? I don't see it in the TW menu, and I don't see it on the prefs page. . DGG ( talk ) 04:49, 15 June 2011 (UTC)[reply]

It was enabled for a couple of days, but it was turned off for all users, as it was deemed inferior to other scripts. It only ever worked for AfD. I will discuss this with other Twinkle maintainers, but I expect the outcome will be that the closer module is deleted altogether from Twinkle. — This, that, and the other (talk) 05:36, 15 June 2011 (UTC)[reply]

Sorting and more

hello,

please someone who have access to Twinkle sort the userwarnings in "General Note", "Caution", "Warning" "Final warning" and "Only warning" like in "Single issues notices" and "Single issues warnings"? Also please change "General Note" to "General note" like "Only warning". Also is it possible to add more features, such as WP:DELREV or WP:UNDELETE? For example for deleted articles there could be a tab for WP:DELREV or WP:UNDELETE. Thank you.--♫Greatorangepumpkin♫Share–a–Power[citation needed] 11:47, 15 June 2011 (UTC)[reply]

I am doing your request of capitalization at github but what do you mean by "sort"? ~~EBE123~~ talkContribs 20:52, 15 June 2011 (UTC)[reply]
Previous attempts to sort one of those lists has been met with some opposition, a number of people do prefer the somewhat thematic sorting. I'd request some further opinions before this is changed. Amalthea 07:24, 16 June 2011 (UTC)[reply]

Adding File: functions

I was asked on my talkpage a few days ago about desired functionality for File: functions in Twinkle. I've never worked with the old FurMe, so I can't offer specifics on how to improve that functionality. Also, I usually work with free images, but I think general file functions would be a great addition to Twinkle. Some ideas I've had (as an example, File:DSC03111.JPG would be a great candidate for all of these):

  • File moving functionality - specifically, automatically editing linked articles to point to the new name, as well as a decent error message when attempting to move to another namespace (disabled on EN, but it just shows some weird code). Adding a note to the uploader's talk page is also helpful, as they may look for it at the old name, and some admins have been deleting file redirects on sight.
  • All files should either have a FUR template or {{information}}. I would like to easily add these templates to files (presumably FurMe did half of this). Ideally this would allow for automatically filling some fields: "Self" templates should add the uploader as "author" and "source", "date" can be added from metadata, "permission" can be added from license, and "description" should be whatever text is loose on the page (i.e. "This is my dogz he is teh Best!") Ideally this text would be pre-loaded onto a field that users can edit/cleanup. The ability to dynamically switch between the two (free and non-free) would be great, keeping the description and source info intact, as many company logos are {{PD-text}}, many images claimed as free by uploaders are actually copyrighted, etc.
  • I would love the option of Twinkle automatically changing "Image:" to "File:" in any automated Twinkle edits, even if it is not a image-related edit (I do this myself whenever I see it). I realize this is not vital, it's just a harmless change to preferred usage, and potentially makes using files slightly less confusing to new editors (link says "Image", target says "File"). I can live without this.
  • The ability to quickly add the useful templates, like {{Copy to Wikimedia Commons}} or {{Trademark}}, from Category:File message boxes.
  • I doubt this is possible, but what about moving free files using http://toolserver.org/~magnus/commonshelper.php ? I realize that this tool makes it so much easier to move the files already, but we still have 143,521 free local files left, and more are being added all the time. Currently, when you see an unused free image on WP the only automated option is to delete it! So many images are put up for deletion because they were orphaned, which has somehow become an acceptable criteria. Adding Commons functionality would probably sate those nominators. Again, I doubt such integration is possible, but a fella can dream.

That's all I can think of right now. ▫ JohnnyMrNinja 16:51, 16 June 2011 (UTC)[reply]

Thanks. It should be in the FurMe merge. ~~EBE123~~ talkContribs 18:50, 16 June 2011 (UTC)[reply]
Ebe123, I still don't get how you're speaking on behalf of the devs. How do you know that they are going to be able to implement these features into the FurMe murge? Logan Talk Contributions 20:04, 16 June 2011 (UTC)[reply]
Yes, Ebe123, please speak for yourself only. I am currently working on the FurMe merge: if you would like to start writing code for some of the other features that I am not currently working on (as stated above), you are most welcome. — This, that, and the other (talk) 23:19, 16 June 2011 (UTC)[reply]

Colo(u)r changing

Could there be a option for the colo(u)r of twinkle? ~~EBE123~~ talkContribs 19:40, 16 June 2011 (UTC)[reply]

Here I must say no. No need for distraction for features that have no practical use at all. AzaToth 20:48, 16 June 2011 (UTC)[reply]
There's a "Transparent" color option if you click the X in the top right hand corner of a Twinkle popup. Logan Talk Contributions 20:54, 16 June 2011 (UTC)[reply]

Archiving

How about lowering the arhiving to 5 days or so. There are tons of comments and most of them are resolved. ~~EBE123~~ talkContribs 20:27, 16 June 2011 (UTC)[reply]

I will manually archive. The page is getting filled because of all the changes, usually the waters are more placid. ▫ JohnnyMrNinja 20:33, 16 June 2011 (UTC)[reply]
Also, keep in mind that many resolved issues should stay up long enough so that anyone with similar issues will see that it is resolved, or so regulars will know about new features. ▫ JohnnyMrNinja 20:36, 16 June 2011 (UTC)[reply]
Please stop clogging up the history with archiving. Just do them all at once; we get pinged on IRC every time there's a change to this talk page. Logan Talk Contributions 21:30, 16 June 2011 (UTC)[reply]
Didn't realize, I was trying to avoid edit conflicts. I'll do it all at once later. ▫ JohnnyMrNinja 21:35, 16 June 2011 (UTC)[reply]
Why not let the bot do it? tedder (talk) 21:37, 16 June 2011 (UTC)[reply]
Well the bot is set for doing it after a thread has been dormant for 28 days. With the recent changeover and everyone being here now... well this is out of the ordinary. I'd suggest someone just take every single "resolved" thread, toss it in an archive, and clear up some space. Sven Manguard Wha? 07:42, 17 June 2011 (UTC)[reply]
All the things marked resolved were sent to Wikipedia talk:Twinkle/Archive 23. Sven Manguard Wha? 08:00, 17 June 2011 (UTC)[reply]

New template to add: uw-notvand

A new single-issue notice template has been created, about marking edits as vandalism that technically aren't, is available at Template:Uw-notvand. We discussed it at Wikipedia talk:Template messages/User talk namespace#uw-notvand, and then it's been added to the official list. Thus we should add it to the list of single-issue notices on Twinkle. The descriptor on the official list is "Incorrectly marking an edit as vandalism", which is what we should use in Twinkle as well. SchuminWeb (Talk) 16:46, 17 June 2011 (UTC)[reply]

Deli-batch - want to get rid of these, not "change the order"

I want to get rid of the annoying "deli-batch" tabs, altogether, not simply change the order of the tabs. Is there a way to remove these as a personal option? -- Cirt (talk) 18:27, 17 June 2011 (UTC)[reply]

Oh oops, I got the answer here [1]. This page archives things way too fast, had trouble finding that discussion from only a day or so ago!!! No good, this [2] appears to have removed all the tabs for XFD closing scrips. How to fix it? -- Cirt (talk) 18:36, 17 June 2011 (UTC)[reply]

So the tabs I want to remove are: unlink, deli-batch, d-batch, p-batch. Is there a way to do that? -- Cirt (talk) 18:51, 17 June 2011 (UTC)[reply]

Hi Cirt
Page was archived manually this morning, a bit overeagerly, that's why fairly new sections are gone now, too. Those css rules you found at Wikipedia talk:Twinkle/Archive 23#Changing tab order should have gone to your monobook.css – adding them to your script page caused errors, which stopped all script execution after it, which is why you lost several tabs.
Should all be set up properly for you now. I'll try to implement disabling individual modules in the twinkle preferences next week; importing only some modules as you used to had to be disabled with the rewrite, for various reasons.
Amalthea 19:12, 17 June 2011 (UTC)[reply]
Ah, I see now. Thank you so much!!! -- Cirt (talk) 19:13, 17 June 2011 (UTC)[reply]
Pained grin Yep, that was me. Per another thread here I archived all the resolved threads, as the page was getting very large. Sorry. Sven Manguard Wha? 05:12, 19 June 2011 (UTC)[reply]

Delsort with new twinkle changes?

Any updates on getting delsort to work with the recent new changes to Twinkle?? -- Cirt (talk) 00:17, 18 June 2011 (UTC)[reply]

Indeed, I miss delsort. tedder (talk) 00:27, 18 June 2011 (UTC)[reply]
I miss delsort immensely. It can take up to 15 minutes to manually do three delsorts for an AfD. --Kudpung กุดผึ้ง (talk) 02:52, 18 June 2011 (UTC)[reply]
I echo the above. Jenks24 (talk) 03:27, 18 June 2011 (UTC)[reply]
Delsort should still work with the old morebits. Try putting this line of code before your delsort importScript line:
importScript('User:AzaToth/morebits.js');
Upgrading it is on the to-do list, however the delsort code is in a far worse state than FurMe is, so it's not a priority. — This, that, and the other (talk) 04:10, 18 June 2011 (UTC)[reply]
I've tried with the morebits script and it still doesn't work. Any busy editors who do NPP or any admins who have to relist AfDs will truly welcome the return of this feature. --Kudpung กุดผึ้ง (talk) 04:40, 18 June 2011 (UTC)[reply]

I've gotten it to work using the following scripts:

//--- For delsort ---\\
importScript('User:AzaToth/morebits.js');
//importScript('User:AzaToth/twinklefluff.js');
importScript('Wikipedia:WikiProject User scripts/Scripts/Add LI menu');
importStylesheet('Wikipedia:WikiProject User scripts/Scripts/Add LI menu/css');
importScript('Wikipedia:WikiProject Deletion sorting/delsort.js');
//--- End delsort ---//

I use FireFox 5. Hope this helps. Reaper Eternal (talk) 10:42, 29 June 2011 (UTC)[reply]

Duplicate tagging

When a tag is already on the page twinkle usually excludes it. It doesn't seem to realize this for {{Fancruft}} vs. {{overdetailed}} and {{All plot}} vs. {{allplot}}Xeworlebi (talk) 17:25, 18 June 2011 (UTC)[reply]

Maintenance tagging doesn't check for existing tags at all, I think. There's https://github.com/azatoth/twinkle/issues/13 which is hopefully going to resolve this. Amalthea 17:32, 18 June 2011 (UTC)[reply]
I'm pretty sure it does because I sometimes see "Info: Found {{____}} on the article already...excluding" during tagging. Xeworlebi (talk) 21:50, 18 June 2011 (UTC)[reply]

Invite box in twinkle

Hi, I would like to add following two invites templates to my twinkle Wikipedia:WikiProject_Railways_in_India/Invite and Wikipedia:WikiProject_Indian_roads/Invite with an article option as input. Please help me -- naveenpf (talk) 02:24, 23 June 2011 (UTC)[reply]

Deleting pages that exist on another project

When deleting pages using criteria that require that the target is also on another project (foreign language or commons or somesuch), Twinkle should ask for the location. For example, KESERASIAN MUSYAWARAH ONLINE DAN TATAP MUKA was deleted because a page was created on another wiki (to speed up its deletion here), but the deleter did not specify where the new page is located. As the secondary location is required for these CSD, it would make sense that it be listed in the deletion summary. ▫ JohnnyMrNinja 07:08, 23 June 2011 (UTC)[reply]

That page was not deleted using Twinkle. Twinkle's deletion summaries are formatted like [[WP:CSD#G1|G1]]: Patent nonsense, and the automatically-provided deletion summary is able to be modified before Twinkle deletes the page (unless the admin has disabled that preference). — This, that, and the other (talk) 08:26, 23 June 2011 (UTC)[reply]
Gotcha, what about when applying the templates using Twinkle? ▫ JohnnyMrNinja 08:51, 23 June 2011 (UTC)[reply]
Specifically this refers to CSD F1. Redundant, F8. Images available as identical copies on the Wikimedia Commons and A2. Foreign language articles that exist on another Wikimedia project. ▫ JohnnyMrNinja 08:55, 23 June 2011 (UTC)[reply]
Twinkle asks for the interwiki link, but the use can of course choose to leave the input field blank. Amalthea 09:00, 23 June 2011 (UTC)[reply]
Oh, dito for for f1 and f8. Also t3, a10, url for f9, g12, pagetitle for some g6, and detailed rationales for some other. Amalthea 09:06, 23 June 2011 (UTC)[reply]
Well then, I'm asking for existing functionality. Thanks! ▫ JohnnyMrNinja 09:32, 23 June 2011 (UTC)[reply]

Template

Please let me edit the template writing the following: This article or section does not cite any references or sources. Because I'd like to use it in some sections that have no sources. Thank you.Brazilian Man (talk) 14:58, 23 June 2011 (UTC)[reply]

No, I've noticed there's a template for that. Brazilian Man (talk) 15:07, 23 June 2011 (UTC)[reply]

{{db-multiple}}

When Twinkle tags an article with {{db-multiple}} (that is, speedy deletion for multiple criteria), it only leaves the CSD message on the author's userpage. Unlike other speedy deletion tags, it does not also leave a welcome message, like {{firstarticle}}. Can that be fixed? Singularity42 (talk) 16:34, 24 June 2011 (UTC)[reply]

Just a question

hello,

why is "vandalism only-account" disabled, so I am not able to click on the box to make a tick?--♫Greatorangepumpkin♫Share–a–Power[citation needed] 14:33, 28 June 2011 (UTC)[reply]

That checkbox only applies to registered accounts; see Wikipedia:Vandalism-only account. Are you looking at an IP's page? -- John of Reading (talk) 14:36, 28 June 2011 (UTC)[reply]
yes, but why only for registered accounts? ok, sorry. I haven't red the page!--♫Greatorangepumpkin♫Share–a–Power[citation needed] 14:57, 28 June 2011 (UTC)[reply]

A problem with "Warn (user talk warnings)"

I'm having a problem regarding warning vandals using Twinkle. There are two drop down menus, one to determine the level of the warning, and the second to list the specific template to use. But when I use Twinkle, the second drop down menu has no items; it is completely blank. How can I solve this problem? Bryce53 | talk 03:51, 29 June 2011 (UTC)[reply]

That is not enough information to help you. Which browser are you using, which version, which OS, any errors in your javascript console? See also WP:TW/DOC#Trouble. What page are you on when this happens? What happens if you change the warning level? Amalthea 09:23, 29 June 2011 (UTC)[reply]
Does this help? Bryce53 | talk 10:34, 29 June 2011 (UTC) thumb|450px|center|See? Nothing there![reply]
No, I don't think that will help much. Can you answer Amalthea's questions instead? -- John of Reading (talk) 10:40, 29 June 2011 (UTC)[reply]
No problem. I use Firefox 5, Windows 7, and I manually added the gadget in my preferences. This happens on every single page. Nothing happens if I change the warning level. Hope this helps. Bryce53 | talk 11:12, 29 June 2011 (UTC)[reply]
Hmm. Curious, standard setup, possibly the most typical one for Twinkle users, should work without problems. We had a problem with IE9 that was similar to yours, that's what I was hoping for. Most likely explanation now is some interference with something else. First, can you check your javascript error console for Twinkle-related errors (Ctrl+Shift+J, or see WP:TW/DOC#Trouble)? If there's nothing there, can you list which other gadgets you have activated, or maybe try turning them off? If nothing, do you have browser plugins that might get in the way (AdBlock can e.g. sometimes interfere with NAVPOP)? Do you have personal firewalls enabled that may scan or sanitize web pages (someone once had a problem with that in Twinkle v1)? Amalthea 11:49, 29 June 2011 (UTC)[reply]
I turned all of my gadgets off and then back on. The problem is now fixed; thanks. Bryce53 | talk 00:35, 30 June 2011 (UTC)[reply]