User:DragonBot (usurped)/DesignDocs

From Wikipedia, the free encyclopedia

User:DragonBot/Header User:DragonBot/Sidebar

Design Documentation

Introduction[edit]

DragonBot is a hyrbid IRC/Wikipedia bot built to facilitate the analysis of useful statistical information on Wikipedia, and provide support in the maintenaince of pages related to the output of such statistical information.

Scope[edit]

DragonBot's scope is to get simple statistical information from Wikipedia. It can then use it's heuristics to perform simple analysis of this information. It has an Extensions module which would allow for users to program their instances of DragonBot perform more intensive tasks at their discresion.

Functions[edit]

IRC Module[edit]

Connect / Identify / Drop[edit]

Say / DelayedSay / Emote[edit]

Listen / ListenForSpecific[edit]

Whois / Idle Whois[edit]

Op / Deop / Kick / Ban / Unban[edit]

Voice / Devoice / Access[edit]

Topic / Modes[edit]

Cloak / FloodExempt / Flood / StopFlood / FloodProtect[edit]

Wikipedia Module[edit]

LogIn / LogOut[edit]

GetPage / GetSectionOnPage / GetDiff / GetHistory / GetCategory[edit]

GetListCount / GetVotes / GetLength / GetLinksHere / GetWordCount[edit]

WritePage / WriteSection[edit]

Block / Unblock / Delete / Undelete / Sprot / Prot / UnProt[edit]

The bot does not have admin access, will not have admin access, nor does it's creator. These functions are included entirely for extensions - for other bot authors that wish to make an "adminbot" off the dragonBot core..

CheckTalkPage / GetRequester / GetRequest / GetTalkMessage[edit]

ClerkTalkPage / ProcessRequest / AcknolwedgeRequest / AskForProperFormat[edit]

Statistics Module[edit]

CountContribs / CountContribsToArticle / CountContribsToNamespace[edit]

CountChanges / CountReverstions / CountMinorEdits / CountUserMinorEdits[edit]

CountNumArticlesMade / CountNumStubsMade / CountNumLargeEditsMade[edit]

CountVandalism / CountSpam / Count3RR / CountIncivility / CountBlocks[edit]

IsSock / FindSockCase / CountConfirmedSocks[edit]

HasBeenInMediation / CountMediationCases / CountMediationRefusals[edit]

HasBeenInArbCom / CountArbComCases / CountBans[edit]

CountByRegex[edit]

Heuristics Module[edit]

DeterminePercentageBadEdits / DeterminePercentageVandalism / DeterminePercentageSpam[edit]

DeterminePercentageDisruptive / DeterminePercentage3RR / DeterminePercentageIncivil[edit]

CompareUsers / CompareUsersOnArtice / CompareUsersDisruption / CompareBlocks[edit]

CompareEdits[edit]

Extensions Module[edit]

CheckExtension / LoadExtension[edit]

ExtensionRawIRC / ExtensionRawListen[edit]

ExtensionGetDiff / ExtensionGetWPPage / ExtensionWriteWPPage[edit]

ExtensionCreateVariable / ExtensionGetVariable / ExtensionSetVariable[edit]

Programming Methodology[edit]

Coding Standards[edit]

Modules[edit]

Extensions[edit]

Failsafes[edit]

External Links[edit]