Operator: DFRussia
Automatic or Manually Assisted:
Programming Language(s):
Function Summary:
Edit period(s) (e.g. Continuous, daily, one time run):
Edit rate requested: X edits per TIME
Already has a bot flag (Y/N):
Function Details:
This is the first algorithm I have for this bot. I plan to make more as time goes on. I will seek approval for each algorithm before running it. For me, this is mostly an excersise in programming, a contribution to Open Source and a way to simplify editing of wikipedia for myself and others -- DFRussia 20:40, 1 November 2007 (UTC) reply
Do not try to do this with screen-scraping. That would take multiple database accesses to do the task you're suggesting. But it can be done in one query via the API: look at http://en.wikipedia.org/w/api.php?action=query&prop=info&titles=Main%20Page%7CMain%20page%7CMain%20pagd&format=xml, for instance. The results show that Main pagd is a redlink, Main page is a redirect, and Main Page is a non-redirect article (the names are URL-encoded in the query). And that was accomplished in one database access; putting more titles there would work and still only do one database query. With this API function that's there to do what you're requesting, I think this task is so trivial it doesn't need bot approval (or a bot, for that matter); generally speaking bots aren't needed when there's a software feature that does the same thing. -- ais523 18:58, 2 November 2007 ( U T C)
Withdrawn by operator. – until the script uses the MediaWiki API. It can be reactivated at that time. —
madman
bum and angel
19:25, 6 November 2007 (UTC)
reply