User talk:EhJJ/Archive 2

Latest comment: 12 years ago by Philosopher in topic Twinkle fix

Twinkle on Simple.WP

Hi EhJJ, I notice you run Twinkle on this Wikipedia. I was talking with its creator a while back about some problems in various browsers, with the message box popping up while Twinkle was working, and it not going away when the job is done - it sticks, doesn't confirm that it's finished, and stays there. You have to use the X in the corner to remove it. I've tried this on the only two browsers I have which work with Twinkle, Chromium and Firefox 3.6.16, and it does the same.

Having spoken with AzaToth, the suggestion is that we may be using an old, old version, and he suggests importing all the latest script that en.wikipedia is using, and applying our local changes to it (tabs, simplifying the warnings and messages, etc).

Incidentally, I am running twinkle on Chromium 11.0.696.68 (Stable), and Firefox 3.6.16, on Mandriva 2010.2 (i686, 4GB, SMP).

Is there any chance you could look into fixing this please? Thanks. BarkingFish (talk) 00:23, 22 May 2011 (UTC)Reply

"Updating" Twinkle takes quite a bit of work, since it is not easily localized (something I may discuss with AzaToth in the future, but haven't yet). I haven't been editing here since October 2010, since I was quite busy with medical school. I've now graduated, so I have a little more time to spend on projects like this, so I may "update" Twinkle in the next week or two. That said, I'm always willing to let someone do all that work for me! ;) Best, EhJJTALK 05:33, 22 May 2011 (UTC)Reply
Ok. Problem fixed. Turns out that was due to a small spelling error "twinle" about 3/4 of the way through the code. Should work fine now, although it's still a bit outdated largely because our templates are also old. Thanks! EhJJTALK 19:39, 1 June 2011 (UTC)Reply
  • I had problems with the combination of Twinkle, Vector and FF4, with a clash with some other scripts I was using. Once I deleted the scripts Twinkle worked again, and I have not yet reinstalled the scripts to see which one was causing the problem. --Peterdownunder (talk) 12:25, 3 June 2011 (UTC)Reply
Ok... so... the problem lies in morebits.js, which is identical to the en version. I can't find anything wrong with the code, and it appears to work perfectly fine if warning a logged-in user, but causes an error when warning IPs. I've added two lines of code to catch the error and suppress it. Twinkle now acts like it's working correctly, so I'm going to consider it "good enough". EhJJTALK 19:48, 4 June 2011 (UTC)Reply

Renaming username

Here is when you can change my name: a firm date is after June 8th. --Jeffwang16 (talk) 21:28, 1 June 2011 (UTC) (w:User_talk:Maxim#Please_consider_being_active_on_Wikipedia:Changing_username.2FUsurpations)Reply

Thank you

Thanks for letting me know, I'll try to be a bit more careful. Ok thanks again. P.S. I new that rule but thought it wouldn't apply for different languages sorry. Boredsohere (talk) 14:47, 6 June 2011 (UTC) THANK YOU! AGAIN! LOLReply

Please rename

I need to be renamed now, I usurped the username on enwiki. --Jeffwang16 (talk) 20:10, 6 June 2011 (UTC)Reply

I took a look at it this morning, but I thought they were going to wait until June 7 or 8. Glad it gone done early, and I've made the change here for you, too. Let me know if there's anything else. Regards, EhJJTALK 20:33, 6 June 2011 (UTC)Reply

Twinkle

Twinkle stops midway through the warning process. Could you look into it? Griffinofwales (talk) 23:56, 28 July 2011 (UTC)Reply

Twinkle not working for some functions

About a day ago, Twinkle started failing when I try to use the "quick delete" function. I click on the "quick delete" tab at the top of the page, click on the reason for the delete and then press enter. All I get are these messages:

Checking if page exists: It seems that the page doesn't exists, perhaps it has already been deleted
Tagging complete: completed

Is it me or is it Twinkle? Thanks! --Auntof6 23:24, 22 September 2011 (UTC)Reply

It's small changes that are made to the MediaWiki API that require constant maintenance of all code (Gadgets, Bots, etc.) I've taken a look at Twinkle on En and it has been dramatically changes since I last "synced" Simple's code with updates made to En's code. This will need to be done again, but I'm not sure how many people use Twinkle on here and whether it's worth the effort. Perhaps I'll post that question to wp:Simple talk and find out. EhJJTALK 18:54, 24 September 2011 (UTC)Reply

Twinkle fix

There is an issue that is literally "minor". When the page hasn't been created, the script twinklewarn.js tries to check a field of an undefined variable. This is fixed easily (at least for my browser): check if the variable's type is undefined first as in User:PiRSquared17/testwarn.js. Fixed using console (on Safari). Does it work on other browsers? πr2 (talk • changes) 00:55, 31 October 2011 (UTC)Reply

  Done by Djsasso [1] EhJJTALK 04:39, 1 November 2011 (UTC)Reply

I forgot about twinklespeedy, which also may create a page (talk page). You need to fix it:

		userNotification: function( self ) {
			var nowelcome = TwinkleConfig.welcomeUserOnSpeedyDeletionNotification.indexOf( self.params.normalized ) == -1;
			var form = self.responseXML.getElementById( 'editform' );
			var text = form.wpTextbox1.value;
 
			text += "\n\{\{subst:QD-notice|page=" + wgPageName + "|cat=" + self.params.normalized + "|reason=" + twinklespeedy.reasonHash[ self.params.value ] + "\}\} \~\~\~\~";
			var postData = {
				'wpMinoredit': DO A SIMILAR THING WITH TYPEOF,
				'wpWatchthis': form.wpWatchthis.checked ? '' : undefined,
				'wpStarttime': form.wpStarttime.value,
				'wpEdittime': form.wpEdittime.value,
				'wpAutoSummary': form.wpAutoSummary.value,
				'wpEditToken': form.wpEditToken.value,
 
				'wpSection': '',
				'wpSummary': 'Notification: Quick deletion nomination of \[\[' + wgPageName + '\]\].' + TwinkleConfig.summaryAd,
				'wpTextbox1': text
			};
			self.post( postData );
		}

Sorry, I hope nobody had trouble with this. πr2 (talk • changes) 15:34, 2 November 2011 (UTC)Reply

Added an edit for A6, just FYI. --Philosopher Let us reason together. 22:59, 5 December 2011 (UTC)Reply
Return to the user page of "EhJJ/Archive 2".