User:The Rooster/Bots

From The Urban Dead Wiki
< User:The Rooster
Revision as of 13:39, 23 July 2008 by The Rooster (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Home
Talk
Bots
Contribs
Sandpit
. . .

Bot Related Stuff

Check out this category for a list of all bots running on the wiki. Check out Bot Programming for me rambling on about how I create these things.


Active Bots

These bots are currently complete and will update the wiki from time to time, whenever they are run.

Any problems with these bots? Drop a line at my talk page.

Mobile Phone Mast

Bot User Account MobilePhoneMastBot
Status Active
Update Record Located Here
Pages Updated Mobile Phone Mast, 100 danger reports (for buildings containing masts)
Current Major Iteration 2nd
Functions

This bot is used to ensure that the information display on the Mobile Phone Mast page is accurate. When a danger report is updated with a new mast status, that status should be set to an 'old' variant after 5 days total, and 'unknown' after ten days total. The bot checks the reports based on the timestamp in the user line and changes the mast status as needed. It updates the Mobile Phone Mast page with the true network coverage as given by the Urban Dead Stats Page and the mapped network coverage as given by masts specified as active in danger reports.

Scenteral Intelligence Map

Bot User Account ScenteralIntelligenceMapBot
Status Active
Update Record Located Here
Pages Updated Image:SIM Core Map.png
Current Major Iteration 3rd
Functions

This bot recovers the SIM image from here and uploads it to the wiki at Image:SIM Core Map.png. That's it. Older versions used to deal with the expiry of individual SIM images when the project was hosted on the wiki.

External Military Report Page

Bot User Account ExternalMilitaryReportBot
Status Active
Update Record Located Here
Pages Updated EMRP: Reports to Process, 100 EMRP pages, 100 EMRP talk pages.
Current Major Iteration 1st
Functions

The bot takes EMRs posted on EMRP: Reports to Process and then sorts them into their correct locations. It updates the EMRP page for the suburb in each report by looking at certain phrases within the report itself. It then posts a copy of the report in the EMRP talk page for the suburb for archive purposes. It then updates EMRP: Reports to Process accordingly to let users know the reports have been dealt with. It may also in future update certain danger reports if the building is mentioned in the report.


Manual Editing-Assist Bots

These bots are designed to help me perform bulky manual edits, they are usually' Run Once' type programs.

Quick Updates Bot

User Account The Rooster
Status Active Manual-Editing Assistant
Functions

A handy tool that I adjust on the fly to my needs. I feed it a page or list of pages, a handful of code that deals with how the page needs to be changed (Usually no more than adding a few lines, or maybe a complete replace of text) and it runs through the list. Simply, fast and mostly effective.

BIC Standards Bot

User Account The Rooster
Status Retired Manual-Editing Assistant
Functions

This bot standardises Danger Reports. I've run for three major edit-streaks. The first time it went through everything and fixed it all, a few errors here and there which I didn't notice with my manual checking but nothing major. The second time it was solely to fix categories for Office Building and NT's by removing the word 'The' in the Building Danger Levels sort key. The third time it rolled out a new standard and also created a handful of mobile phone mast pages that needed creating. It managed to make a half-major screw up on some of the existing mast reports but these have since been fixed. I estimate that roughly 1500 of my edits are due to this thing, that certainly wasn't my intention.

I'm burying this bot under a foot of soil. Let's hope it never need be run again.

Disambiguation Bot

User Account The Rooster
Status Active Manual-Editing Assistant
Functions

There's a lot of pages that just link directly to a disambiguation page because they can't be bothered to link to the building they want to. This bot won't fix many of these pages but instead targets any location pages using the Locationblock template or Locationblockmerge template and will send any ambiguous links to their intended locations by having the link redirect to the named suburb in the template or by using the link provided underneath the location if it has one (which indicates the location is outside the suburb)


Design Phase

Bots currently still being designed.

BIC Danger Report Updater

User Account To be determined, likely a seperate account.
Status Design Phase
Possible Functions

There are roughly 850 subpages to the Danger Reports, this means that often they can go out of date without people ever noticing. Information is no real use if it's more than a month old, and is still questionable at less than a week or two since the last update. I'm attempting to create a bot that will update anything over a month old with an unknown status. It will need to check about 700 pages (All Danger reports excluding Suburb Danger reports, redirect pages, experimental report pages, and all Monroeville pages (They're unlikely to go out of date before it ends anyway)) It's an inconsistency minefield out there, but hopefully the bot can successfully analyse upwards of 600 of these pages. We'll see.

Revivification Point Bot

User Account To be determined, likely a seperate account.
Status Design Phase
Possible Functions

This bot would deal with the timekeeping on the List of Revivification Points page by marking points as outdated where required.


Ideas for Bots

These are bots I haven't even entered one line of code for, but might be useful.

Co-ordinates Bot

User Account To be determined, likely through my account.
Status Drawing Board
Possible Functions

This bot would set up all the redirects that should exist for co-ordinates. EG: You type in 52,54 into the search box and get sent to that building. Some already exist, but many do not.