Wikipedia talk:Twinkle/Archive 3

Latest comment: 16 years ago by AzaToth in topic Headline levels
Archive 1 Archive 2 Archive 3 Archive 4 Archive 5 Archive 10

history problem // using with ZoneAlarm running

I still have a problem with the history, all links stay blue. On the other hand, I'm able to use TW with ZoneAlarm running, for whatever reason. Or has this been fixed in the meantime? —KNcyu38 (talkcontribs) 01:06, 24 March 2007 (UTC)

same thing - I think that the script blocking/monitering option in ZoneAlarm is the problem - but it works for me because I don't need it - yaay for noscript! --Wavemaster447 21:29, 31 March 2007 (UTC)

I fixed the Bug :) disable ZoneAlarm's ad blocking that will fix your problem. Betacommand2 02:55, 2 April 2007 (UTC)

Problem with old warnings

As seen here, Twinkle seems to pick up final warnings from months ago and try to report to AIV from them. I'm not entirely sure that this isn't user error, but if it isn't, it's a problem. -Amarkov moore cowbell! 00:02, 2 April 2007 (UTC)

It's all manual reports. AzaToth 00:52, 2 April 2007 (UTC)
Oh. I was told otherwise, and I don't actually have a browser that will run it, so I couldn't test. It's good that it's all manual. -Amarkov moo! 00:56, 2 April 2007 (UTC)
Yeah, all the final decisions are manual, such as clicking "Save page". It'll put in the automatic edit summary and the stuff in the edit box, but it doesn't click the save button for you. Pyrospirit Flames Fire 03:07, 2 April 2007 (UTC)

Welcome Templates??

Is it possible to add a menu for welcome templates? Wikipedia:Welcome_templates has a lot of different welcomes but we don't need all of them, just one for anon IPs. and new users. -- Hdt83 Chat 04:18, 2 April 2007 (UTC)

WelcomeMenu is good. --TeckWiz ParlateContribs@(Lets go Yankees!) 14:11, 2 April 2007 (UTC)

Suggestion: prod

I just wanted to say thanks -- TW is one heckuva a great tool! -- and make a small suggestion: TW already works great for CSDs and I'm not sure how I feel about adding a AfD-at-your-fingertips-o-matic to a popular anti-vandalism script, but how about support for PRODs?

Granted, there are already scripts to (semi-)automatize prod'ing but I like my scripts nice, tidy (well, make that as compatible as possible) and with a side dish of 'a clean interface'.   Additionally, I don't really see any downsides: WP assumes its users are familiar with WP and its policies anyway and prods aren't all that fundamentally different from CSDs. In terms of potential abuse, I don't really see any differences either (plus, TW could, and probably should, default to PRODWarn the creator and recent editors of the article in question).

Thanks again and keep up the great work! -- Seed 2.0 16:53, 1 April 2007 (UTC)

Ok, new module, twinkleprod.js AzaToth 01:40, 2 April 2007 (UTC)
Awesome! Thank you. -- Seed 2.0 13:27, 2 April 2007 (UTC)
I just glanced at it, and I think that markProdPagesAsMinor should probably default to false instead of true. WP:PROD specifically says don't mark the edit as minor. Thanks tho! — RevRagnarok Talk Contrib 15:33, 3 April 2007 (UTC)

Requested addition

Azatoth, would you consider adding the "UsernameConcern" template to the single-level warnings menu in Twinkle? Thanks... RJASE1 Talk 14:44, 3 April 2007 (UTC)

Watchlist problems

I don't know if this is a bug in Twinkle or if it's me, but every time I revert a change using Twinkle, it adjusts my watchlist. If it's a watchlisted page, it takes it off my watchlist. If it's not on my watchlist, it puts it on there. I believe I set my monobook.js file (User:SchuminWeb/monobook.js) to not mess with my watchlist, but it's still adjusting my watchlist. Does anyone know what's wrong? Is this a Twinkle bug, or is it the way I have my Monobook file set? SchuminWeb (Talk) 23:14, 3 April 2007 (UTC)

ZoneAlarm

As an FYI, it seems to be working on my second machine now - the one with ZoneAlarm. Dunno what's changed... — RevRagnarok Talk Contrib 00:57, 4 April 2007 (UTC)

Warning users for vandalism

When you use the menus for vandalism warnings, it adds it as a level 3 heading (===). This makes it look like it's a subsection of the previous section. Shouldn't it add it as a level 2 heading (==) instead? Macintosh User 19:46, 2 April 2007 (UTC)

Hmm, it shouldn't add any heading, the only way a heading might appear, is if someone is using section=new. AzaToth 20:02, 3 April 2007 (UTC)
I definitely just did it for a vandal attack AIDS and it puts up a header without hitting the new section button, it was a plain ol' edit to the vandal's talk page. JoeSmack Talk 13:18, 4 April 2007 (UTC)
I've also been wondering how to change this. It puts out level 3 headings for me too (i.e. ===). -- Cielomobile talk / contribs 18:25, 4 April 2007 (UTC)

Use with non-en site

How do I use twinkle with my es.wikipedia.org account? In sum, for User: how do I specify to grab it from an en:user?

importScript('User:AzaToth/morebits.js');

Thanks. Jebba 16:28, 4 April 2007 (UTC)

I use this code:

//

// [[w:es:Usuario:Axxgreazz/monobook-suite.js]]

document.write('<'+'script src="http://es.wikipedia.org/w/index.php?' 
+  'title=Usuario:Axxgreazz/monobook-suite.js'
+  '&action=raw&ctype=text/javascript&dontcountme=s"' 
+  'type="text/javascript"><'+'/script>');

//

Patstuarttalk·edits 16:42, 4 April 2007 (UTC)

That's cool, but it doesn't add twinkle itself. Are you suggesting I do something like this for each .js?
// [[w:en:User:AzaThoth/morebits.js]]

document.write('<'+'script src="http://en.wikipedia.org/w/index.php?' 
+  'title=User:AzaThoth/morebits.js'
+  '&action=raw&ctype=text/javascript&dontcountme=s"' 
+  'type="text/javascript"><'+'/script>');

//

Jebba 16:56, 4 April 2007 (UTC)


Ok, I couldn't get it to work that way, so I just copied over all the Twinkle files to my Usuario: (User:) page on es.wikipedia.org. So if someone wants to use it in the es.wiki namespace they can use this. Note it won't be up-to-date like AzaToth's if there are changes and it's in English. If someone knows a better way to do this, please ping me on my user page. Thanks to Gracenotes and FrancoGG who helped on IRC.
importScript('Usuario:Jebba/morebits.js');
importScript('Usuario:Jebba/twinklefluff.js');
importScript('Usuario:Jebba/Add LI menu');
importStylesheet('Usuario:Jebba/Add LI menu/css');
importScript('Usuario:Jebba/twinklewarn.js');
importScript('Usuario:Jebba/twinklearv.js');
importScript('Usuario:Jebba/twinklespeedy.js');
importScript('Usuario:Jebba/twinklediff.js');
importScript('Usuario:Jebba/twinkleprotect.js');
importScript('Usuario:Jebba/twinkleprod.js');

Jebba 18:07, 4 April 2007 (UTC)

Issues with script

This script often seems to be having bad effects on my computer. Often times, it has caused my browser to crash, whether on Linux or Windows.

Worse, things often don't work right; they always used to work correctly. The AIV reporter hasn't worked correctly for me since twinkle was started; it always gets stuck on the last step. And right now a lot of the buttons aren't working at all: I have no rollback button. Patstuarttalk·edits 16:13, 4 April 2007 (UTC)

It might be a problem when combining twinkle with some of VoA's stuff, but it shouldn't crash the computer. AzaToth 17:46, 4 April 2007 (UTC)
I tried removing that and refreshing browser; still not working. I am manually reverting all vandalism. Patstuarttalk·edits 18:40, 4 April 2007 (UTC)

User:Moreschi/monobook.js

I installed Twinkle, refreshed my browser cache, am running Firefox, and nothing. Any idea why? Moreschi Request a recording? 18:26, 4 April 2007 (UTC)

Not working for me at the moment either. Patstuarttalk·edits 18:40, 4 April 2007 (UTC)
Ditto. HornandsoccerTalk 01:32, 5 April 2007 (UTC)

Patstuart: It looks like you haven't added the LI menu stylesheet. You need to do that for the script to work properly.
Hornandsoccer: You only need to import the script once. ;) Moreschi, at this time your monobook.js file looks fine. Are you still experiencing problems (if so, please be sure to properly reload the script before you report any potential bugs -- thanks). -- Seed 2.0 02:28, 5 April 2007 (UTC)

Ok, I've removed one set of the code (good catch ;)). However, nothing changed...forgive me, I'm not very good with monobook stuff. Thanks for the help HornandsoccerTalk 03:21, 5 April 2007 (UTC)
What version of Firefox? A few days ago Twinkle stopped working on my university account, where they're still running Firefox 1.5. At home with Firefox 2.0 it works perfectly. --Pekaje 07:27, 5 April 2007 (UTC)
Hornandsoccer, try removing the assessment code on your monobook. It could possibly be interfering with twinkle. --KZ Talk Contribs 07:40, 5 April 2007 (UTC)
Still didn't work, so I put in Voice-of-All's rollback script, a version of Twinkle, which works fine. Not sure why Twinkle proper isn't working for me, but never mind. Moreschi Request a recording? 12:50, 5 April 2007 (UTC)
Those for whom Twinkle proper isn't working might like to copy my monobook, which works fine. Moreschi Request a recording? 12:51, 5 April 2007 (UTC)
I tried removing the assessment code, but it didn't do anything. I put VoA's script, and it works fine. HornandsoccerTalk 16:12, 5 April 2007 (UTC)

Some help

I'm trying to figure out how to use Twinkle without the script adding everything to my watchlist because it gets flooded I tried following directions but it did not work any suggestions please? thank you. Lakers 10:30, 3 April 2007 (UTC)

Hi. According to the history of your monobook.js, it looks like you forgot to edit, or in your case, nullstring the watchRevertedPages variable.

Adding

TwinkleConfig = {
       watchRevertedPages              :       [ ],
        };

to your monobook.js file should do the trick but still keep speedies in your watchlist. Please note, however, that watching previously vandalized pages can help tremendously if you're doing anti-vandalism work (ie. the 'more eyes approach'). Cheers, -- Seed 2.0 11:25, 3 April 2007 (UTC)

Hi do I put the code in my monobook? I tried it and did not work again, well I revert alot of vandalism and I can't see other important pages I edit so its important for both, I always double check the articles I revert, or the anons who vandalize I watch there contributions for a while to catch them vandalizing again, or look at my contributions I have reverted, thanks for your help. Lakers 20:02, 3 April 2007 (UTC)
No problem. :) Yes, the code needs to go into your monobook.js file (provided that you're not using a different skin). Your userfile looks fine though, so that doesn't appear the be the source of the problem. I assume you have reloaded the file as recommended. From the looks of it, you also don't seem to be running any other scripts which takes care of script incompatibilities. I also don't know of any Firefox plugins that break TW. What browser are you using, if you don't mind me asking? --Seed 2.0 21:30, 3 April 2007 (UTC)
I'm currently using FireFox. Lakers 01:11, 4 April 2007 (UTC)
Alright, thanks. If this turns out to be a Firefox-specific bug (which I don't think it is at this point), I can probably help get it fixed quickly or even see if I can fix it myself. If the problem you describe still occurs, I'll try to look into it as soon as I have time and access to a workstation with some proper tools (time being the real problem here ;). Cheers, -- Seed 2.0 02:12, 4 April 2007 (UTC)
Hi thanks for your help it seems it worked, thanks alot. Lakers 03:25, 5 April 2007 (UTC)
No problem. I'm glad to hear it works now. :) Cheers, -- Seed 2.0 12:35, 6 April 2007 (UTC)

"Minor" warnings

It looks like Twinkle automatically marks vandalism warnings as "minor". This is a problem because marking messages on user talk pages as minor prevents the "new messages" banner from coming up. Could we get this fixed? —Remember the dot (talk) 22:15, 5 April 2007 (UTC)

As I understand, only minor edits made by bots don't get noticed. Also, it's configurable. AzaToth 23:04, 5 April 2007 (UTC)
Oh. Thanks for correcting me. —Remember the dot (talk) 17:01, 6 April 2007 (UTC)

Custom Templates

Is there any way to add custom templates? for instance, if we wanted to add {{subst:Non-admin fwarn}} to our own custom list, is there a way to do that?--Wavemaster447 22:35, 8 April 2007 (UTC)

Not really, unless you want to copy and paste User:AzaToth/twinklewarn.js to your monobook and adding it from there? You could also ask Azatoth to add the warning, although I don't see the use of that warning... --KZTalkContribs 23:11, 9 April 2007 (UTC)

3 Revert Rule

Hi, I was blocked recently for the 3 revert rule. I didn't think I had violated it. It seems to me that others are easily able to violate this rule merely by teaming up with someone else. It seems to me difficult to edit this particular page because of possible bias that exists among some of the editors who are interested in this page.

Parmaestro 01:08, 13 April 2007 (UTC)

This isn't the place to discuss this. Instead, talk to the admin who blocked you on his talk page. The link to this page (TWINKLE) simply refers to the script that admin used to block you. (I'm aware this is somewhat misleading; it's a problem that has been brought up before.) Anyway, this page is the discussion page for some JavaScript created by AzaToth. Pyrospirit Flames Fire 15:27, 13 April 2007 (UTC)

Error in edit summary

Could you please erase the period (.) at the end of each edit summary? tz SIGN! 02:45, 14 April 2007 (UTC)

experimental afd/xfd module

Have made an experimental xfd module, at the moment, only afd is supported, and I won't "release" it yet, as it might be borked, who knows. If you want to try it, add:

 importScript('User:AzaToth/twinklexfd.js');

and hope for the best. AzaToth 00:23, 3 April 2007 (UTC)

I did a test by nominating the sandbox. It worked good. Thanks AzaToth. For everyone's info this script <advertising> creates the nomination page, lists the page on todays log, puts the notices on the page you put up for AFD, and notifies the creator of the xFD. It does everything for you! What could be better and easier! </advertising> --TeckWiz ParlateContribs@(Lets go Yankees!) 14:15, 3 April 2007 (UTC)
Hey, I havn't added a notification to original user yet, I'll do that soon. :) AzaToth 14:34, 3 April 2007 (UTC)
Oh. Well currently, when the script is xFD'ing a page, it lists notification as a step. --TeckWiz ParlateContribs@(Lets go Yankees!) 14:35, 3 April 2007 (UTC)
My mistake, It was ment as the step listing the afd debate page to the current day. I'll add usernotification asap. AzaToth 15:20, 3 April 2007 (UTC)
Have added first user notification now :) AzaToth 16:28, 3 April 2007 (UTC)
I'm happy to report that the xfd module appears to be working with real AfDs as well. For some reason, the notification routine didn't do its thing though (this is about this AfD). I did reload the script before I listed the AfD so it's definitely the new version. The infobox listed the 'notifying user' step as well, so I don't really know what happened. --Seed 2.0 13:36, 4 April 2007 (UTC)
It seem that it did all the steps, but by some reason it took some times. It should print in the bot a confirmation when the action is done, your actions where:
  1. 2007-04-04T15:20:30 (hist) (diff) m List of university libraries (Nominated for deletion; see Wikipedia:Articles for deletion/List of university libraries. using TW) (top) [rollback]
  2. 2007-04-04T15:20:24 (hist) (diff) m User talk:SimonP (AfD nomination of List of university libraries. using TW)
  3. 2007-04-04T15:19:31 (hist) (diff) m Wikipedia:Articles for deletion/Log/2007 April 4 (Adding Wikipedia:Articles for deletion/List of university libraries. using TW)
  4. 2007-04-04T15:19:10 (hist) (diff) m Wikipedia:Articles for deletion/List of university libraries (Creating deletion discussion page for List of university libraries. using TW) (top) [rollback]

AzaToth 14:24, 4 April 2007 (UTC)

Hi AzaToth, thanks for getting back to me so quickly. I must admit this is a bit odd. I'm on a leased line right now so bandwidth and congestion shouldn't be a problem and I could have sworn there wasn't a AfD warning on the user's talk page when I added it manually (I might very well may just have missed it though). Maybe this (and the long delays between edits you mentioned -- for the record I am usually using FF nightlies but was using FF-stable for this test) was due to some temporary server lag and the userpage edit just failed to go through for some reason. Anyway, I'm glad it's not a problem with TW. :) Take care, -- Seed 2.0 15:32, 4 April 2007 (UTC)
Just tried it out here. Seems to work fine, but apparently the status window remains after it's done doing its thing (or so I assume, given that it did the 4 things mentioned above). Might be something odd on my system. Using FF 2.0.0.1. --Pekaje 17:25, 14 April 2007 (UTC)
It stays for me also. It's probably programmed that way just so you know that everything went fine. --TeckWiz ParlateContribs@(Lets go Yankees!) 17:30, 14 April 2007 (UTC)
Fair enough, but then it should at least say that it's done, so that one knows it. I actually nearly closed the window early because of a slow submit ... --Pekaje 17:50, 14 April 2007 (UTC)
Hehe, as I said, it's experimental, I still need to add code to check the reply for each query if they suceeded (now it only replies ok when it get's any reply). perhaps I should change the status class to be able to operate per object, like I did for the QueryString class, also perhasp a static counter to see when everything is done. Why the window is still open, is that I really don't know which page to forward to, as I have made four edits which one would then be the most optimal? Also as a notice, everytime you run it, it will make ten queries to the server. AzaToth 19:52, 14 April 2007 (UTC)
Hey, I'm OK with experimental. I'm a software developer, so I know how that goes ;-)
Anyway, as for what page to forward to, I would suggest the page that was just nominated, possibly with an ?action=purge appended, as I often find that it takes a while before it registers that the entry was added (redlinked entry, even though it's there), and I may want to go there afterwards. At any rate, some indication that the procedure is done (successfully or not) would be nice. --Pekaje 20:03, 14 April 2007 (UTC)

Copvio warning

Hello there. I've noticed what I think is a small bug in Twinkle...

Whenever I post a copyvio warning on somebody's talk page, instead of pasting the correct URL into the message it just puts "({{{url}}} in this case)" into the message.Could you do something about htis (or just tell me where I'm going wrong!!). Ta. Chris 21:04, 13 April 2007 (UTC)

whick module and what template is it? AzaToth 19:54, 14 April 2007 (UTC)

It's when I tag something for copyvio (G12) using the db(csd) tag, and a new window pops up on the author's talk page. I'm using Firefox 1.5.0.11. Chris 20:45, 14 April 2007 (UTC)

Accidental Reporting

I accidentally clicked the "Vandalism" option on my own contribution page and I think I accidentally reported myself as vandalism. Does anyone know what happens with Accidental Vandalism reporting? Will I get blocked or something?

It should come up with a message saying "HAHA YOU JUST REPORTED YOURSELF" :)just kidding. But seriously, a pop-up will just say that you can't report yourself. -- Hdt83 Chat 00:20, 17 April 2007 (UTC)
There should be a "whitelist" so that users don't accidentally mark WP:AIV or their user page for speedy deletion. I was just testing to see if it worked. -- Hdt83 Chat 00:25, 17 April 2007 (UTC)
As it happens, you just tagged WP:AIV for speedy :-) I'm guessing that was TW again! - Alison 00:27, 17 April 2007 (UTC)
Whitelist? That's a good idea.... Though it'll probably be much harder than it sounds. --KzTalkContribs 05:23, 17 April 2007 (UTC)

More prod

I think the prod tab should list {{prod-2}} (with optional comment pop-up) as an option. Also see my note way above re: marking prod as minor. — RevRagnarok Talk Contrib 17:33, 17 April 2007 (UTC)

Documentation?

Are there any sort of instructions or documentation for Twinkle? The script page just tells how to install it, and gives a list of modules, but no explanation of what I should be seeing. Is it mouseover/pop-up menu-driven like PopUps? Or is it supposed to add links/tabs to my page? I installed the script in monobook.js, bypassed cache, and am not seeing anything different at all, and can't seem to find any explanation of what I should be seeing. I'm using Firefox 2.0.0.3 on MacOS X, by the way. Any information would be appreciated. Thanks, --MCB 05:59, 15 April 2007 (UTC)

OK, I saw two additional Rollback links on a diff page, and used one of them, apparently successfully (although I had the idea that the script would leave a warning on the reverted user's Talk page, and it didn't). But looking at all the module names I'm sure there are many more features, and it's frustrating not to have a list of them, or know where to look for them. Believe me, I'm grateful for the tool, but it looks like all the cool kids already know how to use it, and I'm still scratching about looking for clues. --MCB 06:38, 15 April 2007 (UTC)
I'll add some images of twinkle working...Hope that will help. --KzTalkContribs 06:44, 15 April 2007 (UTC)

File:Tw - Report.jpg

This is about what you should see...when on an userpage. I nearly reported Azatoth in the attempt to get this image though... --KzTalkContribs 07:41, 15 April 2007 (UTC)

Thanks... but I guess I'm missing something, since I don't see those tabs ("report", "db (csd)", db (reason)") on any pages. On a diffs page I see extra links ([rollback (AGF)] || [rollback] || [rollback (VANDAL)]) and "restore this version", but no tabs in the tab bar on any page. This is very confusing. --MCB 17:52, 15 April 2007 (UTC)
I'm missing those tabs too, on all pages. And on the diff pages I see those extra links too, but they don't work. I've been stuck with "undo" for a while.--Steven Weston 18:36, 15 April 2007 (UTC)
Steven, try setting out your monobook with spaces between each item. MCB, you needn't add [[WP:TWINKLE]] to your script. And also remove that edit counter, because it counteracts against the script. --KzTalkContribs 23:13, 15 April 2007 (UTC)
I removed the edit counter and the line
// [[WP:TWINKLE]]
(which is a JavaScript comment, not part of the code in any case) and bypassed cache, and there's no change, and I still don't see any extra tabs on user pages, or anything except the extra rollback/restore links. Also, I did another Twinkle revert (AGF this time) and it failed to leave a user talk message even after the script reported, "Opening user talk page..." --MCB 00:01, 16 April 2007 (UTC)
You might have popup-blocker. AzaToth 00:03, 16 April 2007 (UTC)
Popup blocker wouldn't stop the tabs from appearing though...a long shot, but replace your Lupin popup with this.

//[[User:Lupin/popups.js]]

importScript('User:Lupin/popups.js');

--KzTalkContribs 00:50, 16 April 2007 (UTC)

Well, I tried that, and there seems to be no change. Also, I do have a popup blocker, but *.wikipedia.org is exempted from blocking (and I never got a "Firefox blocked a popup window" notification), so I don't think that's it. Again, the most frustrating part of this is that I don't know what I should be seeing (other than the user page tabs in the screenshot) so I can't be more helpful with debugging. I guess I can try to read the code and figure out what other features there are. --MCB 18:46, 16 April 2007 (UTC)
It seems like mine still isn't working too, I even disabled the popup blocker. Java goes beyond my powers, I cannot see what's wrong.--Steven Weston 18:58, 16 April 2007 (UTC)
Guess what? It still refuses to work after copying your monobook.js, I just might give up and try something else. My browser's IE7 by the way, would that do something to hinder the code?--Steven Weston 17:56, 17 April 2007 (UTC)
Yes, that probably is it. It seems to work with Firefox or Opera, but maybe not with IE. You could try Firefox out. If it still doesn't work, copy the script in my monobook, which works fine with Firefox. I link to my monobook on my userpage. Moreschi Want some help? Ask! 17:59, 17 April 2007 (UTC)
Yes, it works fine on Firefox. It wasn't my fault. Thanks!--Steven Weston 13:27, 18 April 2007 (UTC)
This is amazing, it makes reversion and reporting so much easier and quicker. However, I noticed a couple of error messages with spelling/grammar errors (e.g. We where...); don't mean to be pedantic :-), but they are there for improvement. Otherwise, everything works well, well done.--Steven Weston 15:49, 18 April 2007 (UTC)

"Revert to Revision"

For a couple of days the above mentioned tag which should be present when you are comparing two different edits has been missing on Mozilla Firefox and I wonder if there is anything wrong with the script or is something wrong with my computer...--Cometstyles 15:02, 17 April 2007 (UTC)

Anyone knows if the script has been changed?...--Cometstyles 13:32, 18 April 2007 (UTC)
There shouldn't have been any changes, thus it should work. For me it works. AzaToth 13:45, 18 April 2007 (UTC)

Help for newbies?

O.k., I've loaded the script into my monobook (whatever that is). Now, how do I get this thing to do anything? Perhaps you should consider adding a "how to use" section on the project page. — Preceding unsigned comment added by Butwhatdoiknow (talkcontribs)

It's pretty simple really, so there's no real need for a manual. The tags are mostly self explanatory If you are unsure of what to do, go to the sandbox and start testing. If you need specific help on something, put it here and someone will tell you. --KzTalkContribs 08:51, 18 April 2007 (UTC)
Ah, I see the tags now. Maybe all that needs to be added is something like: "Implementing this script should cause additional tabs to appear at the top of the viewing page. If you don't see the tabs right away you should ..."

Headline levels

Hello! I find this script very useful, but can I make a suggestion? I think that it would be better to include a level two header <nowiki>(== Headline text ==)</nowiki> instead of a level three. ONe user got mad at me because it messed up his/her TOC, because the header went under another header (so it was 2.1 instead of 3). Am I being clear enough? --Cremepuff222 (talk, review me!) 01:36, 9 April 2007 (UTC)

Yeah, that can happen (see here, for example). I wonder (not critizing, just honestly curious), is there a reason why 2L is preferable? -- Seed 2.0 02:19, 9 April 2007 (UTC)
That's nothing I can do anything about, it's not a function in the script to add a headline. I think it's when people are usiing section=new to warn someone that a section is created of the edit summary. The way twinlkewarn was ment to be used, is to edit the full page, not a new section. AzaToth 14:06, 9 April 2007 (UTC)
Well, actually it is possible to add a second headline level instead of three. I would fix it myself, but don't have the ability to edit full-protect pages. --KzTalkContribs 10:26, 19 April 2007 (UTC)

It's not working

What do I have to put in my monobook.js file to get Twinkle? I put in importscript ('User:AzaToth/twinkle.js'); The file doesn't work. What exactly do I have to put in? --CrnaGora 00:48, 19 April 2007 (UTC)

I am certainly no expert but I suspect that you are having the same problem I was having. This may solve the problem: empty the cashe on your browser and then re-load Wikipedia.Butwhatdoiknow 13:45, 19 April 2007 (UTC)

Additions

Mabey we should add a set of welcome messages, and I also think that some of the messages listed at thw single level section of the template messages. Some of the things like warning an article creator of speedy deletions and Afd's would be nice.

For some reason, the speedy deletion reminders causes the twinkle script to stuff up...so that won't work. --KzTalkContribs 11:15, 21 April 2007 (UTC)

Incompatibility with AWB?

I originally thought that it was a bug with AWB but, it appears it is related to Twinkle. See the bug report I submitted here. --Kimontalk 00:33, 21 April 2007 (UTC)

AWB uses the IE browser, so twinkle normally doesn't work with it. It has the same problem as VandalProof, which I don't use nowadays due to those errors. But somehow, AWB works, even though I am using twinkle. --KzTalkContribs 00:39, 21 April 2007 (UTC)
/*#### This area contains scripts only for Firefox ####*/
var detect = navigator.userAgent.toLowerCase();
var IE;
var place = detect.indexOf('msie') + 1;
if (place) IE=true;
if (!IE) {

/* Put all scripts you want disabled only in Internet Explorer in this area. */

}

Put this on your monobook, and it should work. --KzTalkContribs 00:45, 21 April 2007 (UTC)

That was it, thanks! I think this should be mentioned in the documentation somewhere. --Kimontalk 01:36, 21 April 2007 (UTC)
The documentation definitely needs to be written better. But Azatoth's pretty busy with his current projects... --KzTalkContribs 11:18, 21 April 2007 (UTC)

A problem

Hi! I jsut got twinkle, and it looks very nice. BUT. everytime I try it, I get this. "couldn't grab element "editform", aborting, this could indicate failed respons from the server" What does this mean, and how can I fix it? Thanks! N i g h t F a l c o n 9 0 9 0 9' T a l k 20:08, 18 April 2007 (UTC)

This problem is most likely a result of Norton AntiSpam's popup blocker. Symantec inserts some weird code into all pages after the ending html tag that breaks Twinkle. As far as I know, the only way to fix this is to disable popup blocking within Norton Internet Security. After that, Twinkle should immediately begin working. Pyrospirit Shiny! 22:55, 19 April 2007 (UTC)
Well I don't have Norton. Could it be all popup blockers in general? Do you think it would work if I disabled our security system's popup blocker even with Firefox's built in popup blocker? Thanks, N i g h t F a l c o n 9 0 9 0 9' T a l k 12:10, 24 April 2007 (UTC)

xFD

x != T

...that failed spectacularly... May want a safety check to abort if "template" namespace... — RevRagnarok Talk Contrib 02:46, 23 April 2007 (UTC)

As I typed before, the XfD module is still experimental, and I have only implemented the afd bit yet, might sit down fixing tfd and mfd later. AzaToth 19:51, 23 April 2007 (UTC)
I had seen that AfD was the only one tested so far, but thought the other code was there but untested. So thought I would comment that TfD wasn't working. If it's only AfD (for now) maybe the tab can be renamed AfD for now? Or some namespace check that said, "Not yet, hold your horses, XfD not supported yet." :) — RevRagnarok Talk Contrib 20:05, 23 April 2007 (UTC)
Have done a temporarily update to show at least that the other function are not implemented yet. AzaToth 23:28, 23 April 2007 (UTC)

I have added TfD now, hope it works. AzaToth 17:15, 24 April 2007 (UTC)

Other language editions

Is it possible to use this script on other language editions of Wikipedia? --Zzzzzzzzzz 03:36, 26 April 2007 (UTC)

Welcoming message

At some point, when I'm dealing with newbies, it's handy to have one-click WP:WT message on his/her talk page. Can this feature be added? Thanks. — Indon (reply) — 11:09, 24 April 2007 (UTC)

While I appreciate the sentiment (I use a welcome script myself), I think it's important to make sure that Twinkle doesn't become too bulky comprehensive. There are already a few welcome scripts that work well with Twinkle and hardly take up any screen real estate. Personally, I think it's important to focus on what Twinkle was designed to do and that is anti-vandalism work. In my opinion, it fares extremely well in that area because it is simple to use. I fear that usability may suffer though if too many templates are added. (Please don't take this the wrong way, Indon. This is more of a general observation than a direct reply. If you're looking for a tool to help you add tags, check out any of the welcome scripts (like this one) or for example Tags (shameless plug; disclaimer: doesn't add welcome template since other scripts already do; stunts performed by professional driver on closed course; always wear a seatbelt. ;) -- Seed 2.0 21:07, 24 April 2007 (UTC)
I didn't know if there is already welcoming script. Thanks and I agree with you that TW should be focus on anti-vandal/spam script. — Indon (reply) — 09:51, 25 April 2007 (UTC)
You could also customize your own version of tw, so that it does include the templates you want... --Kzrulzuall TalkContribs 02:41, 28 April 2007 (UTC)

I know it's a dumb question, but...

...how do I use the speedy deletion function in Twinkle? I see no special tab/link for it. I have the full script installed, and other stuff is here (proposing deletion, requesting protection, etc.). 夢の騎士Yume no Kishi - Talk 04:16, 28 April 2007 (UTC)

It's actually two tabs: "db (csd)" and "db (reason)". The former presents a drop list of all your speedy reasons, and the latter is free-form. Do these two tabs display on your screen? SchuminWeb (Talk) 04:43, 28 April 2007 (UTC)
No. But I guess it is a problem with my browser. I'm using the latest version of Opera, and here there are no speedy tabs. I think I should just change the browser?.. 夢の騎士Yume no Kishi - Talk 04:47, 28 April 2007 (UTC)
I'm testing your monobook configuration under my account, which uses Firefox. Stand by... SchuminWeb (Talk) 04:55, 28 April 2007 (UTC)
Okay... I copied your monobook.js file to mine, and took it for a spin. TWINKLE works perfectly for me under Mozilla Firefox. As a side note, Popups worked just fine as well. I'm thinking it might be Opera. Try it under Firefox and see what you get. SchuminWeb (Talk) 05:02, 28 April 2007 (UTC)
Eh... just when I got used to Opera... Yes, these tabs do appear in Firefox. Thank you. 夢の騎士Yume no Kishi - Talk 05:20, 28 April 2007 (UTC)
Does the pages look like the image above, in documentations or is something missing? --Kzrulzuall TalkContribs 05:05, 28 April 2007 (UTC)

Reverts on Opera

...does not work. There is simply no revert link on diff pages, and revert links on the history pages simply load diffs. I'm using latest Opera (9.20 build 8771). Is there something wrong? MaxSem 09:22, 16 April 2007 (UTC) PS: all other TW features seem to work fine.

Hmm, it suddenly started to work, seemingly for no reason. MaxSem 10:37, 28 April 2007 (UTC)

Reporting usernames to WP:AIV

When reporting inappropriate usernames to AIV, Twinkle uses the message "Username is a clear violation of the username policy". A new guideline was added recently to the AIV header that says:

New usernames that blatantly violate the username policy may be listed. However, any reports should still be accompanied with an explanation as to how the policy is violated. "Username is a clear violation of policy" is not sufficient.

It seems like Twinkle will need to change the way that inappropriate usernames are reported. Until then, the generic "report" option can be used and the reporter can type in a reason that meets the new criteria.

Maybe reporting usernames could work like csd currently does; with a list of common reasons with radio buttons? Just an idea... --NickContact/Contribs 15:09, 28 April 2007 (UTC)

I have suggested code on the talk page of WP:AIV... haven't tested it, though. GracenotesT § 00:12, 29 April 2007 (UTC)
If you want an alternate AIV username thing, you could try putting User:Kzrulzuall/Alternate report.js into your script instead of User:AzaToth/twinklearv.js. --Kzrulzuall TalkContribs 02:48, 29 April 2007 (UTC)
Sadly, your script won't work, because you seems to have mixed up variable username and name. I'll see if I can fix something else :) AzaToth 13:18, 29 April 2007 (UTC)

Does anyone know why this fails in IE?

I stubbornly refuse to use Firefox, so I've been trying to make it work with the Internet Explorer I use, but I can't figure out what's causing the problem, so I can't work around it easily. -Amarkov moo! 00:29, 29 April 2007 (UTC)

I think it has to do with the javascript that makes twinkle work. Firefox receives the javascript and interprets it correctly, while IE doesn't. --Kzrulzuall TalkContribs 00:34, 29 April 2007 (UTC)
I believe that is has to do with IE's inability to deal with XML via AJAX, or what I perceive to be that. For example, if you got the page history and reverting-to content in JSON rather than XML, it would work. However, there's still getting the edit box via AJAX, which fails badly. (You could have a near-twinkle script wherein the edit history is retrieved in JSON, as well as the page content, and then an edit page loads and you replace the content, but the asynchronous form is the main idea of this script.) GracenotesT § 01:22, 29 April 2007 (UTC)
Doing that is only possible if you are doing one single edit. In twinklexfd, there are up to ten connections to the server, by which four is edits. AzaToth 13:20, 29 April 2007 (UTC)
Yeah, XfD would be impossible to do that way, but it's not really what I'm after anyway. I just want to hijack the nice speedy deletion menu. :) -Amarkov moo! 16:47, 29 April 2007 (UTC)

Protection?

Why the RFPP button was removed from twinkle? WooyiTalk, Editor review 21:10, 30 April 2007 (UTC)

I still have it. Try clearing your cache. --TeckWiz is now R ParlateContribs@(Let's go Yankees!) 23:24, 30 April 2007 (UTC)

Username violaton

Per the current MfD on WP:RFCN and the previous one (linked on the talk page), can something be done about the username reporting function. I have been been frustrated, and I am aware of many other admins who are in a similar mood by the huge number of non-obvious username reports that are automatically marked as obvious. There have been a few calls for the username reporting function to be removed entirely from the script (for slightly different reasons) but personally I would be happy if you just modified it so as to force them to provide some sort of rational for the report. I am aware of the warning text they get when they report to AIV, but judging by the number of peopl ignoring ;that, I have to say that t obviously isn't enough. Can something please be done about this. ViridaeTalk 05:28, 30 April 2007 (UTC)

  • cough* code on the talk page of WP:AIV might be a good start... GracenotesT § 10:25, 30 April 2007 (UTC)
Hadn't seen that. Yes it would. ViridaeTalk 13:07, 30 April 2007 (UTC)
At the moment, I'm rewiting twinklearv almost from scratch, with more separation of reporting (aiv, socks, usernames to start with). AzaToth 13:57, 30 April 2007 (UTC)
Ah. Good luck! GracenotesT § 18:45, 30 April 2007 (UTC)
I'm done with the AIV part, but won't change it here until I have fixed the username part at least. how it looks atm:
 

AzaToth 20:55, 30 April 2007 (UTC)

Just wondering...what exactly does ARV stand for? --TeckWiz is now R ParlateContribs@(Let's go Yankees!) 23:10, 30 April 2007 (UTC)
I think it originally stood for "Automatic Reporting of Vandalism" or something similar, but as it doesn't fit any more, I changed it to "Advance Reporting and Vetting". AzaToth 23:33, 30 April 2007 (UTC)

Neat. I didn't expect the SimpleWindow! An nice improvement over modal dialogs and menus. GracenotesT § 23:36, 30 April 2007 (UTC)

New TwinkleARV is up and running now, so just reload your browser. AzaToth 17:01, 1 May 2007 (UTC)

AIV watchlist bug

it looks like after reporting a user to AIV twinklefluff added WP:AIV to my watchlist. my prefs aren't set to add articles to my watchlist by default after editing. whoopsies. JoeSmack Talk 18:50, 2 May 2007 (UTC)

Why are SD noms marked as minor?

I very rarely mark an edit as minor, and I definitely wouldn't mark an SD nom as minor if I was doing it manually. Is there a rationale behind the minor markings? Adrian M. H. 20:47, 2 May 2007 (UTC)

You can change this in your settings. I have no idea why it marks them as minor by default. If you need help changing your settings then ask me on my talk page. -Mschel 00:05, 3 May 2007 (UTC)
I assume it's to avoid flooding RC since the vast majority of Twinkle users won't have the bot bit set. -- Seed 2.0 09:41, 3 May 2007 (UTC)

Minor bug: double tagging

Hi, I just wanted to report a minor bug I just came across: when checking if an article is already marked for speedy deletion, Twinkle catches {{db-nonsense}} but it doesn't seem to abort when there's a {{nonsense}} tag on the page, thus resulting in a double tagging.

It's probably safe to assume it only shows up once at CAT:CSD so it's really no biggie but the (identical) templates are obviously still there which might look to a newcomer like the second editor is piling on. Cheers, -- Seed 2.0 09:54, 3 May 2007 (UTC)

To catch all possible redirects results in a really large regexp. I though that most people where using the templates with the db- prefix. I could add more if I get around :) AzaToth 11:32, 3 May 2007 (UTC)
Ah, I didn't think about that. To be honest, I didn't even know that {{nonsense}} redirected to the db-version until I saw somebody else use it. Using {{db-nonsense}} directly just always seemed logical to me, I guess. Since this only occurs when different editors (semi-)simultaneously tag an article for CSD (in any other case, editor #2 would see that editor #1 had already nominated the article), it's probably such a rare thing that messing with the regexps isn't even worth it. In a way, it's actually a feature and not a bug: sort of like prod2'ing a CSD. (I'm not just a glass-half-full kind of guy but also a former network admin. ;). -- Seed 2.0 14:15, 3 May 2007 (UTC)

WP:RFCN?

Why has TWINKLE started reporting usernames to the WP:RFCN? I reported an obvius violation of the username policy and it put it at the RFCN. -Mschel 14:12, 3 May 2007 (UTC)

It's based both on a total rewrite, a major misunderstanding of discussion between users here and a long debate of removing RFCN and create a new board. As for at the moment, no one knows, I think I wait a day or two before fixing the problem (if there is one). AzaToth 14:39, 3 May 2007 (UTC)

Remove Username Reporting function

I really think this function needs to be removed, Too many usernames are being added by those with itchy trigger fingers and marginal understanding of the Policy. This is one area where people really do need to take the time to do it manually. CASCADIAHowl/Trail 20:32, 4 May 2007 (UTC)

The new ARV module is totally different. The username dropdown now diplays a list of about 30 reasons why a username might be inappropriate, directly from WP:U. The user checks the boxes next to the ones that apply, and it lists those reasons in the report. It's not the basic "Violates WP:U" reports. --TeckWiz is now R ParlateContribs@(Let's go Yankees!) 23:56, 4 May 2007 (UTC)
At the same time, R, this ease of reporting has had many names come through that really shouldn't. CASCADIAHowl/Trail 02:31, 5 May 2007 (UTC)
I like TW. It does make it easier, and it reduces edit conflicts to high-volume places. Like I said, people now check boxes, that they have to actually read, instead of just deciding the username wasn't appropriate based on their own guidelines, and having it say "vio of WP:U." --TeckWiz is now R ParlateContribs@(Let's go Yankees!) 02:50, 5 May 2007 (UTC)

TW adding headings at UAA

Users have begun reporting names to WP:UAA, and everytime they do, it creates two headers, rather than a nice, simple, one-line report [1]. Could this please get fixed. Flyguy649talkcontribs 17:35, 5 May 2007 (UTC)

It's already been fixed. The person who did that probably just hasn't bypassed their cache again. --TeckWiz is now R ParlateContribs@(Let's go Yankees!) 17:55, 5 May 2007 (UTC)
Thanks. I'll let users know if need be. Flyguy649talkcontribs 18:02, 5 May 2007 (UTC)

Problems

Hi. I just imported your script into my monobook.js file, and it doesn't have all the features it says it will. I opened up a javascript window, and I'm getting these errors:

missing name after . operator -> ''QueryString.static = null''. 

(morebits.js)

QueryString not defined

(twinklefluff.js)

Invalid quanitifier:{ -> ''if( /{{sockpuppet/.exec( text ) ) { // already marked as a sock, just ignore then'' 

(twinklearv.js)

I'm using firefox, so it shouldn't be a problem. All I know is it's messing up the script so it won't work properly. The Evil Spartan 20:59, 3 May 2007 (UTC)

I tersted it here, and got no problem, have you tried reloading? AzaToth 21:26, 3 May 2007 (UTC)
Yes, I tried it on two different firefox browsers, on two different operating systems. did you try it with exactly my monobook? The Evil Spartan 21:26, 3 May 2007 (UTC)
No I didn't. AzaToth 21:32, 3 May 2007 (UTC)
All my page had was importScript('User:AzaToth/twinkle.js');. It might also have something to do with the fact I'm on restricted accounts, but I don't think so, because I tried it at home, though only briefly. The Evil Spartan 15:54, 4 May 2007 (UTC)
What exactly do you mean by restricted? If it's restricted as in 'Windows XP non-administrative account' then I'm pretty sure that's not the problem. If you're running FF in a certified environment (ie. a secure OS, in which case it's probably not wise to use any 3rd party code anyway, no matter how trustworthy the author is) or in a special purpose environment (eg. chroot, embedded, etc.), that might be the cause of your problems.
I suspect all of this is due to an extension incompatibility though. Could you please try to disable all extensions temporarily (you don't need to uninstall them; if you're running any recent FF stable, you can just disable and re-enable them without special tools), clearing your cache and reloading while WP:BYCing? If that doesn't help, could you please provide your UAS? Thanks. -- Seed 2.0 00:08, 5 May 2007 (UTC)
It may be a version problem too. I can't undo any extensions, because I'm on a restricted account; however, I don't think I'm running any on this Linux account. However, I have tried it on FF 1.0.7 on Linux, FF 1.x on WinXP, and I think I tried it on FF 1.x on Win98, and none worked. Only the WinXP computer had extensions that I know of. The Evil Spartan 20:37, 5 May 2007 (UTC)

ARV

Some usernames with (',")can not be reported because I think their is a javascript problem somewhere..----Cometstyles 18:16, 5 May 2007 (UTC)

Yea, I know, havn't just got around to fix it yet, will do it asap. AzaToth 19:38, 5 May 2007 (UTC)

Sock reporting

The sock reporting method by the new TW seems to be a bit confusing because when it reports a certain user as a sock, it tags the 'Suspected Sockpuppets' as a sock of the user you are reporting but doesn't do anything to the user being reported..why?..----Cometstyles 15:00, 6 May 2007 (UTC)

I tried to follow the guideline at WP:SSP, and it only says to notify the suspected sockpuppeter, not anything to tag the puppeter by any means. AzaToth 15:10, 6 May 2007 (UTC)

AGF rollbacks

AGF rollbacks don't work correctly in Opera 9.20. It stops working after entering a summary.---E-Magination 14:54, 6 May 2007 (UTC)

Does it in Firefox, too. It hangs after the summary, whether filled with a summary or if the box is cancelled. I like the progress so far, though. SchuminWeb (Talk) 14:57, 6 May 2007 (UTC)
Whoops, forgot a '+' there, should work now. AzaToth 15:03, 6 May 2007 (UTC)
I tried it out in the sandbox, and it works quite well! Greatly appreciated. SchuminWeb (Talk) 16:46, 6 May 2007 (UTC)
However, I tried it on a different computer a few hours later and also while using Firefox, and the problem recurs. Would this be a problem on my end, or was another adjustment made to TWINKLE? SchuminWeb (Talk) 22:32, 6 May 2007 (UTC)
Probably just a cache problem. AzaToth 22:52, 6 May 2007 (UTC)

Add appropriate user warning for speedy delete tag

I love how TW automatically plugs in the name of the article you nominated for speedy deletion after adding a speedy delete tag, however I don't care for the default creation warning, is there a way to use the appropriate user warning template for the speedy deletion tag used? Lil' Dice (yeah, I said it!) - talk 23:55, 10 May 2007 (UTC)

Internet Explorer

I haven't read more than the first paragraph where it says "All scripts on this page are only tested on Mozilla Firefox, Opera, and Camino; they may not work on other browsers (does not work at all in Safari) "

Why is it not tested in Internet Explorer, the most popular browser? Does it work in IE? --Indolences 23:10, 14 May 2007 (UTC)

First of all, I don't have Internet Explorer, so I can't test it on IE. Second is that it won't work in IE, as it's JS implementation is too buggy, and the major thing that breaks it, is that you can't force mimetype. AzaToth 11:58, 15 May 2007 (UTC)

Others wikis?

Does the script works in other wikis? (for example: es.wikipedia) Axxgreazz (consultas?) 17:55, 13 May 2007 (UTC)

Probably, with some tweaks. I have gotten it to work on commons. --Mschel 12:45, 17 May 2007 (UTC)

protection on opera on linux

I can't get the protection to work as an admin using opera 9.1 on linux. The popup box appears but nothing happens when I click the button. Here is the error from the error console.

JavaScript - http://en.wikipedia.org/wiki/List_of_The_Office_(US)_episodes
Event thread: mousedown
Error: name: TypeError
message: Statement on line 804: Could not convert undefined or null to object
Backtrace: Line 804 of linked script http://en.wikipedia.org/w/index.php?title=User%3AAzaToth%2Fmorebits.js&action=raw&ctype=text/javascript
SimpleWindow.frames[i].style.zIndex = 99;

Is this a known problem? Is there a list of bugs anywhere? CMummert · talk 21:45, 11 May 2007 (UTC)

I have known about the "error" message about the zindex, but at that time, when testing, it didn't affect anything, so I didn't concentrate on it. AzaToth 22:30, 11 May 2007 (UTC)

As long as I'm reporting errors, I get errors with the rollback functions. I'm on a different computer this time, opera 9.2 on linux. Here are the page load errors (only the JS errors, there are CSS errors too)

JavaScript -
http://en.wikipedia.org/w/index.php?title=User:CMummert/Sandbox&diff=129566092&oldid=129265653
Inline script compilation
Syntax error while loading: line 761 of linked script at
http://en.wikipedia.org/w/index.php?title=User%3AAzaToth%2Ftwinklearv.js&action=raw&ctype=text/javascript
 :
if( /{{sockpuppet/.exec( text ) ) { // already marked a


^

JavaScript -
http://en.wikipedia.org/w/index.php?title=User:CMummert/Sandbox&diff=129566092&oldid=129265653
Inline script compilation
Syntax error while loading: line 485 of linked script at
http://en.wikipedia.org/w/index.php?title=User%3AAzaToth%2Ftwinklespeedy.js&action=raw&ctype=text/javascript


switch( TwinkleConfig.userTalkPageMode )
^ JavaScript -
http://en.wikipedia.org/w/index.php?title=User:CMummert/Sandbox&diff=129566092&oldid=129265653
Inline script thread
Error:

name: TypeError

message: Statement on line 1238: Type mismatch (usually a non-object value used where an object is required)
Backtrace:
Line 1238 of linked script http://en.wikipedia.org/skins-1.5/common/wikibits.js?67

onloadFuncts[i]();
Line 1 of inline#4 script in http://en.wikipedia.org/w/index.php?title=User:CMummert/Sandbox&diff=129566092&oldid=129265653 if (window.runOnloadHook)

And when I click rollback, there is nothing in the error console but I get this error in orange in the page text:

Error: [Error: name: TypeError message: Statement on line 279: Could not convert undefined or null to object Backtrace: Line 279 of linked script http://en.wikipedia.org/w/index.php?title=User%3AAzaToth%2Fmorebits.js&action=raw&ctype=text/javascript return $JSL.encodeURI(str.toString().replace(elm, $JSL.$encodeURIComponent)); Line 283 of linked script http://en.wikipedia.org/w/index.php?title=User%3AAzaToth%2Fmorebits.js&action=raw&ctype=text/javascript return $JSL.encodeURI(encodeURI(str).replace(elm, (function (a,b) { return "%" + $JSL.charCodeAt(b); } ))); Line 619 of linked script http://en.wikipedia.org/w/index.php?title=User%3AAzaToth%2Fmorebits.js&action=raw&ctype=text/javascript resarr.push(encodeURIComponent(i) + "=" + encodeURIComponent(arr[i])); Line 288 of linked script http://en.wikipedia.org/w/index.php?title=User%3AAzaToth%2Ftwinklefluff.js&action=raw&ctype=text/javascript revertXML.open("GET", wgServer + wgScriptPath + "/api.php?" + QueryString.create(query), true); Line 1 of unknown script revertPage("norm", "CMummert"); ]

If this doesn't help, don't worry, it's worth using FireFox for TW. CMummert · talk 23:38, 11 May 2007 (UTC)

I really can't see what's the problem could be with if( /{{sockpuppet/.exec( text ) ) {. I'm afraid there are a major bug in operas js engine. AzaToth 10:01, 14 May 2007 (UTC)

I have this problem too on Windows 2000. I refuse to use Firefox, simple because it's awful.---E-Magination 12:10, 17 May 2007 (UTC)

It might be the regexp, I'll change it a bit, test it then. AzaToth 23:14, 18 May 2007 (UTC)

uw-copyright Templates

Hi Azatoth, yup, me again. ;) I just noticed a couple of things with regard to the whole copyvio talkpage template thing and I figured I'd just mention them real quick (since I have to run anyway).

  • Twinkle still seems to use uw-copyright[1-4] which might lead to some confusion as templates 1 through 4 now redirect to the same template.
  • For that reason, the URL of the page the copyvio content is taken from seems to get correctly piped into the (new) template which doesn't know what to do with it (just noticed that myself for the first time while leaving a warning on this talk page.
  • I haven't really made up my mind where I stand on the whole {{uw-copyright}} vs. {{Nothanks}} vs. {{Nothanks-sd}} vs. {{Cv}} issue, but it kind of looks like that stuff is here to stay. (What's that old George Carlin quote? Something like 'I put a dollar in one of those change machines. Nothing changed'?)

Alright, got to go (work is cutting into my wiki time again ;). Cheers, -- Seed 2.0 15:36, 14 May 2007 (UTC)

I was going to rewrite the wark module, but has only gotten half through, at the moment, I'm changing in almost all files... xfd, arv, warn, fluff. AzaToth 23:24, 18 May 2007 (UTC) -30 min

Help?

Hmmm, half my tabs at the top have vanished: I've no longer got the warn, db, report etc which I'm sure used to be there. All I have is the standard (article, talk etc) and then a watch one. I've tried reverting my monobook back to a version where I know it all worked fine but still nothing. Any suggestions? I use Lupin's tool as well, and Popups but that's never affected it before. It's an ace tool though, really helpful and I'd love to get it up and running again. Help gratefully recieved. --Farosdaughter 22:55, 18 May 2007 (UTC)

Hmm, it works for me and I'm running Popups as well (doubt it's Lupin's tool). Just to cover all the bases: have you tried closing the browser (manually kill it, if necessary)? The tabs you're seeing are the standard set so it's likely that the script is not even loading correctly. Could you please try to restart your browser and if that doesn't fix it, post the contents of your error console? -- Seed 2.0 23:04, 18 May 2007 (UTC)
I've closed all my browers (Firefox) and I've rebooted my laptop and still nothing. If you tell me what my error console is I'll gladly post it! I'm so technically un-savvy it's untrue :) --Farosdaughter 23:12, 18 May 2007 (UTC)
Um, yeah, maybe I should have mentioned that. ;) Sorry. I sometimes get ahead of myself. The error console is in the 'Tools' pulldown menu (ALT+T and C, if you're running the Windows version). Just be sure to clear it before you (hard-)reload your monoscript file (shift + reload). I checked out your monoscript file which looks fine. I assume you didn't install Noscript or some other Javascript blocker recently, right? In case I did miss something, you could also try the simple install since you're loading all modules anyway. -- Seed 2.0 23:21, 18 May 2007 (UTC)
Oh, by the way, you don't need to load the salt script since that requires the sysop bit to be set. -- Seed 2.0 23:26, 18 May 2007 (UTC)
Hmm, still nothing :(. I cleared the error console and it keeps loading new errors that look like this:

Error: missing name after . operator Source File: http://en.wikipedia.org/w/index.php?title=User%3AAzaToth%2Fmorebits.js&action=raw&ctype=text/javascript Line: 564, Column: 12 Source Code: QueryString.static = null;

but all say different things (there's loads so I won't post them all). Don't worry about this if you're really busy or whatever, I'll just keep poking at it till it rights itself. --Farosdaughter 23:33, 18 May 2007 (UTC)

Maybe empty your cache? That sometimes works... --Kzrulzuall TalkContribs 23:36, 18 May 2007 (UTC)
I did try that, no luck. --Farosdaughter 23:40, 18 May 2007 (UTC)
Do me a favor and just delete the code that loads Lupin's script for now and add <noscript>importScript('User:AzaToth/twinkle.js');</noscript> to your monobook.js. Oh, and please don't forget to reload while bypassing your browser's cache. -- Seed 2.0 23:43, 18 May 2007 (UTC)
Ooops, sorry. Mea culpa. I meant without the noscript tags: importScript('User:AzaToth/twinkle.js'); -- Seed 2.0 23:48, 18 May 2007 (UTC)
Nope, still nothing. It might be to do with some AntiVirus stuff my brother was twiddling with but as my other javascripty things (popups etc.) were still working I really don't know. No need to worry though: undo, whilst a little less sophisticated still works. Thanks for all the help- don't want to bother you anymore- and if anymore thoughts do occur, please pop by my talk. Regards, Farosdaughter 23:57, 18 May 2007 (UTC)
Hmm, that's strange since it doesn't appear to be a script error. I just went ahead and pulled up a Windows VM to verify that it works under XP with the latest version of Firefox. So, it definitely looks like a configuration issue and very well might be an overzealous AV scanner/firewall product. It's strange though that only Twinkle should stop working. Unfortunately, I pretty much have to go but I'll see what I can come up with tomorrow morning and if I get anywhere, I'll send you a message. Otherwise, you're welcome to contact me directly and, if you want, we can go over this together. If I have to I'll even break out the old trusty debugger (I'mm pretty sure it's not a Firefox issue though). Sorry, I can't be of more help right now. -- Seed 2.0 00:14, 19 May 2007 (UTC)

Glitch with restoring edits

When I restore edits using the link on the edit differences page, the page has the text "undefined" added at the beginning. It happens whether I used an edit summary or not. --Jordan Elder talk 00:56, 19 May 2007 (UTC)

I've sent AzaToth (creator) an email, posted on village pump... What is suggest is simply removing it by hand for now. Maybe there's are a bot that might be used to alleviate the mess. Evilclown93 01:24, 19 May 2007 (UTC)
It was because I have never found a good way to grab the text of an xml node in JS, it worked somehow, when I was using for( var i in foo ), and I though it would work as well to use for each( var node in nodes), but the undefined node values by some magical reason converted to a string there. I'm now changed it to use text = rev.textContent, and it works for me at least, no undefined text popping in. Hope it didn't destroy too much for you. Though it was only made for the revert to revision function, not for the main revert functionallity, so only a minor problem if I may say so. I hope opera can handle textContent, because I don't know any other way that works good, the previous code was a lousy hack, that was going through all possible childnodes of a node, and checkes if they where undefined or not. AzaToth 10:54, 19 May 2007 (UTC)

Uw-attack

Can {{Uw-attack}} be added to the list, or if it is already there somewhere, can you please let me know where to find it? --After Midnight 0001 16:05, 19 May 2007 (UTC)

Update to Image:Tw - Report.jpg

I uploaded a new version of Image:Tw - Report.jpg. The new version shows the new reporting Twinkle functionality as opposed to the old reporting Twinkle functionality. Funpika 01:44, 20 May 2007 (UTC)

Edit summary on rollbacks

Often, when using the "rollback function" or "restore version", I'd like to provide more of an explanation for the reversion. Is there some way I can modify twinkle so I can provide an edit summary? So I can say, "Reverted 3 edit by 67.84.116.10 to last revision by JayHenry. using TW -- this information was already discussed at Lewis Carroll and does not need to be here too" or something like this. I find that while Twinkle helps explain what version people revert to it often contributes to nearly useless edit histories. --JayHenry 19:58, 1 May 2007 (UTC)


I would like to see such a feature incorporated into the good-faith revert button. In my opinion, the good-faith summary is WAY too preachy, plus good-faith edits are usually when we need a free-form explanation the most. It might be worthwhile to make the summary like this: "Reverted good-faith edits by (name) to last version by (name) using TW: (explanation)" That would make it kind of like the undo feature built into MediaWiki, where people can add their own words after it. SchuminWeb (Talk) 20:20, 1 May 2007 (UTC)
I can agree to have it on the good faith summary. As for the others, you usually want to be able to revert as quick as possible. AzaToth 20:54, 1 May 2007 (UTC)
If it's not vandalism/nonsense I'm not really sure you do want to be able to revert as quickly as possible. Unless I'm just missing something obvious, what's an example where reverting edits with no explanation whatsoever would really be desirable just to save the three seconds it would take to type a brief explanation? --JayHenry 20:59, 1 May 2007 (UTC)
I'm not opposed to putting an optional free-form message on the middle button, either. Of course, having a far less preachy AGF button with a free-form summary would quite possibly make the use of the middle button less-used. I know I use the middle button for rollbacks when it's good faith, because I don't want to say the whole bit about policies and guidelines, and admonishing them to bone up on their policies. SchuminWeb (Talk) 05:00, 2 May 2007 (UTC)

Well, rather than whine about it, I got to looking at the javascript and it didn't look that complicated, so I tried modifying it myself. I made a copy of User:AzaToth/twinklefluff.js at User:JayHenry/twinklefluff.js. The AGF warning was this bit:

case 'agf':
summary = "Reverted [[WP:AGF|good faith]] edits by [[Special:Contributions/" + vandal + "|" + vandal + "]] per policy concerns. Please read up on [[WP:POL#Key_policies|policies and guidelines]]. Thanks!" + TwinkleConfig.summaryAd;
break; 

And I changed it to:

case 'agf':
summaryinput = prompt("Edit summary","");		
summary = "Reverted edits by [[Special:Contributions/" + vandal + "|" + vandal + "]] --" + summaryinput + " (" + TwinkleConfig.summaryAd + ")";
break;

I tested it out on my talk page and it works quite nicely. If the edit summary is too long it simply truncates. If anybody else wants to copy it, go ahead! If there are problems with it (I've totally never done anything with Javascript before) that I didn't think of please let me know! --JayHenry 05:05, 3 May 2007 (UTC)

Very nice Jay.. I would very much like to see this incorporated into the main script for most, if not all, of the rollback functions. I have been using 'undo' and always add a few words, and agree that typical TW rollback notices are inadequate for histories and review. For the speed demons out there, a additional keypress should leave the optional summary blank. here 22:04, 3 May 2007 (UTC)
One option would be to simply get rid of the AGF rollback and replace it with "Rollback with summary" or whatever you want to call it. The current AGF message is obnoxious and totally useless. A new user is never going to be able to figure out which of Wikipedia's hundreds of policies and guidelines they violated. This way a considerate editor can use "rollback with summary" and somebody who needs the speed can use the current rollback and vandalism rollback that's already there. --JayHenry 22:49, 4 May 2007 (UTC)
I think edit summary options should be added to all of the revert functions excluding vandalism.Wikidudeman (talk) 23:20, 4 May 2007 (UTC)

Ping.. Any thoughts on incorporating this? I'm fine installing a modified script, but this should be standard to encourage all users to add detail. Summaries are currently lacking/missing(!) here 07:13, 10 May 2007 (UTC)

Hey, I modified it over a week ago... :) AzaToth 10:30, 10 May 2007 (UTC)
Thanks! I was referring to the other revert abilities, specifically the 'normal' and 'revert to this revision' options. Perhaps JayHenry's suggestion of replacing the AGF option with a generic Rollback w/ summary? Or Wikidudeman's, which I agree with, adding the comment option for all revert functions. My motivation here is both for my own utility and to encourage others to use a few extra words when reverting, in many cases. Thanks again! here 22:46, 11 May 2007 (UTC)
At the risk of complexity creep; it could be controlled by the configuration options ;). here 22:49, 11 May 2007 (UTC)

Edit summary on "restore this version"

At User:JayHenry/twinklefluff.js which is my slightly modified version of User:AzaToth/twinklefluff.js, I added an edit summary box to "Restore this Version." It creates an edit summary like this. Here's basically what I changed.

Status.status( 'Updating the summary...' );
	var summary = 'Reverted to revision ' + content.getAttribute( 'revid' ) 
+ ' by [[User:' + content.getAttribute( 'user' ) + '|' + content.getAttribute( 'user' )
+ ']].' +TwinkleConfig.summaryAd;

Changed to:

Status.status( 'Updating the summary...' );
	varsummaryinput = prompt("Edit summary","");  
	var summary = 'Reverted to revision ' + content.getAttribute( 'revid' )
+ ' by [[User:' + content.getAttribute( 'user' ) + '|' + content.getAttribute( 'user' ) + ']]) '
+ varsummaryinput + '(' +TwinkleConfig.summaryAd;

When restoring to an older version, there's usually a reason more than vandalism. I definitely think it's a nice feature to be able to explain why such and such version is being restored. --JayHenry 02:50, 12 May 2007 (UTC)

Looks is perfect; could be used for any revert possibility, while keeping the one-button options as well. here 05:50, 12 May 2007 (UTC)
Aza, any interest in adding this to one of the non-AGF rollback funtions? Ideally, restore this version? Otherwise, I suppose I'll jump on JayHenry's fork. here 18:00, 17 May 2007 (UTC)
For what it's worth, I've been running my variation with "Restore Version" edit summaries for about a week and I've really found it to be a useful option. When the cause of restoring an older version is to fix vandals from multiple accounts it's easy enough to just say "vandalism," but when the reason is more complex (a combination of good faith, vandalism edits, and typos for example) it's essential to be able to explain why a particular version is being restored. --JayHenry 19:32, 18 May 2007 (UTC)

  Done AzaToth 23:03, 18 May 2007 (UTC)

I refreshed my monoscript.js and I'm still not seeing any prompt when 'restoring this version' .. am I missing something? Thanks. here 04:32, 19 May 2007 (UTC)
It was reverted during my sleep because of a bug, it should be fixed now. AzaToth 10:55, 19 May 2007 (UTC)
Lovely, works great. Thanks both ; here 19:00, 21 May 2007 (UTC)

Thank you Twinkle Creators

This tool is the best tool you could ever ask for in the fight against vandals. Thank you so much - Ayudante 19:25, 18 May 2007 (UTC)

Restore not working for me

Here is a nagging problem of mine. For some reason, the Restore this version button does not do anything. It has never worked for me, IIRC. Running Firefox/2.0.0.3 - Build ID: 2007030919. Monobook is here. Thanks in advance! ffm talk 19:07, 21 May 2007 (UTC)

What the??

I put a page up for speedy deletion (it may be deleted by now so I don't have a diff to show you) with G3, I got: Pure vandalism- I've never seen such a thing. I have, on the walls of the caves in Malta.(CSD G3) --Jordan Elder talk 04:35, 22 May 2007 (UTC)

Never mind, it's not in Twinkle; somebody messed with the speedy deletion template. --Jordan Elder talk 04:38, 22 May 2007 (UTC)

Error when using Rollback

I thought this may hae been an error with my work computer, but I'm having the same issue at home. Work computer's a PC running XP using Firefox 2.0, home PC is a Mac using OSX with Firefox 2.0. Whenever I try to rollback an edit I get "The recieved top revision id is less than our current revision id, this could indicate that the current revision has been deleted, the server is lagging, or that bad data has been recieved. Will stop proceeding at this point.". Any ideas? Wildthing61476 01:01, 22 May 2007 (UTC)

I'm having the same problem. Tried refreshing the cache and that didn't do it. Is it possibly a problem with Wikipedia's servers? The whole site seems slow to me today. --JayHenry 01:10, 22 May 2007 (UTC)

Appears there must be a bug. The rollback features are not working for me either on my home computer, a Mac Powerbook running OS X with Firefox. At work I am stuck with a PC and an old version of Internet Explorer, so TW never works anyway. Gaff ταλκ 16:36, 22 May 2007 (UTC)

Feature request

I enjoy using Twinkle - it really helps me edit and saves me frustration. I work a lot with images and subst templates like {{nsd}} and {{nld}} a lot. Any chance they could be squeezed in somewhere? --Strangerer (Talk) 07:21, 22 May 2007 (UTC)

Error message

TWINKLE worked great for a few hours, then it stopped working. I tried to do a rollback and I got this:

The recieved top revision id is less than our current revision id, this could indicate that the current revision has been deleted, the server is lagging, or that bad data has been recieved. Will stop proceeding at this point.

I have Norton AntiVirus but it was running the whole time, including when TWINKLE was still working. Any idea what's wrong? Thanks! Joie de Vivre 01:40, 22 May 2007 (UTC)

P.S. -- I'm running Windows XP Pro SP-2 and using Firefox 2.0.0.3
I'm having the same issue (see my above edit), and apparently we aren't the only ones with it. I tried refreshing my cache as well, no luck. Might be a Wiki issue, I'm not sure. Wildthing61476 01:44, 22 May 2007 (UTC)
The server has been lagging today. There's been notices up on watchlists and contribution pages every so often. That's probably why. (later)- yep. I'm having the same problem. --R ParlateContribs@ (Red Sux!) 01:45, 22 May 2007 (UTC)
Thanks for chiming in to let me know what you were experiencing. Hope it all clears up soon! Joie de Vivre 02:08, 22 May 2007 (UTC)
TWINKLE still does not work. Whats going on? Back to manual revert... -- Hdt83 Chat 03:38, 22 May 2007 (UTC)
The "restore this version" button is still working just fine for me. It's not ideal, but better than doing it manually if you have more than one edit to revert. --JayHenry 04:23, 22 May 2007 (UTC)
I'm having the same problem! Every time I attempt to revert using the "rollback vandalism" button, I get the exact same error message. Now I have to manually revert vandalism. It worked fine yesterday! Ali 04:34, 22 May 2007 (UTC)
This error happens since a change in MediaWiki yesterday - so TWINKLE has to be fixed. I've got the same problem on de.wikipedia --C-M ?! 07:36, 22 May 2007 (UTC)
Ok, got it - there has be a change on api.php - "rvprop=ids" has to be added to the api-call to get the revisionid's now - just a small change in twinklefluff.js - the query in function revertPage( pType, pVandal, rev, page ) has to be changed into:
var query = {
	'action': 'query',
	'prop': 'revisions',
	'titles': wgPageName,
	'rvlimit': TwinkleConfig.revertMaxRevisions,
	'rvprop': [ 'ids', 'timestamp', 'user', 'comment' ],
	'format': 'xml'
	}

--C-M ?! 08:16, 22 May 2007 (UTC)

Is this something I have to do as an end user or should this now be working for everyone? --Samtheboy (t/c) 08:57, 22 May 2007 (UTC)
I've left a note on Azatoth's Usertalk - he should change it as soon as possible - you could create your own twinklefluff.js in your usernamespace and use this instead of the original one if you need it realy fast. Greetings, --C-M ?! 09:43, 22 May 2007 (UTC)
I had the same problem. The restore button worked, but created a funny edit summary "Reverted to revision null by ..." :-) --Knverma 10:20, 22 May 2007 (UTC)

  Done AzaToth 13:24, 22 May 2007 (UTC)

Still getting the error message :( Ocatecir Talk 15:41, 22 May 2007 (UTC)
Did you refresh the browser's cache? Wildthing61476 15:45, 22 May 2007 (UTC)
That did it, thanks :) Ocatecir Talk 17:04, 22 May 2007 (UTC)

Hooray! Thanks to the code ninjas. Joie de Vivre 21:37, 22 May 2007 (UTC)

Special:Contributions

Was the revert tools removed from the Special:Contributions pages? Jerm 20:26, 22 May 2007 (UTC)

I still see it. It could just be that the users edits were all already reverted. --R ParlateContribs@ (Red Sux!) 00:43, 23 May 2007 (UTC)

Minor feature request

Is it possible to add a {{schoolblock}} block warning in the block warnings list? That would be quite helpful. —Anas talk? 08:53, 23 May 2007 (UTC)

I think the templates on TW are only the new uw- ones. Maybe suggest this at WT:UTM, as it would be a good idea a uw- version of that. --R ParlateContribs@ (Red Sux!) 11:25, 23 May 2007 (UTC)

Help

I'm having trouble getting it to work. I think I'm doing something wrong, as I use Firefox, cached the page several times, and don't use Norton. Is there any pro who wouldn't mind helping me out? Thanks in advance! hmwithtalk 21:42, 22 May 2007 (UTC)

Is anything different from when you installed it? --Mschel 00:53, 23 May 2007 (UTC)
I found the problem. At the end of the first line, insert
');

--R ParlateContribs@ (Red Sux!) 01:03, 23 May 2007 (UTC)

It works now! Thank you so much. hmwithtalk 20:01, 23 May 2007 (UTC)

Where did the color-coded revert features go?

I installed TWINKLE using the default settings. I also have popups installed. Previously, the recent changes page had extra text added to each line; with green and red links for reverting vandal or AGF changes. What is the reason that they are gone? Joie de Vivre 21:55, 22 May 2007 (UTC)

This is not a TW feature, iirc. IT was done in MW. ffm talk 23:55, 22 May 2007 (UTC)
I beg your pardon? What is MW? The only things I installed were TW with default settings and popups w/ default settings. I definitely had the rollback and rollback-vandal options on the "Recent changes" and user contributions pages. Where did they go? Joie de Vivre 00:40, 23 May 2007 (UTC)
I believe FFM is referring to MediaWiki the software that powers the entire site. But I'm fairly certain that the recent changes page has never had the rollback buttons. In my memory this function was only on user contribution pages (where it's still working correctly, no?) I don't think it's ever been on watchlists, recent changes or page histories. Or at least not since I started using TW. --JayHenry 01:24, 23 May 2007 (UTC)
I am sorry, I should have written out my comments in a more human-readable format. Also, I misread your question, thinking you were refering to the (+23) (-4) (0) numbers besides the RC. No idea unfortunatly why you are having this issue. They were never where you describe. ffm talk 19:47, 23 May 2007 (UTC)
I think that I got confused between user contribution pages and watchlist pages. I thank you for taking the time to explain.  :) Joie de Vivre 19:51, 23 May 2007 (UTC)

Can someone help me

Hi, I haven't used scripting in wikipedia before, so it's probably something I'm doing but I can't seem to get this working. I've copied the script onto my monobook page like the instructions said and refreshed it using Ctrl+Shift+R (I'm using mozilla). I've tried a variety of things, with/without the config, with other scripts (which seemed to work for the other scripts but not Twinkle), even copying the contents of each file and pasting it in the edit but I can't seem to get it to work. Is there anyone who can help me with this? Thanks Guycalledryan 09:25, 23 May 2007 (UTC)

Hey Ryan, I'll give it a try. What you have in your monobook.js file now should be fine if you remove the brackets. Please be sure to clear your browser's cache and hard-reload the page. That should do the trick. Cheers Seed 2.0 12:02, 23 May 2007 (UTC)
Thanks for the help, but I think I'm still doing something wrong. Perhaps it's got something to do with the coding of the page, atm I've just got a space then the import function, I've noticed that others pages contain <pre> and <nowiki> and //, do these need to appear somewhere? Thanks Guycalledryan 11:41, 24 May 2007 (UTC)
Well, that's see what we can do to help you then. You don't need any of the tags you mention. Those are just for formatting purposes: it just helps those of us who frequently deal with Javascript to keep track of things. They have no effect on the scripts themselves. I hadn't noticed the space when I looked at your monoscript before (mostly, because it's not so obvious when you're looking at the popup and not the actual page itself). That appears to be the problem: a leading space is interpreted as Wiki markup. It shouldn't actually be in your monoscript file. Hope that fixes it. :) -- Seed 2.0 14:22, 24 May 2007 (UTC)

Firefox blocking popups?

It used to work fine, but now Firefox is blocking popups from Twinkle, so I don't get the user talk page. Has something changed recently that would affect this? Any suggestions on settings for Twinkle and/or Firefox to get this to work? HeirloomGardener 21:18, 23 May 2007 (UTC)

Now it works. I didn't change anything. Strange. HeirloomGardener 19:07, 24 May 2007 (UTC)

"since mine" failure

lately i've been receiving the error message: No previous revision found, or Emerson7 is only contributor, when deploying the ‘since mine’ function when i know this to be incorrect. anyone have any suggestions for possible causes? --emerson7 | Talk 21:45, 24 May 2007 (UTC)

If the previous user made more than a certain number of consecutive edits, then it will fail because it can't see beyond a certain number of edits. Could you provide a specific example? SchuminWeb (Talk) 23:16, 24 May 2007 (UTC)
I've actually been seeing this error and a similar one with the "since" tab for a few days now. I think it happens on all articles on which I try to use it. --After Midnight 0001 03:03, 25 May 2007 (UTC)
I think I havn't fixed that one since the change of the API. AzaToth 09:43, 25 May 2007 (UTC)

  Fixed AzaToth 09:52, 25 May 2007 (UTC)

Sig

The signature and timestamp tildes aren't necessary in the {{uw-vblock}} template. Leaving users this warning with Twinkle creates duplicate signatures. Cheers, Anas talk? 13:18, 22 May 2007 (UTC)

Yes, I've had to make sure to remember to delete those, but I forget sometimes. It would be nice to have this tweaked. --After Midnight 0001 23:57, 25 May 2007 (UTC)

Where did TWINKLE go?

I logged out, and logged back in, and now TWINKLE is gone. Can anyone help? Joie de Vivre 02:59, 25 May 2007 (UTC)

I have had a similar problem, until I found out one of my recent new scripts that I found was screwing the other ones.CommonEditor2345 04:55, 25 May 2007 (UTC)

Yeah, that can happen. Unless you changed anything (ie. changed the script, loaded a new script, installed a new extension, modified your Javascript settings, etc.), a simple reload usually takes care of the problem. -- Seed 2.0 15:56, 25 May 2007 (UTC)
Yep! It took a few tries but it reappeared. (I hope it stays, I really like it!) Joie de Vivre 00:15, 26 May 2007 (UTC)

Firefox

Any known issues with certain extensions or something in firefox? I ask this because I'm using firefox and while the rollback tool works fine, the db (csd) part doesn't work well (the box comes up but when I select one of the reasons it doesn't delete or add the deletion template to the page). Yonatan talk 19:11, 27 May 2007 (UTC)

Headline levels

This was brought up last month (Apr 2007 Archive), but it looks like nothing happened. I would like to have Twinkle use level 2 headlines (== May 2007 ==) instead of the level 3 it currently uses for the month headline. Alternatively, I'd like to be able to turn that feature off, so it doesn't add those headings at all. Currently, I end up editing the heading to a level 2 or deleting it entirely. Can something be done about this? Thanks. HeirloomGardener 19:13, 24 May 2007 (UTC)

This is a simple change to the script -- I made it on my personal copy and I believe it's working: [2] On User:AzaToth/twinklewarn.js in two places you change:
var headerRe = new RegExp( "^===\\s*" + date.getUTCMonthName() + "\\s+" + date.getUTCFullYear() + "\\s*===", 'm' );
to
var headerRe = new RegExp( "^==\\s*" + date.getUTCMonthName() + "\\s+" + date.getUTCFullYear() + "\\s*==", 'm' );
And that makes all the headings level two. But while it's an easy change, I don't see any consensus to make this modification to the script and it just seems extremely trivial to me one way or the other. If everyone wants level 2 headings, that's the modification. I have to say I'd be rather opposed to leaving out headings completely. The use of headings makes it easier to assess whether or not an IP address has been warned recently (and hence needs a level 2 or 3 warning) or if it hasn't been warned in months (and a 1 or 2 might be more appropriate). --JayHenry 15:31, 25 May 2007 (UTC)
See the discussion from last month (linked above). Level 3 headings mess up the table of contents, since it places the level 3 heading as a subheading under whatever level 2 heading happened to be before it. Why does Twinkle use level 3 headings? HeirloomGardener 00:27, 29 May 2007 (UTC)
Ah, I see what you mean, it could create a subheading under something completely unrelated. (I guess I'm so used to seeing vandalism only accounts that it didn't occur to me that sometimes the warnings might get posted below something other than more warnings) Yeah, level 2 makes more sense. It's a simple modification as outlined above. --JayHenry 00:45, 29 May 2007 (UTC)
The reason for the level three heading, was because the user warning project page suggested that all warnings should be under an own heading. AzaToth 15:38, 30 May 2007 (UTC)