User talk:AzaToth/Archive September 2007

Latest comment: 16 years ago by Ignatzmice in topic Twinkle

Ribbon request

  Can you make a ribbon for the above barnstar? Thanks. --Sharkface217 09:10, 5 September 2007 (UTC)

Another ribbon request

File:Science barnstar einstein.JPG


A ribbon for this barnstar would be most appreciated. --Sharkface217 09:36, 5 September 2007 (UTC)

Major update

Hi AzaToth,

thank you for your Twinkle scripts I made hundreds of reverts with :). And also thank you for continually updating it. If you haven't already read it, I possibly found a bug that makes reverting with Twinkle difficult at the moment. Cheers  :) --Oxymoron83 22:33, 6 September 2007 (UTC)

Twinkle Speedy Broken

The expression is not a legal expression." code: "51 [Break on this error] var not_exists = xmlDoc.evaluate( '//pages/page[@title="' + wgPageName + '"]@...

Q T C 22:34, 6 September 2007 (UTC)

Hmm, what browser are you using? AzaToth 22:49, 6 September 2007 (UTC)
Firefox. Shouldn't:

var not_exists = xmlDoc.evaluate( '//pages/page[@title="' + wgPageName + '"]@missing', xmlDoc, null, XPathResult.BOOLEAN_TYPE, null ).booleanValue();
be
var not_exists = xmlDoc.evaluate( '//pages/page[@title="' + wgPageName + '" and not(@missing)]', xmlDoc, null, XPathResult.BOOLEAN_TYPE, null ).booleanValue

I dont know exactly what the @missing does, and .booleanValue is an attribute, not a function.
That should be what you want. Q T C 23:23, 6 September 2007 (UTC)
I'll keep all new conversation on the TWINKLE page Q T C

Twinkle Diff Broken

Broken as well. Q T C 22:37, 6 September 2007 (UTC)

Twinkle's CSD admin features are broken for me too. The tab is there and the box comes up fine; I'm able to warn and protect pages using Twinkle, but deleting hangs up at "deleting page: data loaded..." and nothing else happens. - KrakatoaKatie 23:10, 6 September 2007 (UTC)

This is great, but...

I love Twinkle, but when you did that major overhaul of it's script, you took out the tab to warn users, or apparently it no longer works. I was wondering if you might tell me the code for that warning tab with the warning templates if you would, so I could put it in my monobook. I suck at warning templates, and it was really useful. Anyways, thanks for the great program regardless! --Yamakiri on Firefox 00:22, 7 September 2007 (UTC)

Well, I know where it is, but I'm only good with XHTML, and I haven't read past page 17 in my JavaScript manual, so I'm not yet good at dissecting changes. Thank you! --Yamakiri on Firefox 00:25, 7 September 2007 (UTC)

Just wanted to say...

Thanks for all your hard work on Twinkle. Much appreciated :) Ryan(talk/contribs) 11:28, 7 September 2007 (UTC)

Housekeeping

Can I ask you to delete Wikipedia:WikiProject Albums/color chart. TIA. --PEJL 17:01, 3 September 2007 (UTC)

Also Template:Infobox Album/link/temp and Template:Infobox Album/color/temp. --PEJL 16:42, 8 September 2007 (UTC)

  Done AzaToth 16:53, 8 September 2007 (UTC)

Thanks. I just realized that Wikipedia:WikiProject Albums/color chart was transcluded on Wikipedia talk:WikiProject Albums/Archive 9. Could you subst the content there, to keep the archives of the color discussions legible? Sorry for not noticing this sooner. --PEJL 17:13, 8 September 2007 (UTC)

Request...

next time you make a change to Twinkle, could you a) put a "beta" test version up so that people could include say User:AzaToth/twinklebeta.js with everything pointing to the new code, while User:AzaToth/twinkle.js continues to point to the old. and b) not disappear after making it live, as that means it's broken for ages and you don't even know it. I hope I don't come across as too harsh, but RC-watch without Twinkle is a pain. This, therefore, is an endorsement of your fine code (when it works!). Thanks! — Timotab Timothy (not Tim dagnabbit!) 02:18, 7 September 2007 (UTC)

for a), yea, that's true, but done is done. b) first, I had to go to sleep, it was 02:00 CET, second, I had work to do in the forenoon... AzaToth 11:51, 7 September 2007 (UTC)
Understood, and we managed a work around, but if it was already so late, adjusting your release time so that you could continue to be around to see any issues would have been appreciated. — Timotab Timothy (not Tim dagnabbit!) 12:57, 7 September 2007 (UTC)

Twinkle doesn't work for page protection requests

Noticed lately that I can't use Twinkle to make page protection requests--after I enter the data and hit the button, it hangs. Blueboy96 18:39, 8 September 2007 (UTC)

Same here ACBestDog and Bone 18:13, 9 September 2007 (UTC)

Using scripts in other languages

I'm trying to user your scripts (Twinkle) in yi.wikipedia.org how can this be accomplished?--Shmaltz 01:00, 10 September 2007 (UTC)

Can you help me with something?

I'm trying to add a link to my toolbox that shows the log of todays AFD pages. Specifically this link: [articles for deletion log]

I'm using this code to add the links to my toolbox:

addOnloadHook(function() {
addPortletLink('p-tb','/wiki/Special:Log','All logs','t-log','Special:Log');
});


How would I alter this link to add that previous link? Wikidudeman (talk) 22:20, 7 September 2007 (UTC)

You have to add a Date object to get the date and add that to the string. AzaToth 16:51, 8 September 2007 (UTC)
Could you show me how it would look completed? I'm not sure what you mean. Wikidudeman (talk) 17:22, 8 September 2007 (UTC)
Here's what I tried:

addOnloadHook(function() {
addPortletLink('p-tb','{{plainlink|url={{SERVER}}{{localurl:Wikipedia:Articles for deletion/Log/{{CURRENTYEAR}}_{{CURRENTMONTHNAME}}_{{CURRENTDAY}}|action=edit}}','All logs','t-log','Special:Server');
});

But it didn't work. I tried a lot of other combinations but still got nothing. Wikidudeman (talk) 23:53, 8 September 2007 (UTC)

If you have time could you post what the proper coding would be? Thanks. Wikidudeman (talk) 11:58, 10 September 2007 (UTC)
var date = new Date();
var today_string = date.getUTCFullYear() + ' ' + date.getUTCMonthName() + ' ' + date.getUTCDate();
var link = 'Wikipedia:Articles for deletion/Log/' + today_string;
addPortletLink( 'p-tb', wgServer + wgArticlePath.replace( '$1', link ), 'All logs','t-log','Special:Server' );

Where Date.getUTCMonthName is defined in morebits.js AzaToth 12:11, 10 September 2007 (UTC)

If you like oneliners, it can be changed into:

addPortletLink( 'p-tb', wgServer + wgArticlePath.replace( '$1', 'Wikipedia:Articles for deletion/Log/' + (new Date()).getUTCFullYear() + ' ' + (new Date()).getUTCMonthName() + ' ' + (new Date()).getUTCDate() ), 'All logs','t-log','Special:Server' );

AzaToth 12:13, 10 September 2007 (UTC)

It doesn't seem to be working. I tried adding both to my monobook file and nothing new is added to my toolbox. I also tried changing the name of what would be shown and still nothing is added. What I'm trying to do is to get the [articles for deletion log] added to my toolbox to the left, also I want it to be in edit mode once clicked. Wikidudeman (talk) 13:47, 10 September 2007 (UTC)

Almeda - semi-prot since March

I'd like to unprotect Almeda University as it's been semi-protected since March. Any thoughts on this? --Zippy 17:59, 10 September 2007 (UTC)

A question...

Is there a template that I can use that when placed on a page converts into the atricles name? for instance if I put {{Page}}(an example) it would automatically convert into the name of the article which it's placed on? Does such a thing exist? Wikidudeman (talk) 19:14, 10 September 2007 (UTC)

Twinkle bug?

I had an interesting experience today using Twinkle; A page I was trying to nominate for A7 speedy deletion appears to have been deleted circa the time I clicked to nominate. As a result, the page was recreated with a db-bio tag and the text

The database did not find the text of a page that it should have found, named "J Atencio".


This might be because no page has yet been created with this name, in which case you can start it by clicking the "edit this page" link.

If it is a recently changed page, trying again in a minute or two will usually work. Alternatively, you may have followed an outdated diff or history link to a page that has been deleted. If this revision has been deleted, an explanation may be found in the deletion log for "J Atencio".

Revisions that contain personal information disclosed without permission may have been permanently removed.


If none of the above is the case, you may have found a bug in the software. Please report this using the procedure given at Wikipedia:Bug reports, making note of the URL.

Hilarity, of course, ensued... A rather surprising result, I thought, so it seemed wise to apprise you of it. Thanks, --TeaDrinker 06:17, 11 September 2007 (UTC)

Ok...thats...strange...... WTF! that should be impossible. (going killing some devs). AzaToth 12:44, 11 September 2007 (UTC)

JS turning up in cats

User:AzaToth/twinklespeedy.js, User:CBM/twinklespeedy.js, User:OverlordQ/twinklespeedy.js and Wikipedia:Protected titles/Twinkle are all appearing in Category:All_replaceable_fair_use_images; is that something you can avoid? John Vandenberg 12:18, 14 September 2007 (UTC) (added two more shortly afterwards)

User:AzaToth/twinklespeedy.js (edit | talk | history | links | watch | logs) and Portal:Protected titles/Twinkle (edit | talk | history | links | watch | logs) taken care about. the other are not my responsibillity I'm afraid. AzaToth 13:04, 14 September 2007 (UTC)

Twinkle just not working on a page?

This is a bit more major than a normal bug, and I don't know if it has something to do with what you just changed in the code -- but for some unknown reason, Twinkle doesn't see to want to work on New York Mets. It's just gone there. Don't know if other articles are similarly affected, but this one is really odd. Gscshoyru 19:16, 14 September 2007 (UTC)

"TypeError: Undefined value

http://en.wikipedia.org/w/index.php?title=-&action=raw&smaxage=0&gen=js&useskin=monobook" A very interesting problem indeed. --TheDJ (talkcontribs) 20:12, 14 September 2007 (UTC)

It appears the template {{S-start-collapsible}} that was used on that page is breaking the "collapsible" javascript code (causing all "later" javascript code not to load at all). The page should be fixed now, and i'll take a look at the template. --TheDJ (talkcontribs) 20:29, 14 September 2007 (UTC)

Twinkle not working; Java problem perhaps?

I have the latest IE, latest Java, etc, all on Windows XP on my laptop and everytime I click a Twinkle related thing, nothing happens and I have the little "Error" thing in the bottom left my of my IE screen. When I double click the /!\ icon, here's the error explanations:

Line: 257
Char: 2
Error: Expected identifier, string or number.
Code: 0


Line: 162
Char: 2
Error: Expected identifier, string or number.
Code: 0


Line: 57
Char: 3
Error: Expected identifier, string or number.
Code: 0


What do I do to make Twinkle work? My Java is running (I think, I mean, I'm able to go onto the IRC or RuneScape or play Java-based games. Please help Tyler Warren 09:12, 15 September 2007 (UTC)

Ehehe....I just re-read WP:TWINKLE and noticed the section where it says the scripts will not work on IE. So I have resorted to doing something I thought I would NEVER have to do......download FireFox (see, I'm a loyal IE follower) Tyler Warren 09:36, 15 September 2007 (UTC)

reverted anti-aliasing image changes

I reverted your changes to the images in anti-aliasing, since the too-big versions didn't show the effect in the thumbnail size. The small ones work a lot better. Dicklyon 05:20, 15 September 2007 (UTC)

Ah, I see, the problem I had with the current images, is that they are so small, it's difficult to see it. AzaToth 23:58, 15 September 2007 (UTC)

Ambox, or why can admins not read?

Ok, you just experimented with {{ambox}}. That is production code that now runs on some hundred thousand pages. Why can admins not read? It says right there on top of the ambox template's documentation:

Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here.

And that is not a joke, that is serious. It saves a LOT of trouble for everyone, including yourself.

And you have obviously not even bothered to read the talkpage of ambox, right? Since then you would have known why we use "HTML markup instead of wiki markup".

--David Göthberg 23:51, 15 September 2007 (UTC)

Please assume good faith, and no harm done. AzaToth 23:57, 15 September 2007 (UTC)
Well considering that such an action causes 100000s pages to be added to the queue instantaneously, I can understand why some people wouldn't be happy. --TheDJ (talkcontribs) 00:15, 16 September 2007 (UTC)
It's not a problem you should care about. AzaToth 00:33, 16 September 2007 (UTC)

Oh, and AzaToth, you changed all the colours of the .ambox CSS classes in MediaWiki:Common.css without any discussion first. Colours that had been established through one month of discussions at the template standardisation project and had reached full consensus. MediaWiki:Common.css explicitly states:

"Any changes to Monobook.css or Common.css should be first proposed to Wikipedia:Village Pump."

The template project started at the village pump but was then moved to its own page, so I guess that means the colours should be discussed there. But you didn't seek any consensus before you changed site wide colours. You didn't even discuss it at Mediawiki talk:Monobook.css. Oh, and you left bugs in ambox after you edited back to HTML. The if-statement for the right image didn't work after that. Caused a lot of confusion for a day.

--David Göthberg 10:55, 17 September 2007 (UTC)

Then changes to the colors was only minor, to make them blen better, as the old colors was dangerous for epileptics. AzaToth 10:59, 17 September 2007 (UTC)

Protection of Wikipedia:Article templates

I pledge not to do any further reverts to this page (as it is, I had no intention of making more than the one I had already done).

Protecting a page which is in the midst of active development just to kill a dispute over whether the page is disputed seems far more destructive to me than the dispute itself. I would like to ask you to lift the page protection, allowing that if the situation worsens, protection might yet prove to be necessary.--Father Goose 20:51, 16 September 2007 (UTC)

API template

Hi, the API-ex template you have modified is more for examples, not to describe the parameters of a specific call. We can have more than one api-ex template per module. Can you make a new template for the module description, similar to how you made the one for post example? We could then use it to describe all modules. It should include the overall module description, which mw ver # first had this, each param name, possible param values, post/get, description, and version number. Thanks much! --Yurik 00:43, 17 September 2007 (UTC)

Oh, I see. I'll take a look at it. AzaToth 09:46, 17 September 2007 (UTC)

Twinkle

So... I looked at Twinkle, and I guess I'm just not sure how to use it once installed... oh... except I see some new tabs at the top of the page. Any chance of some user documentation?—Preceding unsigned comment added by Timotab (talkcontribs)

{{helpme}}

I need help adding Twinkle scripts. Please help!--The source of the cosmos... 23:34, 19 September 2007 (UTC)

Click here, and add the text importScript('User:AzaToth/twinkle.js'); to the page, click save.--71.235.108.93 23:52, 19 September 2007 (UTC)

I know, it's just that I can't edit it correctly! It always says the page doesn't exist!--The source of the cosmos... 00:10, 20 September 2007 (UTC)

TW question

  • I pasted the scripts w/o any modifications, and am using Firefox. When I try a rollback on any page I get the message: Reverting page: couldn't grab element "editform", aborting, this could indicate failed response from the server. Any suggestions would be appreciated. Thanks. --- Taroaldo 04:59, 17 September 2007 (UTC)
  • ADD: Also cannot add user talk warnings - TW hangs after I click submit. --- Taroaldo 17:15, 17 September 2007 (UTC)
are you using windows, and if so, are you using zone alarm or symantect stuff? if so, check WP:TW AzaToth 17:18, 17 September 2007 (UTC)
  • am using Win with zone alarm. WP:TW said ZA might break the script. Do you have any more detail than that?
  • I shut down ZA and allowed popups on Firefox for WP. Now when trying a rollback the message says that the edit is completed, but in the article the previous edit remains in place, and nothing shows up in the history. --- Taroaldo 22:32, 17 September 2007 (UTC)

Thanks

  The Barnstar of Diligence
For putting up with my stubborn attitude and guiding me to a solution for the problem I caused in the first place, as well as all the work he puts into the Twinkle scripts, I hereby award AzaToth the Barnstar of Diligence. Thanks for all you do. Hersfold (t/a/c) 20:23, 20 September 2007 (UTC)
When I ran the correct error console and tried to use the script, it immediately came up with a message about the config file. It turns out I screwed up one of the arguments, which was causing the script to hang up. Since it was completely my fault and I gave you so much grief about it, I do offer my most sincere apologies and give you this award for your patience in putting up with me, as well as all the hard work you've put into the script lately with the updates and bug fixes. Thanks again, and happy editing as always. Hersfold (t/a/c) 20:23, 20 September 2007 (UTC)

TWINKLE problem with tagging di

When you use TWINKLE to tag an orphaned fair-use image, there is a box to type the name of the replacement. However, the parameter for the replacement doesn't show up in the template when I type it. See Image:ESRB K-A.png for an example; the replacement parameter was only added later by User:Geopgeop. -- King of ♠ 05:27, 21 September 2007 (UTC)

TWINKLE

Just wondering if their is version of twinkle for IE Thanks for your help--AFUSCO 01:38, 19 September 2007 (UTC)

i will help with IE testing if you cannot due it your self. i may not be very helpful but i can tell you the error message--AFUSCO 00:15, 24 September 2007 (UTC)

WP:TW

Hi... I have installed WP:TW and for some reason whenever I try to click any of the 'new' tabs it doesn't work. Is there something I'm doing wrong? Thanks! -jj137TalkContribs 22:47, 19 September 2007 (UTC)

Nevermind, it has been cleared up. -jj137TalkContribs 21:44, 22 September 2007 (UTC)

TWINKLE Stubs

Twinkle is awesome! An idea to make it better - add stub adding/sorting :) Just a feature to sort stubs or add sorted stubs, etc. etc. Good luck! -Domthedude001 15:58, 23 September 2007 (UTC)

Also, other maintenance tasks: Wikifying, Improve articles, Spell Checks, Red links.. it doesn't only have to be for Vandalism ;) -Domthedude001 16:16, 23 September 2007 (UTC)

Help needed ASAP

Hi, i have reported a bug on Wikipedia talk:WikiProject User scripts/Scripts/Twinkle/Bugs, but i need faster help. TW does not work for me at all, it stopped working abut 4 days ago, i waited it out, still nothing, i tried messing with my monobook and that did not help either. The tabs on the top of my page do not even show up. I am un-able to revert vandalism! Please help ASAP. Thank you! Tiptoety 19:15, 21 September 2007 (UTC)

I cannot find any problem with your monobook.js. One thing could be that you are behind a persistent proxy, so the JS is not updating. other alternative could be that you have changed browser to an browser that isn't fully compatible with TW. AzaToth 20:13, 21 September 2007 (UTC)
I use firefox as my browser, that should not cause a problem should it? Tiptoety 18:56, 24 September 2007 (UTC)
Oh, and one other thing, i do not think i am aware what JS means....Tiptoety 22:59, 24 September 2007 (UTC)
JS means javascript which is part of most operating systems and what adds extra tabs and other features--AFUSCO 01:39, 25 September 2007 (UTC)
How would i go about fixing this problem? I am not sure what to do about a presistent proxy--Tiptoety 02:05, 25 September 2007 (UTC)
Problem has been resolved, thank you all for your help. Tiptoety 21:59, 25 September 2007 (UTC)

Orphaned non-free media (Image:Question book-3.svg)

  Thanks for uploading Image:Question book-3.svg. The media description page currently specifies that it is non-free and may only be used on Wikipedia under a claim of fair use. However, it is currently orphaned, meaning that it is not used in any articles on Wikipedia. If the media was previously in an article, please go to the article and see why it was removed. You may add it back if you think that that will be useful. However, please note that media for which a replacement could be created are not acceptable for use on Wikipedia (see our policy for non-free media).

If you have uploaded other unlicensed media, please check whether they're used in any articles or not. You can find a list of 'image' pages you have edited by clicking on the "my contributions" link (it is located at the very top of any Wikipedia page when you are logged in), and then selecting "Image" from the dropdown box. Note that all non-free media not used in any articles will be deleted after seven days, as described on criteria for speedy deletion. Thank you. BetacommandBot 14:06, 24 September 2007 (UTC)

I am moving

your Twinkle Scripts to commons at the moment. [1] They are really super :) __ ABF __ - - Talk - - 14:39, 26 September 2007 (UTC)

Don't forget to port the bugs also :) AzaToth 14:50, 26 September 2007 (UTC)

CSD tagging without deletion in Twinkle

(crossposted from the WP:TW talkpage)
The "Tag article only, don't delete" checkbox on CSD isn't working; even if I just want to tag a borderline case so another admin can give a second opinion, it's deleting the article altogether. This has only started happening in the last couple of days.iridescent (talk to me!) 22:24, 29 September 2007 (UTC)

Twinkle

Do you think you could change the speedy-delete userpage warning to say "per CSD X#" instead of "per CSD x#"? It looks more professional.


Thanks, —Ignatzmicetalkcontribs 14:10, 24 September 2007 (UTC)

I think you would replace
twinklespeedy.normalizeHash = {
'nonsense': 'g1',
'test': 'g2',
with
twinklespeedy.normalizeHash = {
'nonsense': 'G1',
'test': 'G2',
for example. But you wrote it, not me. —Ignatzmicetalkcontribs 23:06, 30 September 2007 (UTC)

Twinkle Troubles

I click rollback vandal, it says completed and redirects me to the page I was to rollback. But it seems the rollback did not work even though it said it worked and opened up the talkpage of the vandal. OneCoolKid 13:46, 29 September 2007 (UTC)

Still happening as of today. OneCoolKid 13:32, 30 September 2007 (UTC)