User talk:The last username left/2010/February

{| class="nowraplinks" cellspacing=2 style="width: 100%; margin: auto; clear: both; font-size: 90%; text-align: left; padding: 0px; color: black; background-color: #D0F0C0; border: 1px solid darkgreen; float: left; margin: 0px;" !class="navbox-title" style="background-color: transparent; border: 0px; margin: 0px; padding: 0px;"| {| style="margin: 0px;" Archives:
 * valign="top" colspan="2"|
 * valign="top" colspan="2"|
 * 2009
 * March
 * September
 * October
 * November
 * December
 * 2010
 * January
 * February

Re:Mousekeys
I just played around with the mousekeys and cursor settings until I found the right err.. speed

I'll take some screenshots of my settings, brb. 20:24, February 6, 2010 (UTC)


 * I had problems with this too, so I used a program called HotKeyBind. 20:27, February 6, 2010 (UTC)
 * Windows XP - Windows Vista Have fun :o  20:28, February 6, 2010 (UTC)

Thievery
On your quotes page, you stole four of my quotes! I shall get revenge by taking one of yours. Good day to you, sir! 00:22, February 7, 2010 (UTC)
 * Everthing posted on this site is under CreativeCommons. As long as I post it under the same license (i.e.: posting it back on this site but just on a different page) you can't stop me. :D 00:35, February 7, 2010 (UTC)
 * Oh, sure you can. Successfully? Now that's a different story. 09:24, February 7, 2010 (UTC)

W00T
Heres your message. I hope you liekz it! 18:53, February 14, 2010 (UTC)

StelerBot
<?php

/** * wikibot.php * * This bot automatically finds words that to not follow the style guide and change it. It also corrects minor, common spelling errors * * This code is based off of hiscores.php written by Quarenon and improvements to this code were made by Supertech1. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */

define('API_URL', 'http://thebladesofoblivion.wikia.com/api.php'); // The URL of the api.php script to use.

define('DB_FILE', 'htmlfix.db'); // Storage of hiscore expiry data define('LOCK_FILE', 'htmlfix.lock'); // Mutex lock for script define('COOKIE_FILE', 'htmlfix.cookie'); // Storage of API cookie data

define('LOG_FORMAT', '[m/d/Y h:i:s A T] %\s'); // Log format

define('BOT_USERNAME', 'StelerBot'); // Wiki username define('BOT_PASSWORD', 'whatmakesyouthinkiwouldtellyouthat'); // Wiki password

define('CATEGORY', 'Category:Archives'); // This category should contain pages with the hiscore template.

require_once('wikibot.php');

/** * Extract the namespace and base page from an article title. */ function splitTitle($title) { $temp = explode(':', $title); $pages = explode('/', $temp[1]); return array($temp[0], $pages[0]); }

/** * Check for integer value (not type-strict) */ function isInt($val) { return ((string) $val) === ((string) (int) $val); }

$bot = new WikiBot(API_URL, COOKIE_FILE);

$bot->setLogFormat(LOG_FORMAT);

// Prevent multiple invocations of this script. $lock = fopen(LOCK_FILE, 'w+'); if (!flock($lock, (LOCK_EX | LOCK_NB))) { $bot->log('Unable to acquire lock - another instance may be running.'); die; }

$bot->log('Loading persistent database.'); $db = unserialize(@file_get_contents(DB_FILE));

$bot->login(BOT_USERNAME, BOT_PASSWORD); sleep(15);

$next = '';

do { $titles = $bot->getAllPages(500, $next, '0');

if (array_key_exists('next', $titles)) { $next = $titles['next']; unset($titles['next']); } else { $next = ''; }	// Iterate over pages within the category foreach ($titles as $title) { list($ns, $username) = splitTitle($title); $page = $bot->getArticle($title); sleep(5); $text = $page; $text = str_replace("dialog", "dialogue", $text); $text = str_replace("runescape", "RuneScape", $text); $text = str_replace("armor", "armour", $text); $text = str_replace("behavior", "behaviour", $text); $text = str_replace("color", "colour", $text); $text = str_replace("honor", "honour", $text);

if ($text == $page) {			$bot->log('Skipping article ' . $title . ', as it has no detectable XHTML 2 incompatibilities.'); continue; }		$bot->log("Tidying up article '$title'..."); try { $bot->editArticle($title, $text, 'Automated HTML tidying.', true, true); } catch (Exception $e) { } } } while (!empty($next));

?>

Bot
I have a question: Will/can your bot post to a log of it's actions, like User:AmauriceBot/Log? It doesn't need to be instant, once a day is fine, incase something is missed. The log doesn't have to be infinite, it can just be a week or the last day. If it is too much work, then don't worry about it. 02:42, February 17, 2010 (UTC)
 * Okay then, will the log be on-wiki like amauricebot? If so, where will it be located? 03:00, February 17, 2010 (UTC)

Your sig
Do you type out |07:16, March 30, 2010 (UTC) or something? Or do you have a special code in your sig or preferences that lets you only put down 07:16, March 30, 2010 (UTC) ? 23:51, February 20, 2010 (UTC)

Template:Lsc11amp
Could you move it to a more uh understandable name? 06:19, February 22, 2010 (UTC)
 * Sooooo, do you want me to get rid of it, or does it work/is there a use for it? 06:36, February 22, 2010 (UTC)

Re:Grats
Yeah, i be teh evulz nao. No wait, I posted so I am now less evil. :( 07:07, February 22, 2010 (UTC)

Why does it have to be 9pm gmt? I probably won't be able to make it, but I'll try. If I can't, GRATZ WEIRD PERSON I DON'T REALLY KNOW!!!!!!!!! Obligatory spam here: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

07:43, February 23, 2010 (UTC)
 * It made perfect sense, but I will probably be asleep cause it will be 3 pm for me. But still I gave you pregratz and spam, so it's all good. 07:49, February 23, 2010 (UTC)

Vandal Watch
The Vandal Watch is pretty cool, even though I have no idea what it does (no offence).

A cool feature you could had that I have in mind is (although it would be hard to implement) to sort each and every edit in a table. The first column would be the page edited. The second the old version and the third the new one. It would basicly take the history page, find what is in red and link in to the table. Of course, it would be limited to a max of lets say, 50 characters.

Tell me what you think.

-- 00:30, February 24, 2010 (UTC)

Nah, I think it's pretty cool. Anyway, mind if I use the source code and toy with it a little bit?

-- 01:03, February 24, 2010 (UTC)

Kewl, Thanks! If I ever make something cool, I'll make sure to send it to you and include your name in the credits =).

-- 01:12, February 24, 2010 (UTC)

I know this is kinda two months old (one actually) but I finally got what a navpop was! Well, I don't know if the recent changes have navpops anyway, but you still had a GENIUS idea to implement them. One problem though... how do you allow them on your account? I have IE 8.0 if that's important to know btw.

19:43, March 26, 2010 (UTC)

Charm log thingy
Not trying to pressure you or anything, just wondering, how is progress on that bot thing?And is there anything a zero technical knowledge person can do to help?--Degenret01 17:00, February 25, 2010 (UTC)

RE: Web server
It runs Apache 2 with PHP 5.2 and MySQL 4.1. -- 21:05, February 26, 2010 (UTC)
 * Glad you got it sorted out. I've done a few MediaWiki installations before and it has generally been painless.  -- 21:13, February 27, 2010 (UTC)


 * }
 * }