User talk:Ale jrb/Scripts

Latest comment: 9 years ago by Hasteur in topic Bug in CSDH

Wording for db-contextEdit

Hello. A db-context tag I placed on an article was removed by someone using CSDH. The canned message CSDH uses for the edit summary and for the notification left on the editor's talk page says that "context can be found out easily". (I don't know what the prompt presented to the person using CSDH says, but I'm guessing that it's similar.) That phrase implies a misunderstanding of what context is and what WP:CSD A7 provides: "Articles lacking sufficient context to identify the subject of the article." Context isn't something one needs to find out. It's something that either is or isn't already present in the article. The point of it is that without it, someone reading an article can't be expected to know what the thing is any of the information that is given in it pertains to, and someone reviewing an article can't be expected readily to find information about it elsewhere.

If an article about Steven Xyzzy tells us only that Steven Xyzzy grew up in Montana and drives a Honda CRV, it still hasn't told us who Steven Xyzzy is so that we know who it is that these details describe and why anyone would be looking him up. The message left by CSDH implies that, before tagging it with db-context, reviewers are responsible for looking for context that isn't already in the article—for example, that before tagging, they ought to have run a Google search on "Steven Xyzzy" Montana CRV. This is incorrect, and the message from CSDH may mislead admins encountering a db-context tag to think that an article doesn't qualify for A1 when it does. I recommend changing the canned text to read "article contains sufficient context to identify the subject of the article".

Regards, —Largo Plazo (talk) 13:21, 28 November 2009 (UTC)Reply[reply]

Sorry that I only just saw this. :( However, I'll make a few points. First of all, WP:CSD A7 is in fact 'No indication of importance of significance', so I therefore assume you are referring to criterion A1 - 'No context'. Secondly, the canned (default) decline reason for articles tagged with A1 is (and I quote) "There is sufficient context to identify the subject of the article." As it stands, I can see nothing in this message that has any relevance to your concerns. For this reason, I assume that the user who declined the deletion chose to provide their own reasoning. Hope that clears it up for you. If you have other concerns, I suggest you bring them to my talk page for a faster response. Thanks. Ale_Jrbtalk 21:19, 24 December 2009 (UTC)Reply[reply]
And another thing. Your example regarding Steven Xyzzy suggests that you would tag this article using a db-context - A1 - which is wrong, of course, because you can easily identify that the article is talking about a human (probably a man :P) who drives a car. As there is no assertion of how he is important, the correct tag would be A7, which of course has another decline reason. Hope that helps. Ale_Jrbtalk 21:22, 24 December 2009 (UTC)Reply[reply]
That sounds like the decline I made here. True, the article had no context itself but on the other hand, the db-template says "Administrators: check links, history (last), and logs before deletion" (emphasis added) and the context was clear from the incoming links, in this case the album list at Wilber Pan. Regards SoWhy 21:28, 24 December 2009 (UTC)Reply[reply]

Suggestion for CSDHEdit

May I suggest that a parameter be added to CSDH allowing users to customize the "Speedy declined" message left on the nominator's Talk page? Thank you. — Malik Shabazz Talk/Stalk 20:46, 24 December 2009 (UTC)Reply[reply]

There is currently a message on my talk page on the same topic - I will do this at some point soon, but not on Christmas Eve (or Christmas Day :P). Ale_Jrbtalk 21:24, 24 December 2009 (UTC)Reply[reply]
Thanks. Merry Christmas. — Malik Shabazz Talk/Stalk 21:26, 24 December 2009 (UTC)Reply[reply]
This is now done. You can see the instructions for choosing your own message template on the User:Ale_jrb/Scripts page. Ale_Jrbtalk 15:30, 26 December 2009 (UTC)Reply[reply]
Thanks! — Malik Shabazz Talk/Stalk 01:57, 27 December 2009 (UTC)Reply[reply]

Problem with CSDHEdit

I can't get it to log declines (although it notifies)

Here is what my monobook.cs file has:

// A script that helps admins delete speedy deletions much more quickly
importScript('User:Ale_jrb/Scripts/csdhelper.js');  //[[User:Ale_jrb/Scripts]]
//Configuration for CSDHelper
var overwriteDeclineReasons = true;
var notifyByDefaultDel = true;
var logOnDecline = true;
var logOnDeclinePath = 'User:Phantomsteve/List_of_declined_speedies';
var notifyByDefaultDec = true;
var notifyByDefaultPrd = true;
var notifyLimit = 15;
importScript('User:Phantomsteve/csdreasons.js'); // Set of custom decline and delete reasons
// End configuration

User:Phantomsteve/List of declined speedies exists, by the way. -- PhantomSteve/talk|contribs\ 12:13, 13 March 2010 (UTC)Reply[reply]

Fixed - it was because the page existed, but had no table for the script to fill in; CSDH will now create the table if it can't find it. You will need to clear your browser cache to see the fix. Thanks. Ale_Jrbtalk 15:53, 13 March 2010 (UTC)Reply[reply]

CSDH to follow redirectsEdit

A bot was notified of a declined delete request; rather than leave the note on the bot's talk page, follow the redirect to the bot owner's talk page. Josh Parris 09:30, 16 May 2010 (UTC)Reply[reply]

User history searchEdit

I installed your script User:Ale_jrb/Scripts/userhist.js to my vector.js a few days ago, and it works great, but I've noticed a few minor things that detract from the script a bit. I don't know if you use another skin, but under vector (now the default), the button beside the input box is pushed to a new line. This could be fixed by either changing the text in the button or shortening the text box. I, personally, like "isolate history" (though I think the "i" should be capitalized), so changing the width of the box should fix the problem. Maybe go from 200 to 180px? I don't know if that much of a reduction is necessary; the button only wraps when a scrollbar is present. Whatever you do, I was just alerting you to the problem. Keep up the good work! --Dudemanfellabra (talk) 10:32, 2 July 2010 (UTC)Reply[reply]

This is only because of your screen size - as you reduce or increase the window size, those elements will move onto the next line. However, I made it a little smaller anyway, just in case. Ale_Jrbtalk 11:19, 2 July 2010 (UTC)Reply[reply]
Ah, I didn't even think about that. My window is maximized, and I'm using a pretty common resolution, though – 1024x768 (the most common), so if it doesn't appear correctly for me, it doesn't for a lot of people. It's still wrapping even after you shrank the box. Maybe just putting a nbsp between the input box and the button would work if you don't want to make it much smaller? It would look better if both the input box and the button would wrap together so the user doesn't have to move so far to click the button. --Dudemanfellabra (talk) 11:26, 2 July 2010 (UTC)Reply[reply]
I made it a little smaller again by default, and you can now set var histwidth = 200; in your vector file to choose the size if it still doesn't fit. Ale_Jrbtalk 12:33, 2 July 2010 (UTC)Reply[reply]
You'll have to clear your cache, of course. Ale_Jrbtalk 12:33, 2 July 2010 (UTC)Reply[reply]
Sorry to be such a nuisance, but I've figured out that regardless of what I change my width to, the box stays the same. I think this is because you are setting the box width in a non-standard way. The source shows that the code of the box includes an <input width="[histwidth]px"> while in order to set width of an <input> normally, you have to type <input style="width:[histwidth]px">. I don't know if this is true for other browsers, but I'm in Firefox. This could be fixed by changing box.setAttribute ( 'width', histwidth + px' ); to box.setAttribute ( 'style', 'width:' + histwidth + 'px;' ); If that won't work, you could always go with box.setAttribute ( 'size', histwidth ); (default value of 23 is about the same as 180px) Sorry again :\. Thanks though. --Dudemanfellabra (talk) 18:17, 2 July 2010 (UTC)Reply[reply]

I installed User History, but can't make it perform. I have cleared my browser cache, and have even cleared out all other scripts from my monobook.js, but no luck. Any suggestions? SilkTork *YES! 18:31, 21 August 2010 (UTC)Reply[reply]

OK. It's working now! SilkTork *YES! 07:11, 23 August 2010 (UTC)Reply[reply]

Olga DiazEdit

Your script deleted Olga Diaz for a reason different from the speedy deletion notice, it is a copyright violation, but the script put not notable. This produced a newspaper story at with the headline: "ESCONDIDO: Wikipedia deletes entry for Councilwoman Olga Diaz: Diaz deemed not 'notable' enough for online encyclopedia" Fred Talk 15:39, 26 October 2010 (UTC)Reply[reply]

The script is not automatic - the deletion reason used is chosen by, and the sole responsibility of, the administrator that performed the deletion. Ale_Jrbtalk 15:31, 27 October 2010 (UTC)Reply[reply]
In addition, I would argue that an article in a local newspaper, about the page being deleted for being non-notable, does not necessarily make her notable - I suggest you find other sources, or it may end up at AFD. Not that I have the time to put it there, atm. Ale_Jrbtalk 15:36, 27 October 2010 (UTC)Reply[reply]


Thank you for deleting a page that was still under construction as the discussion page read. Well done how do you work for an encyclopedia website when you have issues reading? —Preceding unsigned comment added by Keithmonti (talkcontribs) 13:53, 19 November 2010 (UTC)Reply[reply]

Organisation of Active MicronationsEdit


I'm BarnabyJoe, and I'm a leader of a micronation. I recently looked through wikipedia's pages on micronations, and found little there. Although adding 500 odd so micronations would be pointless and a waste (and can be left to microwiki), I think that micronations part of this OAM should be including. Mostly because they are the more serious micronations. I feel that these micronations should be listed on Wikipedia, but not have there own pages. BarnabyJoe (talk) 09:01, 15 December 2010 (UTC)Reply[reply]

igloo doesn't workEdit

hi, i have placed

importScript('User:Ale_jrb/Scripts/igloo.js'); // [[User:Ale_jrb/Scripts/igloo]]

on my vector.js page, and nothing is happening. can you help?

RCSprinter123 (talk) 16:20, 15 March 2011 (UTC)Reply[reply]

You forgot to mention that you're using Vector skin (just in case). And I think Ale jrb might want to change the text "Go to your monobook page or your vector page" at User:Ale jrb/Scripts/igloo into something like "your common.js or your skin JS" (note that the latter only works due to some JS in local Common.js). — AlexSm 17:40, 15 March 2011 (UTC)Reply[reply]

I've received no reports that igloo is not currently working in vector. Make sure you've fully cleared your browser cache, you have JavaScript enabled and it isn't being blocked by any browser addons, and try again. You should be able to launch igloo from User:Ale_jrb/Scripts/igloo by clicking the launch button at the top. I'll consider chaning the skin info, cheers. :) Ale_Jrbtalk 18:35, 15 March 2011 (UTC)Reply[reply]

Igloo feature requestsEdit

Dear Ale jrb,

First of all, thank you for creating Igloo and making it available to all: it's a really awesome tool!

Secondly, as a default, Igloo reverts the edit and reports the user as a vandal. However, the user may not always be a vandal. Would it be then possible to have two buttons to revert: "revert as vandal" and "revert as AGF" (and maybe event a third one "revert with personal message"). If three buttons take up too much space, how about have dedicated keys to revert as AGF or a vandal. Currently, pressing the Q key revert and reports vandal. How about having another key report as AGF and yet another one for a personal message?

Finally, I have been playing around with filters. Not being a regular regexp programer, I thought it could be interesting to add default filters such as ignoring user pages, user talk pages and wikipedia pages. Here is how I implemented these filters: if title NOT contains /^Talk\:/ if title NOT contains /^User/ // ignores User:* and User_talk:* if title NOT contains /^Wikipedia/ //ignores Wikipedia (help) pages and the help desk.

Once again, thanks for Igloo, it's really good. I would be glad to be able to contribute to Igloo if you need any help (I code in Javascript, amongst other languages).

Xionbox 23:54, 19 March 2011 (UTC)Reply[reply]

Well, it seems my filters don't work. I thought they did until user pages and user talks started to appear again. I'm not swift regexp programmer so if you could help me correct these filters, that would be great. Thanks in advance! Xionbox 00:00, 20 March 2011 (UTC)Reply[reply]


How do you change the rationle of the speedy deletion criteria in CSDH?. Baseball Watcher 17:07, 31 May 2011 (UTC)Reply[reply]

Do you mean change the speedy template currently on the page? It was originally designed for admins, so although it can delete pages using a different criteria from the one shown on the template, it doesn't offer you the ability to just change the template. If you want to do that, you'll have to contest the tag and then retag it using TW or something. I can look into adding it at some point, but I'm too busy atm. Ale_Jrbtalk 09:38, 1 June 2011 (UTC)Reply[reply]
Thanks. Baseball Watcher 19:43, 2 June 2011 (UTC)Reply[reply]

CSDH with VectorEdit

Hello! I just "discovered" this script and will certainly find it very useful, but I have one issue you may be able to fix. On FF 4 with Vector, the dialog box ends up off the left side of the window. (screenshot 1 screenshot 2) In the second screenshot, you'll see that the "newbie" checkbox ends up below the dialog box. Thanks! —DoRD (talk) 16:22, 8 June 2011 (UTC)Reply[reply]

I'll take a look at this. Thanks! Ale_Jrbtalk 11:10, 10 June 2011 (UTC)Reply[reply]
CSDH should now work correctly with vector. Let me know if you have any problems. Cheers. Ale_Jrbtalk 13:29, 15 June 2011 (UTC)Reply[reply]
Yes, much better. Thank you! —DoRD (talk) 13:33, 15 June 2011 (UTC)Reply[reply]

User History script conflicts with popups?Edit

Hey Ale jrb,

I really like the User History script. On my present system, however (Firefox 3.6.17, Windows XP), it seems to conflict with popups. Popups works fine in every page except user contributions pages with the 'all' tag appended to a given edit; in that situation no popups occur. Not sure if there's anything that can or should be done about that, but thought I'd make you aware of it in case you've got any ideas. — Scientizzle 19:27, 19 July 2011 (UTC)Reply[reply]

A barnstar for you!Edit

  The Barnstar of Diligence
Thanks! DawnlyPrincess (talk) 21:56, 11 July 2012 (UTC)Reply[reply]

Appeal for reviewing deleted contentEdit

I found a wikipedia article has been deleted stating that "(A7: Article about a real person, which does not indicate the importance or significance of the subject (CSDH))" which is not valid and correct as I looked in Google and found many information regarding this person. Please review and response for the same Isrg Rajan — Preceding unsigned comment added by (talk) 13:29, 17 November 2013 (UTC)Reply[reply]

Bug in CSDHEdit

Problem: Admins running CSDH are able to edit through full page protection against the wishes of editors

Symptom: [1]

Proposed Solution: Bring up a dialog box letting the admin know that the page is protected and asking them to confirm that they want to edit the fully protected page.

Thank you for your time. Hasteur (talk) 13:47, 29 January 2014 (UTC)Reply[reply]

my feedbackEdit

my feedback is that shame on you for deleting a article Ahmed Mac i have contacted the owners of wiki and they will ask you its reason soon best of luck Ame123ojfish 14:56, 6 May 2015 (UTC)