User talk:Shubinator/Archive 18

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Question re: DYKUpdateBot

I'd like not to receive any notices from this bot on my talk page. Is there a way to do this? JFHJr () 00:23, 20 January 2011 (UTC)

The bot is following credits for the DYK nominations. If you don't want to get notices, the easiest way is to not list yourself in the credits (or if someone else is nominating, ask them to not list you). I could also tweak the code so it honors {{bots}}, but that might take a week or more judging by my schedule lately; let me know if you prefer this. Shubinator (talk) 00:36, 20 January 2011 (UTC)
Ah no worries, certainly not worth any time on your part. Was wishing for an anti-bot template or something. I'll just ask people not to list me. It's probably just a few individuals. Thank you! JFHJr () 00:53, 20 January 2011 (UTC)
Sure, no problem. Feel free to come back if you have more questions. Shubinator (talk) 07:03, 20 January 2011 (UTC)


Online Ambassadors

I saw the quality of your contributions at DYK and clicked on over to your user page and was pretty impressed. Would you be interested in helping with the WP:Online_Ambassadors program? It's really a great opportunity to help university students become Wikipedia contributers. I hope you apply to become an ambassador, Sadads (talk) 01:15, 24 January 2011 (UTC)

Hmmm, I've thought about it before. Other than my ever-shifting schedule, there's one thing holding me back: I value my anonymity, and having a (semi-real-life) email conversation with a pseudonym can be a little unnerving. Shubinator (talk) 02:10, 24 January 2011 (UTC)
There's definitely no need to give up anonymity, and email isn't a core part of the Online Ambassador role... if you wanted to only stick to on-wiki conversations, that'd be fine. That's where the large majority of mentoring takes place anyway.--Sage Ross - Online Facilitator, Wikimedia Foundation (talk) 17:39, 10 February 2011 (UTC)
The past few weeks have been busier than I expected; if/when my schedule frees up I'll consider it. Shubinator (talk) 18:23, 12 February 2011 (UTC)

A proposed tweak to the DYKUpdateBot

This is not urgent, but I'll forget it if I don't write it down. Admins make mistakes in duration of DYK image protection, and we usually overdo it anyway, thus. If the image is local, the bot might unprotect it after it is off the main page. Materialscientist (talk) 01:36, 24 January 2011 (UTC)

Interesting. The bot should distinguish between regular-fully-protected images (ie for edit warring, though this rarely happens) and an image just protected for DYK. Now it's using {{c-uploaded}} for the Commons images, so how about using {{m-protected}} for the enwiki ones? This feature will take a bit more programming than other features; I haven't written any code using the protect/unprotect parts of the API. Should be done within a month though. Shubinator (talk) 02:15, 24 January 2011 (UTC)
Per complete ignorance I thought this is easy to program :). Ignore if not. I thought the bot can check the image Protection log, locate a recent tag of "main page protection" and unprotect if not {{c-uploaded}}. Materialscientist (talk) 03:47, 24 January 2011 (UTC)
It should be relatively simple, and I need to stretch my Java skills, so don't worry about it :) Hmmm, using the image protection log is an interesting idea...the bot wouldn't have to remove any tags then. I'll consider it. Shubinator (talk) 18:56, 25 January 2011 (UTC)
I've written the code for this; I'm now waiting on a local image in the queue to update the live code and watch the first run or two. Shubinator (talk) 19:14, 26 May 2011 (UTC)
The bot was down for toolserver maintenance, so I went ahead and updated the live code. I'll keep an eye out for a local image to make sure the bot doesn't misbehave. /Code is updated; I'll update /Manual later (hopefully later today). Shubinator (talk) 14:47, 8 June 2011 (UTC)
File:Dickison 1.jpg in queue 2 is the winner! I'll be around for the 06:00 update when it's taken off the Main Page (and the new code kicks in). Shubinator (talk) 14:46, 9 June 2011 (UTC)
The update completed without a hitch, so this feature is set. (I'll update /Manual within the next few days.) Shubinator (talk) 06:12, 10 June 2011 (UTC)
/Manual updated. Shubinator (talk) 15:42, 12 June 2011 (UTC)

Bot question

This is not urgent either, but could you perhaps train the DYK bot to avoid this problem? Thanks, Ucucha 00:11, 28 January 2011 (UTC)

I'll look into it. Right now the bot adds the {{dyktalk}} below all other templates, but this results in incorrect placement when a whole page is transcluded. I can try to add a special case for transcluded GA reviews. Shubinator (talk) 05:32, 28 January 2011 (UTC)
I have a decently large pile of work for the next few weeks, so this (and MatSci's suggestion above) will have to wait. I haven't forgotten though... Shubinator (talk) 18:25, 12 February 2011 (UTC)
Fixed (theoretically); the bot now should place {{dyktalk}} above any transcluded talk pages. I'll keep an eye out for the next time one of these cases happens, but let me know if it doesn't work as expected. (And yes, I'm coding while on vacation :) ). Shubinator (talk) 00:11, 19 March 2011 (UTC)
Looks like the fix is working: 1 2. Shubinator (talk) 13:48, 27 March 2011 (UTC)

DYKcheck

Hi, does your DYKcheck when in monobook? I prefer monobook to vector but can only get it to work when in vector. Here is how I attempted to transcribe it User:J04n/monobook.js. Thank you J04n(talk page) 14:04, 8 February 2011 (UTC)

It works in all skins that support user scripts. It's transcluded twice in your monobook.js though, which would result in the two conflicting with each other. Removing one (preferably the bottom) might fix it. Shubinator (talk) 18:28, 12 February 2011 (UTC)
thanks J04n(talk page) 18:38, 12 February 2011 (UTC)

New question: Ever since the Wikipedia "upgrade," I've been unable to use DYKcheck from the Template talk:Did you know page. On that page -- and that page alone -- the edit sidebar displays too far down the page to see the DYKcheck entry, and I can't move the scrollbar far enough to get at it. This happens in multiple browsers and operating systems. I'm using monobook. Twinkle is about the only gadget installed on my Preferences pages. Any ideas??? --Orlady (talk) 15:28, 6 April 2011 (UTC)

Oh wow, that's interesting. I've seen it before...the MediaWiki developers must've shifted around or renamed some of the HTML. I'll look into it. Shubinator (talk) 19:31, 10 April 2011 (UTC)
Fixed. You might need to bypass your browser's cache to see the change. Let me know if it didn't work. Shubinator (talk) 23:50, 10 April 2011 (UTC)
Hurrah for Shubinator! It works, at least in Firefox (and apparently also MSIE) on a Windows machine. --Orlady (talk) 20:03, 11 April 2011 (UTC)
I spoke too fast. I can access the tool on that page now (together with other items in the sidebar that had been moved out of reach), but DYKcheck is only successfully checking the hook lengths when I run it on that page. It says that the first article in each hook is "null" (the names of any additional articles do appear), then it appears to get hung up when it tries to check the article(s). Article-checking still works from the article page, though. --Orlady (talk) 20:15, 11 April 2011 (UTC)
Interesting; this one's definitely a side-effect of HTML rearrangement. In any case, it should be fixed. Thanks for the bug report! Shubinator (talk) 05:01, 12 April 2011 (UTC)

DYKupdateBot

apparently crashed at the update of 18 Feb 18:00 UTC. (The reason was apparently a trivial typo in the credits, no need to investigate). Could you please check the bot status. Thanks. Materialscientist (talk) 00:30, 19 February 2011 (UTC)

Bot restarted. It may be a trivial typo, but the bot shouldn't be that brittle. I've updated the code to check for unmatched left and right curly braces. Thanks for keeping things running until I got back (thanks to Ed, Orlady, and Madarax too). Shubinator (talk) 16:09, 19 February 2011 (UTC)

DYKupdate bot, adding blank lines.

Blank lines are being added by the bot if the next line is a section header, even when an existing blank line is on the talk page. Pretty minor bug, but fyi. SchmuckyTheCat (talk)

I'll look into it; thanks. Shubinator (talk) 15:36, 23 February 2011 (UTC)
Fixed. Thanks for the bug report! Shubinator (talk) 00:12, 19 March 2011 (UTC)