Wikipedia talk:Twinkle/Archive 24
This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 20 | ← | Archive 22 | Archive 23 | Archive 24 | Archive 25 | Archive 26 | → | Archive 30 |
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)
- No, I've noticed there's a template for that. Brazilian Man (talk) 15:07, 23 June 2011 (UTC)
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 (talk • contribs) 16:28, 9 May 2011 (UTC)
- 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)
- 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)
- 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)
- 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ςcopia◁galaxies 14:16, 17 May 2011 (UTC)
- 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 (talk • contribs) 07:40, 21 May 2011 (UTC)
- 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ςcopia◁galaxies 14:16, 17 May 2011 (UTC)
- 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 (talk • contribs) 19:00, 29 May 2011 (UTC)
- 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)
- 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)
- 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)
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)
- 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)
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)
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)
- 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)
- Does this help? Bryce53 | talk 10:34, 29 June 2011 (UTC) thumb|450px|center|See? Nothing there!
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- Does this help? Bryce53 | talk 10:34, 29 June 2011 (UTC) thumb|450px|center|See? Nothing there!
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)
- 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)
- 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)
- Made note of it in the issue. Amalthea 09:07, 30 June 2011 (UTC)
- 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)
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)
- Twinkle can't really help you here, ATM. A custom welcome template is the closest thing, but ATM custom welcome templates can't support article name parameters. Amalthea 09:07, 30 June 2011 (UTC)
noinclude
Please put an option to put noinclude tags around speedy deletion tags for all exempt for Article:
namespace tags. I needed to add 1 and I thought that it would be good if there was an option. ~~EBE123~~ talkContribs 23:58, 30 June 2011 (UTC)
- Twinkle already puts <noinclude> tags around speedy deletion tags on template pages, as demonstrated in this edit. Where else would you need to <noinclude> the speedy deletion template? Logan Talk Contributions 00:55, 1 July 2011 (UTC)
- Sometimes of user pages and wikipedia pages since they can be transcluded. ~~EBE123~~ talkContribs 12:09, 1 July 2011 (UTC)
{{Db-xfd}}
When tagging something as db-xfd it does not ask for the votepage parameter, which is necessary, according to the documentation. --The Σ talkcontribs 21:24, 3 July 2011 (UTC)
Doing... Logan Talk Contributions 21:26, 3 July 2011 (UTC)
- As the developer of the current functionality of this template, I will have to admit that it will be VERY difficult to implement this in a prompt scheme without a chain of yes and no questions followed by one text box. I might also add that the documentation may not be 100% correct, analyze the template for the intricacies of usage. — Train2104 (talk • contribs • count) 00:37, 5 July 2011 (UTC)
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)
- Indeed, I miss delsort. tedder (talk) 00:27, 18 June 2011 (UTC)
- 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)
- I echo the above. Jenks24 (talk) 03:27, 18 June 2011 (UTC)
- Delsort should still work with the old morebits. Try putting this line of code before your delsort importScript line:
- I echo the above. Jenks24 (talk) 03:27, 18 June 2011 (UTC)
- 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)
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)
- 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)
- 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)
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)
- Anyone else? I am not getting anything... ▫ JohnnyMrNinja 08:05, 2 July 2011 (UTC)
- I just tried this script. It caused Ffox 5.0 / MacOSX 10.6.5 to crash badly and lost me the new pages live feed. I reverted the edit to my vector.js page and everything is fine. Still no delsort of course. Kudpung กุดผึ้ง (talk) 10:17, 2 July 2011 (UTC)
- This "re-working" doesn't work for me in either Firefox v5.0 or Google Chrome v12.0.742.112. ArcAngel (talk) ) 15:50, 5 July 2011 (UTC)
- I just tried this script. It caused Ffox 5.0 / MacOSX 10.6.5 to crash badly and lost me the new pages live feed. I reverted the edit to my vector.js page and everything is fine. Still no delsort of course. Kudpung กุดผึ้ง (talk) 10:17, 2 July 2011 (UTC)
Add a welcome template
Please add this template: Template:First school article to the dropdown menu of welcome templates. Thanks. --Kudpung กุดผึ้ง (talk) 04:18, 5 July 2011 (UTC)
{{Uw-genre4im}}
Requesting addition of it to the TW uw-series. --The Σ talkcontribs 22:31, 6 July 2011 (UTC)
- Note: that template is currently at TfD. Jenks24 (talk) 22:34, 6 July 2011 (UTC)
G12 CSD
hello,
please, if possible, change the G12 CSD function, so that I am able to enter several website urls and not only one. Thank you.--♫Greatorangepumpkin♫Share–a–Power[citation needed] 11:43, 4 July 2011 (UTC)
- That functionality is not currently available in {{db-g12}}, so I would recommend bringing that up at Template talk:Db-meta or a similar venue. Logan Talk Contributions 03:20, 9 July 2011 (UTC)
What would be the correct place..
...to report someone who is abusing TW? (see last two edits of my user page for background) Nolelover Talk·Contribs 14:46, 7 July 2011 (UTC)
- I should add that looking through the editors edits, he has regularly been using TW (and possibly rollback) in content disputes. This isn't a big deal to me, but I'm just wondering. Nolelover Talk·Contribs 14:50, 7 July 2011 (UTC)
- Generally WP:ANI is the forum for abuse reporting →AzaToth 14:53, 7 July 2011 (UTC)
- Well...is it really that big a deal? I mean, i don't particularly care, but he's obviously using it to be disruptive. Nolelover Talk·Contribs 14:55, 7 July 2011 (UTC)
- Meh...warned and forgotten. Nolelover Talk·Contribs 15:07, 7 July 2011 (UTC)
- (ec)The talk page message you left him is certainly the right first step. All else will depend on how he reacts. And, using Twinkle reverts in content editing isn't by itself problematic. It's only disruptive/inappropriate to incorrectly revert other edits as vandalism, or to revert without an edit summary. Amalthea 15:08, 7 July 2011 (UTC)
- Ahh, excuse me then. I was under the impression that using anything other then "undo" in content disputes was generally frowned upon. Or is that rollback? Nolelover Talk·Contribs 15:10, 7 July 2011 (UTC)
- Probably depends on who you ask. :) Plain MediaWiki rollback doesn't allow to leave an edit summary and is for that reason reserved for clearly nonconstructive edits (or anything that doesn't need an explanation). As I see it, any other way to revert another editors good-faithed changes without explanation, be it manual editing or MediaWiki undo or Twinkle, is just as problematic. Providing an explanation is the key. Amalthea 15:18, 7 July 2011 (UTC)
- Ahh, excuse me then. I was under the impression that using anything other then "undo" in content disputes was generally frowned upon. Or is that rollback? Nolelover Talk·Contribs 15:10, 7 July 2011 (UTC)
- Well...is it really that big a deal? I mean, i don't particularly care, but he's obviously using it to be disruptive. Nolelover Talk·Contribs 14:55, 7 July 2011 (UTC)
Suggestion - notify wikiproject when prodding
I think it can save many articles - notify wikiprojects with notices in talkpage when prodding Bulwersator (talk) 16:04, 7 July 2011 (UTC)
- I often do this manually, but it would be a good idea although it may be technically complex. Many projects have subscribed to AlertBot. It alerts projects for CSD, PROD, AfD, and GA and FA nominations. --Kudpung กุดผึ้ง (talk) 06:18, 10 July 2011 (UTC)
Deleting talk pages: needs a prompt
When deleting article pages, manual deletion offers a prompt when a talk page exists. Twinkle does not and causes a lot of admins (including me) to forget to delete the talk page. Can this be addressed in Twinkle? --Kudpung กุดผึ้ง (talk) 03:42, 9 July 2011 (UTC)
- In the CSD dialog, admins can elect to delete the page's talk page at the same time. If this functionality is broken, please tell us. — This, that, and the other (talk) 03:18, 13 July 2011 (UTC)
{{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)
Soft redirects
Currently, soft redirects can not be automatically sent to RFD because Twinkle doesn't recognise them as redirects. I tried to nominate a page that contains {{Category redirect}} but it wouldn't let me. Can this be fixed? Also, it would have saved me wasting my time typing out my message for the RFD if Twinkle hadn't given me the choice to nominate it in an "incorrect" forum in the first place. McLerristarr | Mclay1 07:19, 1 July 2011 (UTC)
- You can switch the XfD category in the dropdown box though, can't you? Amalthea 10:24, 4 July 2011 (UTC)
- I'm not sure what you mean. Soft redirects can't be automatically sent to RFD because Twinkle doesn't recognise them as redirects. They are redirects though and should not be discussed in CFD etc. McLerristarr | Mclay1 10:25, 9 July 2011 (UTC)
- Good point. Will fix. — This, that, and the other (talk) 03:37, 15 July 2011 (UTC)
- Fixed, pending both on-wiki code sync, and the resolution of this editprotected request. — This, that, and the other (talk) 07:56, 15 July 2011 (UTC)
- Good point. Will fix. — This, that, and the other (talk) 03:37, 15 July 2011 (UTC)
- I'm not sure what you mean. Soft redirects can't be automatically sent to RFD because Twinkle doesn't recognise them as redirects. They are redirects though and should not be discussed in CFD etc. McLerristarr | Mclay1 10:25, 9 July 2011 (UTC)
Redirects on talk pages confuse Twinkle
Subject says it all really, but there's a story too.
A new user creates an article (blatant self-promotion) by writing it on his talk page. When he feels its ready for prime time, he moves his talk page to the article namespace, leaving a redirect behind from his talk page to the spam article. I catch the article on Huggle, speedy it, and indefblock the user for having an inappropriate username (same as the organization being promoted). I leave a template with Twinkle notifying the user of the block. But since the talk page is a redirect, Twinkle recreated the speedied article (target of the redirect) with the block template as the contents. Whoops. --causa sui (talk) 06:38, 6 July 2011 (UTC)
- It's an edge case (to say the least!), and would take a fair bit of work within Twinkle to fix. I personally don't think it's worth fixing. — This, that, and the other (talk) 08:14, 15 July 2011 (UTC)
Deletion in categories
The two tabs "d-batch" and "transverse" have given some odd behaviour. I tried to delete some images with "d-batch" and got "Error: nothing to delete, aborting" - when there were clearly 3 images in the category - does it only work with text pages? Changing to "transverse" - It worked, but with an error message each time, which meant that after deletion it failed to move to the next image. The set of messages is...
Deleting image: done Grabbing image links: The title parameter must be set Skipped: File:Viminol.svg Deleting image: done Grabbing image links: The title parameter must be set Skipped: File:WIN55212-2.svg Deleting image: done Grabbing image links: The title parameter must be set
The "skipped" line is because I had to hit "delete" and then "skip" for every image. Ronhjones (Talk) 21:43, 6 July 2011 (UTC)
- You should use "deli-batch" to batch-delete files. — This, that, and the other (talk) 03:16, 13 July 2011 (UTC)
- OK, I'll use that next time, but "transverse" used to work OK - i.e press delete, and it deleted and moved to the preview of the next file. Ronhjones (Talk) 20:18, 13 July 2011 (UTC)
Request for new tag addition
Where do I go to request a specific tag to be create and added into twinkle? If I have to be the one to create it, where do I do it? I've been searching all over the place LOL. KING OF WIKIPEDIA - GRIM LITTLEZ (talk) 03:05, 9 July 2011 (UTC)
- If you want to create a new tag, then you may do so yourself in the Template: namespace. For example, "Template:<name goes here>". See This, that, and the other (talk) 08:12, 15 July 2011 (UTC) for an example which you can copy. Then ask here, and we might add it to —
Accidental loss of content when adding a template to an article
Apologies if this is a bug which has been reported before, but does anyone know what happened here[1]? In adding a template to an article, I somehow deleted half of it. That's happened to me with Twinkle at least once before (though I can't remember what the other article was). Is this a known problem? Robofish (talk) 20:32, 10 July 2011 (UTC)
- Well, it's known now
I suspect this is either a problem with the API, or with Internet transmission issues, both of which are beyond our control. Thanks for letting us know, though. — This, that, and the other (talk) 08:22, 15 July 2011 (UTC)
- We should send the md5 along with the edit request to avoid that. Navpop has an md5 implementation that we could use. Amalthea 10:59, 15 July 2011 (UTC)
PROD on a REDIR PRODs the target.
Using Twinkle PROD on a REDIR page PRODs the target page instead. Bazj (talk) 15:24, 12 July 2011 (UTC)
- Thanks for the note. Actually, since redirects can't be PRODded, solution will simply be to inform the tagger to use RfD instead. Amalthea 16:10, 12 July 2011 (UTC)
- The PROD tab shouldn't appear on redirects. It has now been removed. — This, that, and the other (talk) 08:12, 15 July 2011 (UTC)
FurMe news
I'm sure many of you are wondering how FurMe is coming along. Here's a status report:
- FurMe's file tagging functionality is now available in Twinkle. It uses the same infrastructure as Twinkle's article and redirect tagging. Enjoy it, and please report any issues on this page.
- Work on the FUR/license part of FurMe is taking a long time. I was away from my computer for two weeks recently, and I don't envisage that I will have much time to finish work on it in the near future. Apologies for any inconvenience. If anyone thinks they could lend a hand (beware, it's mightily unfriendly code!), you could look at the furme branch of Twinkle's tree on github.
In the meantime, avid FurMe users can continue to use AWeenieMan's original, outdated FurMe script. You can do so by including the following code at Special:MyPage/skin.js:
importScript("User:AzaToth/morebits.js");
importScript("User:AWeenieMan/furme.js");
This will make the old FurMe come back, but it is subject to break at any time, as it is not being maintained (and has not been since 2008, I believe).
Thanks, — This, that, and the other (talk) 08:34, 15 July 2011 (UTC)
- New file-tagging function looks really good! It really integrates seamlessly with the rest of Twinkle. SchuminWeb (Talk) 17:57, 15 July 2011 (UTC)
- Yes, well done! Sven Manguard Wha? 04:07, 17 July 2011 (UTC)
Modifying twinkle with custom code
Is it possible to make a few custom scripts to add functionality to twinkle? (for a single user, atleast for the period of development) Specifically, I want to have edits in the RCP marked (by a different colour maybe)
- if they are not the current version. (and if the current version is by an IP/newbie) (helps focus on unreviewed vandalism)
- pages with less than a certain number of watchers.
Thanks. Staticd (talk) 12:10, 15 July 2011 (UTC)
- Surely those can both be done with non-Twinkle JavaScript? The API is pretty powerful. –Drilnoth (T/C) 12:44, 15 July 2011 (UTC)
- Eh, for # of users watching a page I think you'd have to scrape [2] if Ajax allows for it. The API doesn't appear to expose the count. I could try to whip up some JS sometime, but I don't know what kind of timeframe I'd be able to work on it. –Drilnoth (T/C) 12:52, 15 July 2011 (UTC)
AfD/XfD log?
I like that Twinkle now has a CSD and PROD log, but I'm wondering whether it has been considered whether Twinkle should have an AfD/XfD log. I'm maintaining my own by hand - User:Tom Morris/AfD - but it'd be nice if Twinkle could list the XfD nominations one makes. —Tom Morris (talk) 22:32, 15 July 2011 (UTC)
- Create a bookmark in your browser with the following URL (yes, it's long, but it should fit):
javascript:(function(){if(typeof%20mw==="undefined"){alert("You%20must%20be%20on%20a%20Wikipedia%20page%20for%20this%20to%20work.");return;}mw.loader.using(["ext.gadget.Twinkle"],function(){window.afdlog={};window.afdlog.fetchContribs=function(ucstart){var%20api=new%20Wikipedia.api("action",{'action':'query','list':'usercontribs','uclimit':500,'ucuser':wgUserName,'ucnamespace':4,'ucprop':'title|flags|timestamp','ucstart':ucstart},window.afdlog.contribsCallback);api.post();};window.afdlog.contribResults=[];window.afdlog.contribResultsIndex=0;window.afdlog.contribsCallback=function(){var%20$doc=$(this.responseXML);$doc.find('item[new=""][title^="Wikipedia:Articles%20for%20deletion/"]').each(function(){var%20$this=$(this);var%20ts=new%20Date($this.attr("timestamp")).toUTCString();var%20title=$this.attr("title").substring(32);if(title.indexOf("Log/2")!==0){window.afdlog.contribResults.push({ts:ts,title:title,afd:$this.attr("title")});}});var%20$ctn=$doc.find("query-continue%20usercontribs");if($ctn.length){window.afdlog.fetchContribs($ctn.attr("ucstart"));}else{window.afdlog.fetchPage();}};window.afdlog.fetchPage=function(){var%20sect=window.afdlog.contribResults.slice(window.afdlog.contribResultsIndex,window.afdlog.contribResultsIndex+19);var%20titles=[];$.each(sect,function(k,v){titles.push(v.title);});var%20api=new%20Wikipedia.api("action",{'action':'query','prop':'info','titles':titles.join("|")},window.afdlog.pageCallback);api.post();};window.afdlog.pageCallback=function(){$(this.responseXML).find("page").each(function(){var%20$this=$(this);var%20newarr=window.afdlog.contribResults.filter(function(v){return%20v.title===$this.attr("title");});newarr[0].exists=$this.attr("missing")!=="";});window.afdlog.contribResultsIndex+=20;if(window.afdlog.contribResultsIndex>=window.afdlog.contribResults.length){window.afdlog.$ol.empty();$.each(window.afdlog.contribResults,function(k,v){window.afdlog.$ol.append($('<li>'+v.ts+':%20<a%20href="'+wgArticlePath.replace("$1",v.title)+'"%20style="color:'+(v.exists?'#0645AD':'#BA0000')+'">'+v.title+'</a>%20was%20<a%20href="'+wgArticlePath.replace("$1",v.afd)+'"%20style="color:#0645AD">nominated%20for%20AfD</a></li>'));});window.afdlog.$ol.css({'margin-left':'10px','padding-left':'34px'});}else{window.afdlog.fetchPage();}};window.afdlog.$ol=$('<ol>Please%20wait...</ol>');window.afdlog.$ol.dialog({width:900,height:480,title:'Your%20AfD%20nominations'});window.afdlog.fetchContribs();});})();
- Then click on the bookmark. This should show you a list of all AfD nominations that you have made, but it can be quite slow. (Technically-minded people can see a non-obfuscated version of this script at User:This, that and the other/afdlog.js.)— This, that, and the other (talk) 03:12, 17 July 2011 (UTC)
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)
- Fixed, pending on-wiki update. Sorry it took so long! Thanks, — This, that, and the other (talk) 02:25, 15 July 2011 (UTC)
- On-wiki update done. — This, that, and the other (talk) 08:12, 15 July 2011 (UTC)
- I removed notwinkle=yes from the {{Templatesnotice}} template on Template:uw-notvand, if there's any sort of errors with the template or with removing the notwinkle=yes parameter, please feel free to revert it. Thank you - SudoGhost 15:05, 24 July 2011 (UTC)
- On-wiki update done. — This, that, and the other (talk) 08:12, 15 July 2011 (UTC)
Rollback?
I've noticed Twinkle adds several undo features to page history and diffs, which I like, but it marks them as "Rollback", which causes confusion with Wikipedia's Rollback feature, which is not available to the general public. I think that it should be changed to help solve confusion. --Nathan2055talk 21:25, 14 July 2011 (UTC)
- I don't think it's worth the trouble to change. It is a rollback feature, and it lives in a different spot than the native rollback feature. In other words, I don't see where the experienced user (the only kind who would get native rollback access) should be confused about this. SchuminWeb (Talk) 22:52, 14 July 2011 (UTC)
- I'm new, and I was confused about it. "Rollback" is the ability to undo an edit in one click without providing a summary. "Revert" or "Undo" is reverting an edit and providing a summary. I think Twinkle does the second thing. --Nathan2055talk 23:08, 14 July 2011 (UTC)
- Rollback definitely can use an edit summary. See User:Gracenotes/rollback.js for instance. —mc10 (t/c) 20:15, 17 July 2011 (UTC)
- yeah, must is more like it. It has a default one that is actually quite a pain to change and if you use rollbacker without an edit summary, you may just lose your rollbacker privileges. --Doug.(talk • contribs) 20:21, 17 July 2011 (UTC)
- (ec)It is confusing. The reasons are mostly historical and it could be changed, but the distinction isn't as you suggest. Reverting is simply "undoing" of which "rollback" is a special type that undoes multiple edits by a single user. Twinkle Rollback and Rollbacker user right both do this but the user right does it server-side and doesn't require going though the undo diff page and adding an edit summary. Twinkle does (but hides this in the background through the script). End result, Twinkle is much easier to put in a custom summary, Rollbacker is much faster from the time you click "rollback" to the time that the edit actually saves; thus if you are racing to rollback vandalism, use Rollbacker, if you are doing a lot of reverting of IPs changing uncited dates or other not-clearly spam edits, use Twinkle (unless you're keen on losing your Rollback privileges). But you are right, these things could use more explanation and maybe more disambiguation in their names.--Doug.(talk • contribs) 20:19, 17 July 2011 (UTC)
- Rollback definitely can use an edit summary. See User:Gracenotes/rollback.js for instance. —mc10 (t/c) 20:15, 17 July 2011 (UTC)
- I'm new, and I was confused about it. "Rollback" is the ability to undo an edit in one click without providing a summary. "Revert" or "Undo" is reverting an edit and providing a summary. I think Twinkle does the second thing. --Nathan2055talk 23:08, 14 July 2011 (UTC)
Using on a non-wikipedia wiki
Hi, I'd like to use Twinkle on a Wikia wiki. Is there a way to do this?--Technobliterator (talk) 12:48, 19 July 2011 (UTC)
- Twinkle is just a giant lump of javascript. Pretty much all you need to do is copy and paste whatever is here and make some modifications (I think). --Σ talkcontribs 02:02, 22 July 2011 (UTC)
- I wouldn't go as far as to say that. Yes, it's easy enough to copy over the code, however:
- All of the templates TW uses exist locally on Wikipedia, outside of the TW code you would get from following the link and copying the code.
- TW is specificly tailored to those templates, knows exactly where to go for each one, and may not function properly or even at all if it can't find some of them.
- Wikipedia runs off of a build of the software that is different from the one you are likely using, and this may also confuse TW.
- Small changes are made all the time to fix errors in TW. Those changes would only take effect instantly on English Wikipedia, and you would have to manually update the code on your Wikia each time it changes in order to have as stable a version as the Wikipedia one.
- Recently another language Wikipedia asked a similar question, and recieved a similar answer. It would take a massive effort by a team of talented programmers to adapt TW to other Wikipedias, although it is possible. I would have to think it would be even more difficult to pull off for a Wikia, however you are welcome to try. Sven Manguard Wha? 05:28, 25 July 2011 (UTC)
- I wouldn't go as far as to say that. Yes, it's easy enough to copy over the code, however:
{{copypaste}}
When tagging an article with it Twinkle does not ask for the |url parameter. --Σ talkcontribs 01:56, 22 July 2011 (UTC)
- Should be fixed. Thanks for letting us know. — This, that, and the other (talk) 10:06, 24 July 2011 (UTC)
File Formats
For the FurMe File tagging, it would be good to have twinkle to reconize the format for the tags like for a JPEG file, it would not show {{BadGIF}} and vice-versa. ~~EBE123~~ talkContribs 12:57, 24 July 2011 (UTC)
- Doesn't really matter that much. — This, that, and the other (talk) 05:12, 25 July 2011 (UTC)
- I've done more work in file backlogs than most, and when I come across bad tags, which happens often enough and for a variety of reasons, I just fix it and move on. This would create a lot of work for an already overworked TW team, and honestly wouldn't make the lives of the file gnomes much easier. Misdone TW tags account for relatively little of the mistagging I come across. Sven Manguard Wha? 05:19, 25 July 2011 (UTC)
Uncivil?
I don't see any warning(s) for uncivil discussion or edit summaries - both would be useful. Is there not a template for that? --Lexein (talk) 21:28, 24 July 2011 (UTC)
- Attack directed at a specific editor? It gives this message:
Welcome to Wikipedia. Although everyone is welcome to contribute constructively to the encyclopedia, we would like to remind you not to attack other editors, as you did on User:Geoff B. Please comment on the contributions and not the contributors. Take a look at the welcome page to learn more about contributing to this encyclopedia. You are welcome to rephrase your comment as a civil criticism of the article.
- Not necessarily all-purpose for incivility issues though. Millahnna (talk) 21:43, 24 July 2011 (UTC)
- You can discuss on WT:WARN to possibly create a template; I don't know of any that exist now. —GFOLEY FOUR!— 05:49, 25 July 2011 (UTC)
- Templating someone who is being uncivil is a surefire way to make the situation worse. Jenks24 (talk) 06:24, 25 July 2011 (UTC)
- discuss it on WT:WARN, here would be more to implement it into twinkle, also, as Jenks24 said, it would just make it worse. ~~EBE123~~ talkContribs 11:57, 25 July 2011 (UTC)
- Templating someone who is being uncivil is a surefire way to make the situation worse. Jenks24 (talk) 06:24, 25 July 2011 (UTC)
- I've brought it up over at WT:WARN/User talk namespace with an expanded rationale. Discuss there? --Lexein (talk) 03:34, 27 July 2011 (UTC)
FURME intergration...
Some suggestions :
- Use the new name style {{[[Template:Non-free use rationale <blah>|Non-free use rationale <blah>]]}} type rationale templates over the old {{[[Template:<blah> fur|<blah> fur]]}} types.
- Implement an option for {{Non-free use rationale film poster}} - Syntax and options for all practical purposes are virtually identical to those for {{Non-free use rationale video cover}}, the only difference being the name of the rationale template used,
so the code could be added with VERY minor modifications.
Sfan00 IMG (talk) 14:32, 25 July 2011 (UTC)
- FurMe had/has functions divided under two tabs, the "tags" tab and the "fur" tab. The functions under the "tags" tab have been integrated into Twinkle, under TW's "Tag" tab, however the stuff under the "fur" tab has not been integrated yet. While your ideas are good, this might not be the place to ask for them, the original developer or custodians of FurMe would have to do it. Sven Manguard Wha? 20:55, 25 July 2011 (UTC)
- I am the caretaking maintainer of FurMe, and will keep this in mind. But see #FurMe news above. — This, that, and the other (talk) 22:41, 25 July 2011 (UTC)
"When opening a user talk page, open it"
On Twinkle preferences, there is currently an option that starts with, "When opening a user talk page, open it" and has the options of new tab, new window replacing other talks, and totally new window. Is it possible to add a fourth option to this to the effect of "Do not open user talk pages automatically"? I would select such an option, because if I want to drop a talk message, I will do so separately, mainly because I don't want windows popping out at me. Can we implement this? SchuminWeb (Talk) 19:21, 26 July 2011 (UTC)
- For rollbacks, there are specific settings when user talk page is opened, see Wikipedia:TWPREFS#twinkle-config-section-4. →AzaToth 20:01, 26 July 2011 (UTC)
About the upgrade to Twinkle
- This section appeared at the top of WT:TW for several months.
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 withWikipedia.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 usemw.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)
Error with Traverse (#22)
I'm not familiar with github. Is the fact that this is still listed an acknowledgment that it is still known to be not working? --After Midnight 0001 02:35, 26 July 2011 (UTC)
- I've never used github, but I've glanced at it's site and found out it's a Linux-based source code repository, mainly for open source projects. I don't understand you're other question. --Nathan2055talk 16:55, 26 July 2011 (UTC)
- Yes, the green "Open" means the issue still persists. Amalthea 17:57, 26 July 2011 (UTC)
- He he, if only I had bothered to look at the right side of the screen. Thanks and sorry. --After Midnight 0001 00:05, 27 July 2011 (UTC)
- No worries. Amalthea 10:48, 27 July 2011 (UTC)
- He he, if only I had bothered to look at the right side of the screen. Thanks and sorry. --After Midnight 0001 00:05, 27 July 2011 (UTC)
Warn link from native rollback?
Any possibility of adding a "Warn" link or tab to the native rollback results page? I find that I prefer to use native rollback with Lupin's AVT, but I still warn the vandal with Twinkle because it offers the full range of uw-* templates. However, to do so, I have to copy the article name, manually navigate to the user's talk page, and paste the article name in the TW warning box. A link to warn directly from the native rollback results page, or at least to pass the article information to the user's talk page, would be wonderful. --Darkwind (talk) 08:34, 27 July 2011 (UTC)
- This sounds good. I would do it, but I don't have rollbacker rights... — This, that, and the other (talk) 09:02, 27 July 2011 (UTC)
- Hmm, I interpreted this as a request. :) Amalthea 10:47, 27 July 2011 (UTC)
- No, I'm just saying that, however enthusiastic I might be, I can't code this if I have no idea how the rollback interface works. — This, that, and the other (talk) 10:49, 27 July 2011 (UTC)
- I mean I interpreted this as a request to add rollback to your account. Amalthea 11:14, 27 July 2011 (UTC)
- I'd love an option to auto-warn a user when reverting vandalism. Perhaps it could even report the user to AIV once they reach level 4? --Nathan2055talk 17:22, 27 July 2011 (UTC)
- I mean I interpreted this as a request to add rollback to your account. Amalthea 11:14, 27 July 2011 (UTC)
- No, I'm just saying that, however enthusiastic I might be, I can't code this if I have no idea how the rollback interface works. — This, that, and the other (talk) 10:49, 27 July 2011 (UTC)
- Hmm, I interpreted this as a request. :) Amalthea 10:47, 27 July 2011 (UTC)
- I was thinking that a "warn" link, possibly next to the "welcome" link, would be really helpful. SchuminWeb (Talk) 17:24, 27 July 2011 (UTC)
- The welcome link doesn't appear on the native rollback results page either. Twinkle doesn't seem to be (currently) aware of that page at all. As for warning from diffs (where the welcome link currently appears), that's already handled by TW auto-opening the talk page during the reversion, and you click the warn tab there. --Darkwind (talk) 00:28, 28 July 2011 (UTC)
- I was thinking that a "warn" link, possibly next to the "welcome" link, would be really helpful. SchuminWeb (Talk) 17:24, 27 July 2011 (UTC)
Multiple issues
Template multiple issues has been expanded with a new parameter "link rot". Can this now done also integrated in twinkle? (Doesn't really belong here: has Smackbot to be updated also?) mabdul 10:57, 5 July 2011 (UTC)
- Done, pending code sync and an editprotected request. Sorry it took so long. — This, that, and the other (talk) 02:45, 30 July 2011 (UTC)
Requests for unprotection ends up in requests for protection
Bug: Using the rpp button and the unprotection drop-down to request a page unprotection lists the request in requests for protection, instead of under the proper header further down the page. Monty845 23:38, 9 July 2011 (UTC)
- Will fix. Thanks for letting us know. — This, that, and the other (talk) 08:12, 15 July 2011 (UTC)
- Sorry it took so long, but now fixed. — This, that, and the other (talk) 02:45, 30 July 2011 (UTC)
Feature requests from Nathan2055
I have a few feature requests for Twinkle:
- I'd like there to be an option to remove the new revert links in diffs, and an option to remove or keep the welcome links even if it's disabled.
- I'd like to be able to use the tag feature in all namespaces. Sometimes I need to mark a draft for review, and Twinkle would make it super-easy.
Thanks for making such a great tool! --Nathan2055talk 21:21, 19 July 2011 (UTC)
- Oh, wait. I found the option to remove the links in my WP:TWPREFS. I'm not sure if there is a way to keep the welcome links, though. Also, is it possible to leave an edit summary for all three types of rollbacks, or just the regular rollback? --Nathan2055talk 17:35, 20 July 2011 (UTC)
- There is no way to remove welcome links from diff pages, so they should always be there for edits made by users whose talk page does not exist. Also, it is currently not possible to enable a custom edit summary for vandal rollbacks; I think AGF rollback always asks for a summary, and vandal rollback never does - are you asking for an edit summary prompt for vandal rollbacks? — This, that, and the other (talk) 07:05, 21 July 2011 (UTC)
- AGF rollback does offer the editor an opportunity to add a summary. However, I don't see the purpose of having the option for one on vandal rollback. I mean, what else are you going to say besides that it's vandalism? It's vandalism, and the summary already adds that. We presume that the reason you're hitting the vandalism button is because it clearly is vandalism, and that's the reason you're reverting it. If you're doing rollback for any other reason, you shouldn't be using the vandal button. SchuminWeb (Talk) 03:08, 22 July 2011 (UTC)
- I have added your second feature request, and it will appear on-wiki shortly. — This, that, and the other (talk) 02:45, 30 July 2011 (UTC)
Article issues?
Don't know if this is a preferences issue that I have missed, but the {{articleissues}} template did not get pulled by Twinkle despite the option to use it being checked when I dropped four tags on a page at once (diff). Is this a bug, or am I missing a preference setting somewhere? Thanks! SchuminWeb (Talk) 17:06, 27 July 2011 (UTC)
- Are {{fansite}} and {{overdetailed}} supported by {{articleissues}}? That could be the problem, but I'm not a Twinkle developer. –Drilnoth (T/C) 17:31, 27 July 2011 (UTC)
- Both of those templates are indeed supported by articleissues. SchuminWeb (Talk) 19:16, 27 July 2011 (UTC)
- The problem is that Twinkle is unaware that {{overdetailed}} is supported by {{articleissues}}. I'll rectify that issue shortly. While I'm at it, I'll update Twinkle's entire {{articleissues}} support list. — This, that, and the other (talk) 07:46, 29 July 2011 (UTC)
- Fixed in repo, coming on-wiki soon. — This, that, and the other (talk) 02:45, 30 July 2011 (UTC)
Category: Dangerous Professions
- You can use Twinkle's CSD module to do this, or perform the edit manually. However, it is not usual to add a speedy deletion tag to a page that is being discussed for deletion. In future, please direct general questions like this to the Wikipedia help desk. — This, that, and the other (talk) 10:37, 29 July 2011 (UTC)
- Uh, what? Did you maybe post this in the wrong place? Beeblebrox (talk) 21:03, 29 July 2011 (UTC)
- Nope, I see what happened now, the user who asked the question removed their question after it had been answered:[3]. Beeblebrox (talk) 21:12, 29 July 2011 (UTC)
- Uh, what? Did you maybe post this in the wrong place? Beeblebrox (talk) 21:03, 29 July 2011 (UTC)
SPI addition of suspected socks
[4] Twinkle does not add on to the original Sock report, even if it's on the same day. --Σ talkcontribs 06:13, 30 July 2011 (UTC)
Unintentional blanking
Twice today, I've used Twinkle to make an edit. Both times, my edit was followed up with by a blanking edit that I did not authorize. – Muboshgu (talk) 18:16, 27 July 2011 (UTC)
- Were you doing multiple processes with Twinkle at once to the same page? I had that happen to me (diff) when I was nominating many files for deletion at once, and Twinkle overwrote some nominations that it did with the other nomination, since they were all done at the same time, and presumably pulled the same revision as a basis for its edit. If my reading of the issue is correct, it sounds like we're working faster than Twinkle is able to keep up with, and that's causing the problem. In other words, it's more of a human problem rather than a Twinkle problem. SchuminWeb (Talk) 19:22, 27 July 2011 (UTC)
- No, I wasn't using Twinkle for more than one thing at a time. Maybe I was editing other things too quickly at the same time? – Muboshgu (talk) 19:32, 27 July 2011 (UTC)
- I notice that the second edit is 59 seconds after the first edit; This doesn't seem to be possible. →AzaToth 19:37, 27 July 2011 (UTC)
- I noticed it too, which is what makes me think it's a Twinkle issue and not a human error on my part. I definitely didn't click Twinkle to make the same edit a second time a minute after the first one. – Muboshgu (talk) 19:44, 27 July 2011 (UTC)
- It happened again. This time, I noticed that I was editing another page (manually) in a separate window and the edit timed out as the Twinkle error was happening. I suspect it might be a Wikipedia server issue. – Muboshgu (talk) 20:08, 27 July 2011 (UTC)
- I noticed it too, which is what makes me think it's a Twinkle issue and not a human error on my part. I definitely didn't click Twinkle to make the same edit a second time a minute after the first one. – Muboshgu (talk) 19:44, 27 July 2011 (UTC)
- I notice that the second edit is 59 seconds after the first edit; This doesn't seem to be possible. →AzaToth 19:37, 27 July 2011 (UTC)
- No, I wasn't using Twinkle for more than one thing at a time. Maybe I was editing other things too quickly at the same time? – Muboshgu (talk) 19:32, 27 July 2011 (UTC)
- This sounds like a server (API) issue; not much we can do about those. Sorry. — This, that, and the other (talk) 01:56, 30 July 2011 (UTC)
- … or client issue since it only seems to happen for one user. Muboshgu, what browser are you using, and can you list the browser addons you have installed? Any personal firewall? Amalthea 09:22, 30 July 2011 (UTC)
Twinkle @es.wikipedia
Hi, does anyone know why twinkle doesn't work in eswiki?, some users were discussing it in the the village pump, but i don't know if they will be able to solve it.--Jcaraballo 21:39, 30 July 2011 (UTC)
- es-wiki uses its own (old) copy of Twinkle. The issue is already fixed. --Locos epraix ~ Beastepraix 00:47, 31 July 2011 (UTC)
Custom installation
I've used customized versions of Twinkle and/or Friendly for years. My current custom installation of the old version had been working fine until now. I'd like to use a customized version of the new Twinkle/Friendly. My attempts to get an unmodified version which I copied into userspace (an alternate account) to work have ranged from partially to completely unsuccessful. Can someone tell me exactly what to put where? To quote Denzel Washington, "explain it to me like I'm a four-year-old." Thanks. MANdARAX • XAЯAbИAM 20:55, 29 July 2011 (UTC)
- If you do make your own personal copy of Twinkle, you should frequently check the commit log of our github repository to keep your copy up to date.
- Copy MediaWiki:Gadget-Twinkle.js (and MediaWiki:Gadget-morebits.js and MediaWiki:Gadget-morebits.css, if you desire) to your userspace. (Beware if using Firefox that pasting such a huge amount of text into an edit field crashes that browser.)
- Make your modifications.
- I think it should be sufficient to import your custom script as follows (of course, in your skin JS file):
importScript("User:Mandarax/twinkle.js");
- Or if you made your own copy of morebits as well:
importStylesheet("User:Mandarax/morebits.css");
importScript("User:Mandarax/morebits.js");
importScript("User:Mandarax/twinkle.js");
- I hope this helps. — This, that, and the other (talk) 01:21, 30 July 2011 (UTC)
- Thanks for the reply. I tried it with an unmodified version to see if I could get it working. The first suggestion, just importing my copy of Twinkle, doesn't work at all. I had tried this prior to asking for help here and couldn't figure out how to correctly import the MediaWiki version of morebits, but never tried making my own copy. Your suggestion of using my copy of morebits partially works. Things like "rollback" and "restore this version" work, but most of the tabs do not. The "arv" tab gives me dropdowns (AIV, UAA, and 2 SPIs) and a blank "Work area" with no other options. Most tabs, including the following, do absolutely nothing when clicked: "warn", "wel", "csd", "xfd", and "rpp". MANdARAX • XAЯAbИAM 05:09, 30 July 2011 (UTC)
- Ah, yes... sounds familiar. I encounter that problem from time to time when testing Twinkle improvements. Writing a good loading system was one of the biggest challenges of implementing Twinkle as a gadget. One of the trade-offs of the current system is that modular loading has become impossible. At User:This, that and the other/twinkle.js, you can see a rather hacked-up version of a loader that was written by UncleDouggie earlier this year when we were still trying to decide what to do. You might like to play with that (and look through earlier revisions) - but, I warn you... it's some serious JavaScript.
- On the whole, this a fairly real problem, though. I know Amalthea has a personal wiki set up in which he can run a test version of Twinkle as a gadget, which is more than should be necessary for basic testing and customization. I'll look into figuring out a solution to this problem, as I would like it solved too. — This, that, and the other (talk) 08:13, 31 July 2011 (UTC)
- Thanks again. I'm working on an alternate way to do what I want, so I'll probably be able to get by without this. (Besides, I always found it a hassle to update my customized version to mirror changes whenever they were made to the official version.) I had just asked because I thought there was a very easy way to do it that I just didn't know about, so please don't go to any extra trouble just for me. But you do say you'd like it solved too, so if you do, I'd certainly like to hear about it. The efforts of you and the others involved in this project are much appreciated! MANdARAX • XAЯAbИAM 09:06, 31 July 2011 (UTC)
- Thanks for the reply. I tried it with an unmodified version to see if I could get it working. The first suggestion, just importing my copy of Twinkle, doesn't work at all. I had tried this prior to asking for help here and couldn't figure out how to correctly import the MediaWiki version of morebits, but never tried making my own copy. Your suggestion of using my copy of morebits partially works. Things like "rollback" and "restore this version" work, but most of the tabs do not. The "arv" tab gives me dropdowns (AIV, UAA, and 2 SPIs) and a blank "Work area" with no other options. Most tabs, including the following, do absolutely nothing when clicked: "warn", "wel", "csd", "xfd", and "rpp". MANdARAX • XAЯAbИAM 05:09, 30 July 2011 (UTC)
PROD postings going to userpages
Please assist I used Twinkle for two PROD notices and they went to a userpage here and here. Can this be fixed...? —Justin (koavf)❤T☮C☺M☯ 18:35, 30 July 2011 (UTC)
- The user talk page redirects to the user page. –Drilnoth (T/C) 18:49, 30 July 2011 (UTC)
- Ah I did not see that. Thanks. —Justin (koavf)❤T☮C☺M☯ 16:28, 31 July 2011 (UTC)
Saudi arabia
I really think that there are many points missing in the human rights section. I worked really hard to put in order everything so could you revert your deletion, please?
We can shorter the first section, if you like but I bellieve the rest is absolutely fine. The human rights section should be long because human rights violations in Saudi Arabia are severe and even apparently injust: judging a person without a proper trial, torturing them to agree what they're suppose to admit, even they're innocent, does not sound right whatsoever.
The article reads like praising the law system while it's being challenged in Saudi Arabia, beside severe punishments, and especially outside its borders by independent international organisations, too.
Also, you may not be able to access resources because access to them may be limited in your country, possibly Saudi Arabia. One of them is Amnesty International.
I referenced my section very well, giving a reference to all major points from recognised international organisations such as AI, FH, national SA NGOs among others so I see no reason to just delete it. Please, put it back. You may shorten them but the fact that so many aspect of human activity is limited must be reflected by the article, you see, otherwise its value will be very low. --Rejedef (talk) 01:46, 1 August 2011 (UTC)
- Is this message meant for the Twinkle developers? Logan Talk Contributions 03:19, 1 August 2011 (UTC)
- Based on the history of the Saudi Arabia article, it appears that this belongs on the talk page of that article. Rejedef was reverted by a user using Twinkle and told to take the issue to the talk page, but it appears he took it to the wrong talk page. I'll copy it over there and notify him in a moment. jcgoble3 (talk) 03:36, 1 August 2011 (UTC)
When an image is tagged for deletion, put a note on talk pages of articles where the file is used
See section title. :) Basically, right now an image can be nominated for deletion and editors of the article probably won't see any change until the image is actually deleted, because few users have images they didn't upload on their watchlist. Just a brief, one sentence note like "The file, <LINKTOFILE>, which is used in this article, has been <tagged/nominated> for <?speedy?> deletion. See <LINKTOTHEIMAGEPAGE/LINKTODISCUSSION> for details. ~~~~" –Drilnoth (T • C • L) 21:41, 10 July 2011 (UTC)
- Is there (a) a page specifying that this should be done, and (b) a template containing a message for this purpose? — This, that, and the other (talk) 10:30, 2 August 2011 (UTC)
- No and no. It was just a request someone asked me about on my talk page because they thought the tagging should be more visible to the articles' main editors, and I'd tend to agree. –Drilnoth (T/C) 13:17, 2 August 2011 (UTC)
Friendly clock
I've heard that Friendly included something called the Friendly clock. Is this usable with Twinkle? --Nathan2055talk 02:54, 1 August 2011 (UTC)
- There's another gadget which you can use instead (third gadget under "Appearance" in your preferences), and which offers the same or better functionality. — This, that, and the other (talk) 11:45, 1 August 2011 (UTC)
- I enabled the clock, but I don't see it anywhere. --Nathan2055talk 16:10, 1 August 2011 (UTC)
- If you're referring to the gadget This, that and the other recommended, it should be right next to the "Log out" link in the upper right corner of your screen. If you don't see it there, you may need to bypass your cache for it to appear. jcgoble3 (talk) 00:49, 2 August 2011 (UTC)
- Added it and bypassed my cache. No result. --Nathan2055talk 15:39, 3 August 2011 (UTC)
- Here's the problem. It doesn't work on the secure server. I've changed back, so it's fixed now. --Nathan2055talk 03:15, 5 August 2011 (UTC)
- Added it and bypassed my cache. No result. --Nathan2055talk 15:39, 3 August 2011 (UTC)
- If you're referring to the gadget This, that and the other recommended, it should be right next to the "Log out" link in the upper right corner of your screen. If you don't see it there, you may need to bypass your cache for it to appear. jcgoble3 (talk) 00:49, 2 August 2011 (UTC)
- I enabled the clock, but I don't see it anywhere. --Nathan2055talk 16:10, 1 August 2011 (UTC)
When I "tag" something it puts it on my watchlist - make it stop
Right, so when I use the "Tag" tab (from the FurMe merge) it adds whatever page I tagged to my watchlist. I can't figure out how to turn that off, and I really want to. Is there a way to do it that I'm just missing or is there no way to turn off the watchlisting? Sven Manguard Wha? 02:54, 5 August 2011 (UTC)
- Uncheck the option in the tag section at WP:TWPREFS, then clear your cache. --Nathan2055talk 03:13, 5 August 2011 (UTC)
Talkback updates
I'd like two updates to be done to Twinkle's talkback functionality. First, I'd like messages that don't include a comment to not be auto-signed. I would also like there to be the ability to use TB on your own talk page so you can place talkbacks for ongoing discussions you are in that you don't want to add to your watchlist. Thanks! --Nathan2055talk 22:22, 4 August 2011 (UTC)
- Maybe I'm not understanding something here, but what would be the purpose of using TB on your own talk page? I thought the purpose of a TB was for someone else to leave the TB to trigger the bright orange "new messages" bar to let you know that they've replied to your message elsewhere. Why would you ever need to leave a TB notice for yourself? (That said, I love the error message you get when you try it.) jcgoble3 (talk) 23:53, 4 August 2011 (UTC)
- Read Template:Usertalkback. Some people would want to place talkbacks on their own talk page to track discussions you are in. The actual purpose of talkback is indicating you will answer a discussion where it started. That said, you are right. It's good to be able to trigger the new messages bar. But people want to tract their discussions, without cluttering their watchlist. Think about what would happen if you watched the Help desk. Ouch! The non-autosign is so people who have auto-archive make TB be treated as a template which can be removed, not a message. --Nathan2055talk 00:20, 5 August 2011 (UTC)
- I still don't get it. I use {{Usertalkback}} on my own talk page to indicate where I respond, and I'm not understanding how it relates to leaving yourself a {{Talkback}} notice. They're two entirely different (though related) templates. If you want to track the discussions you're in, I would think it would be better and easier to just create a manual list on your user page or a subpage (or even at the top of your talk page). What purpose does placing {{Talkback}} notices on your own talk page accomplish that a simple manual list can't accomplish in a manner that's both cleaner and makes more sense to an observer (who might otherwise be wondering the same thing Twinkle says when you try it currently)? jcgoble3 (talk) 01:37, 5 August 2011 (UTC)
- I'm sorry, I misunderstood the template. I thought it said you should put talkback on your own talk, it meant they should put talkback on your talk page. However, I still think two updates should be done:
- I still don't get it. I use {{Usertalkback}} on my own talk page to indicate where I respond, and I'm not understanding how it relates to leaving yourself a {{Talkback}} notice. They're two entirely different (though related) templates. If you want to track the discussions you're in, I would think it would be better and easier to just create a manual list on your user page or a subpage (or even at the top of your talk page). What purpose does placing {{Talkback}} notices on your own talk page accomplish that a simple manual list can't accomplish in a manner that's both cleaner and makes more sense to an observer (who might otherwise be wondering the same thing Twinkle says when you try it currently)? jcgoble3 (talk) 01:37, 5 August 2011 (UTC)
- A preference that allows you to choose whether the talkback is signed yet (automatically set to off).
- An option to use {{talkbacktiny}}, {{whisperback}}, or {{ygm}} (and it's Twitter option) in the talkback dialog box.
- Thanks! --Nathan2055talk 22:05, 5 August 2011 (UTC)
My first mentioned problem, Twinkle leaving signatures when placing talkbacks, turns out to be a glitch! It shouldn't leave signatures unless a note is added! It thinks if the note space is kept blank it should still add a signature! --Nathan2055talk 02:58, 7 August 2011 (UTC)
- OK, I'll fix it. — This, that, and the other (talk) 03:17, 7 August 2011 (UTC)
Bug when reverting changes to a category
When you revert changes to a category, the link seems to get two colons instead of one, e.g. User talk:88.130.8.217#August 2011. –CWenger (^ • @) 07:19, 5 August 2011 (UTC)
- Hmm, that's interesting. I've fixed this in the repository, but it won't become live until an admin synchronises the gadget here. Thanks for letting us know about this - I never would have noticed it, myself. — This, that, and the other (talk) 12:08, 5 August 2011 (UTC)
- Should be live now. — This, that, and the other (talk) 01:38, 6 August 2011 (UTC)
- Thanks! –CWenger (^ • @) 02:29, 6 August 2011 (UTC)
- Should be live now. — This, that, and the other (talk) 01:38, 6 August 2011 (UTC)
Firefox and missing buttons
I just upgraded to Firefox 5.0.1, running on Mac OS 10.6.8. For some reason I have lost various buttons, which still appear when using Safari 5.1 and Opera 10.10. I have by-passed the cache running Firefox to no avail. I asked at WP:VPT and they could not replicate the problems and suggested I come here. The specifics are that I can still edit protected pages, delete pages and view deleted content etc. However in edit mode the "[rollback (AGF)] || [rollback] || [rollback (VANDAL)]" buttons are absent and the regular page buttons of "CSD/PROD/XFD/PP/Tag/Last/Unlink/Deli-batch" don't appear either. All these buttons are visible using Opera and Safari.
At VP I was asked "Do you see any JavaScript errors? (Go to Tools > Error Console)" to which the answer was essentially "no". (There were various en-Wiki related 'warnings', which are apparently "harmless"). Any suggestions gratefully received. Ben MacDui 09:12, 7 August 2011 (UTC)
- I notice you are loading Twinkle from your skin JavaScript file. Perhaps you could try removing the Twinkle line from this file, and instead enable it as a gadget on your preferences page. I can't see why this would have broken, but it's worth a try. — This, that, and the other (talk) 07:26, 8 August 2011 (UTC)
- I have just done this and it seems to work! Many thanks. Ben MacDui 17:13, 9 August 2011 (UTC)
- I have noticed that they sometimes don't appear as well. The links to rollback or welcome don't always appear either (though my admin rollback link is always there of course) and when I do rollback it opens the other user's talk page in edit mode but does not open a warning window (which I rarely use anyway as I prefer to welcome-vandal - but I don't need it to open the page in edit mode either way - unless I'm going to leave a custom message. I also have Twinkle enabled through my .js but Twinkle is not the only script I've had issues with, I have others that create additional tabs that don't always show up and I've noticed that my xfd closing scripts don't work though other people are using them; this is particularly ironic since others are leaving an edit summary that they closed using my script but I cannot and I've tried from multiple machines. I have not tried from another browser, so I'll have to do that and see if it really is a FF5 issue.--Doug.(talk • contribs) 09:56, 8 August 2011 (UTC)
- You can try avoiding
document.write
in the following way:
- You can try avoiding
// Script from [[User:AndyZ/peerreviewer.js]]
importScript('User:AndyZ/peerreviewer.js');
// [[User:Lupin/popups.js]]
importScript('User:Lupin/popups.js');
importScript('User:Interiot/Tool2/code.js');
importScript('User:AzaToth/twinkle.js');
importScript('User:Smith609/toolbox.js');
importScript('User:Lightmouse/monobook.js/script.js');
- See if that works. —mc10 (t/c) 18:39, 8 August 2011 (UTC)
- See above fix - and is there either an advantage in doing this anyway, and/or would it be helpful if I reversed the above fix as suggested by "User:This, that and the other" and implemented this to see if it works too? Ben MacDui 17:13, 9 August 2011 (UTC)
- Ben MacDui was already using importScript when he had the issue, so if his problem is fixed with Twinkle as a gadget, there is no point in changing back to importScript. — This, that, and the other (talk) 04:21, 10 August 2011 (UTC)
- See if that works. —mc10 (t/c) 18:39, 8 August 2011 (UTC)
friendlytabs.js
User:Ioeth/friendlytabs.js has been deleted. Can this please be restored, either to its original location or in my userspace? This is an extremely helpful little utility. When the change to the new system occurred, lots of people requested the return of this functionality, which was easily provided by importing this script. Thanks, MANdARAX • XAЯAbИAM 20:04, 8 August 2011 (UTC)
Done Sorry about that. Ioeth (talk contribs twinkle friendly) 20:09, 8 August 2011 (UTC)
- Wow! Thanks for the speedy response! MANdARAX • XAЯAbИAM 20:19, 8 August 2011 (UTC)
- I am wanting for the friendlytabs script to be installed separately as a gadget. The discussion is stale, though; see WP:GP. — This, that, and the other (talk) 04:19, 10 August 2011 (UTC)
- Wow! Thanks for the speedy response! MANdARAX • XAЯAbИAM 20:19, 8 August 2011 (UTC)
Requests for create-protection on existing pages
It is useful to be able to request create protection on a page that is marked for speedy deletion, but not yet deleted. Can we add the option to request create protection for an existing page? VQuakr (talk) 04:37, 10 August 2011 (UTC)
diff to previous editor
When a user performs several edits in a row, but the last one is not the current version, it's handy to be able to diff that just block of edits as a group. Does Twinkle have a shortcut for this that I haven't found? I'd much rather the "next-to-last editor" shortcut on the diff page be relative to the diff I'm looking at, not the current version of the page. It would be handy if it went forward as well - I'm looking for a "diff consecutive edits by this editor" quick link. So, for example: User A makes an edit. User B makes 5 edits. User C makes an edit. If I'm viewing a diff of any one of User B's edits, I'd love to have a link that would automatically open a diff of the last of User B's edits with User A's edit. Does this exist/is this possible? Thanks! --Fru1tbat (talk) 18:57, 9 August 2011 (UTC)
- There is the "since" button on diff pages: see this old bug report for a description of what it is meant to do. I personally never use it (I don't think many people use it, simply because they can't understand what it is meant to do...) and can't say whether they might help you do what you want to do. Perhaps "since" could be repurposed to make it more useful. — This, that, and the other (talk) 08:22, 12 August 2011 (UTC)
- The last comments there are exactly what I feel "next-to-last editor" should do. I just tried it on an article I recently rolled back (with Twinkle), and it diffed my latest edit with itself. I would be surprised if this were the intended function. :) The fact that "next-to-last editor" appears under the revision info on the left side of a diff page indicates to me that it is meant to (or should, at least) operate relative to the diff being viewed, not the article's overall history. If it kept the right side of the diff at the same revision and moved the left side back to the last edit by a different user, that would be extremely useful (and also much more intuitive, in my opinion). If it moved the right side forward to the last edit in that block by the same user (see my example above), that would be useful as well, but at a minimum, it should move the left side back without changing the right side, not create an entirely new diff to the current version, as it currently does. --Fru1tbat (talk) 13:15, 12 August 2011 (UTC)
- Sorry, I don't follow. What is "next-to-last editor"? It's not a feature that Twinkle provides. — This, that, and the other (talk) 02:58, 13 August 2011 (UTC)
- Really? Interesting. Oh, I just realized I added Twinkle at the same time as revisionjumper, and didn't even remember... Ok, so forget about the next-to-last thing, then, and pretend I was talking about the "since" tab at the top, as per the bug report you mentioned above... :| Wherever it is, it's a function I would use all the time if it were implemented correctly. --Fru1tbat (talk) 03:09, 13 August 2011 (UTC)
- Sorry, I don't follow. What is "next-to-last editor"? It's not a feature that Twinkle provides. — This, that, and the other (talk) 02:58, 13 August 2011 (UTC)
- The last comments there are exactly what I feel "next-to-last editor" should do. I just tried it on an article I recently rolled back (with Twinkle), and it diffed my latest edit with itself. I would be surprised if this were the intended function. :) The fact that "next-to-last editor" appears under the revision info on the left side of a diff page indicates to me that it is meant to (or should, at least) operate relative to the diff being viewed, not the article's overall history. If it kept the right side of the diff at the same revision and moved the left side back to the last edit by a different user, that would be extremely useful (and also much more intuitive, in my opinion). If it moved the right side forward to the last edit in that block by the same user (see my example above), that would be useful as well, but at a minimum, it should move the left side back without changing the right side, not create an entirely new diff to the current version, as it currently does. --Fru1tbat (talk) 13:15, 12 August 2011 (UTC)
Primary sources template
A discussion is currently going on at Template talk:Primary sources regarding the future of this template. Since this is used by Twinkle, you may be interested in participating. TechnoSymbiosis (talk) 00:45, 12 August 2011 (UTC)
Adding custom Items to Twinkle
Hi, In the Wikipedia:Twinkle/Preferences, there is a section where you can add whatever template to the twinkle menu. However this does not work for me. I wanted to add Template:POV, so i went to Wikipedia:Twinkle/Preferences->Tag->Edit items->I entered "POV" in the "Template name (no curly brackets)" field->saved cleared the cache & everything But nothing changed in the twinkle menu. What am I doing wrong? Thanks --Tachfin (talk) 17:17, 13 August 2011 (UTC)
- I've figured it out, i wasn't looking in the tag section :D (embarrassed). Anyway thanks twinkle is awesome!--Tachfin (talk) 19:31, 13 August 2011 (UTC)
- By the way, {{npov}} (which is on the Twinkle tag list) redirects to {{POV}}. And you weren't to know this, but an overhaul of the tag list is about to appear on-wiki, which includes {{POV}} under that name. — This, that, and the other (talk) 01:00, 14 August 2011 (UTC)
Adding custom warnings
It would be nice if the option to create custom warnings (for user talk pages) and warning levels. I have found many cases of not having the right option when I need to warn someone (in many cases, it is not a warning but a friendly notice). Could this feature please be added? Thanks. Rabbitfang 03:07, 14 August 2011 (UTC)
G10 - should have separate Attack and Negative unreferenced BLP buttons
I recently tagged an article with G10, as it was completely unreferenced and I considered it disparaging to the subject as it detailed his conviction for spying. A user alerted me that the notice left by TW on the article creator's talk page focuses on "creating attack pages" and doesn't mention negative unreferenced BLPs. So I've just created {{Db-negublp-notice}} to be used when that side of the G10 provisions is used, rather than an attack page. Interestingly, the {{db-blp}} notice that is on the actual page doesn't mention attack pages at all, only in a link. So can we split G10 into two buttons - one for attack pages and one for negative unreferenced BLPs. (Just did a search - I asked for this last year! The-Pope (talk) 14:09, 30 June 2011 (UTC)
- I have created {{db-negublp}}, and will add it to Twinkle. — This, that, and the other (talk) 03:36, 15 July 2011 (UTC)
- Done pending on-wiki sync. — This, that, and the other (talk) 02:45, 30 July 2011 (UTC)
- They're the same thing, pretty much, except that one only applies to BLPs. --Σ talkcontribs 00:22, 6 August 2011 (UTC)
- Yes, the CSD tags are practically identical. But the talk page notifications are quite different, which is the reason for the distinction. — This, that, and the other (talk) 01:38, 6 August 2011 (UTC)
- I think this is now live. — This, that, and the other (talk) 10:15, 14 August 2011 (UTC)
- Yes, the CSD tags are practically identical. But the talk page notifications are quite different, which is the reason for the distinction. — This, that, and the other (talk) 01:38, 6 August 2011 (UTC)
- They're the same thing, pretty much, except that one only applies to BLPs. --Σ talkcontribs 00:22, 6 August 2011 (UTC)
- Done pending on-wiki sync. — This, that, and the other (talk) 02:45, 30 July 2011 (UTC)