User:Laurlybot/guild bot

This is one of laurlybots modules. Used to check if guilds have disbanded and remove there guild pages. Phase 2 will add some other features.

Guild bot
Will run though all the guilds and check them on armory.

Phase 1

 * load
 * Scan page history. This is to check how old the page is any guild page under 2 weeks old wont be run as armory tends to lag.
 * Search armory for the guild.
 * Guilds that cant be found will be taged using template
 * the armory link will just make it easer to double check armory. Yes it looks messy as a tag but hey it works
 * This will dump all inactive guilds into

From there the bots job is done

Phase 2
Check for :
 * The bot will check for the {{guild tag.
 * if not found it will add it.
 * If found it will check that its using the correct syntax and not just {{guild}}
 * If the wrong syntax is being use the bot will replace it with the correct syntax.
 * the bot will remove any extra cats that will be added by the {{guild cat tag.

Default sort check {{DEFAULTSORT:  Stub guild check. (Note: the bot will have a lot of this info after checking armory so will even if the page didnt have it to being with the above check probably added it for them.)
 * If not found the bot will add it.
 * If the bot is unable to find any below {{stub/guild}} will be added.
 * guild type: pve pvp rp
 * Server name
 * guild type horde/alliance.
 * might be more not sure.

Status: not started yet.

Status

 * Phase 1: v1.0 stable Laurly 11:09, 9 March 2008 (UTC)

Bug log

 * bot needs to check if the page was already SD'ed before marking it inactive.
 * Fixed Laurly 11:33, 10 March 2008 (UTC)