r39983 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r39982‎ | r39983 | r39984 >
Date:22:56, 25 August 2008
Author:brion
Status:old
Tags:
Comment:
Hard-disable the obsolete BotQuery by throwing in a die(). It's tough to ensure it won't do anything dangerous just sitting there otherwise. :P
Modified paths:
  • /trunk/extensions/BotQuery/OBSOLETE (added) (history)
  • /trunk/extensions/BotQuery/query.php (modified) (history)

Diff [purge]

Index: trunk/extensions/BotQuery/query.php
@@ -1,4 +1,7 @@
22 <?php
 3+
 4+die("BotQuery is obsolete! For safety, this code is being hard-disabled.");
 5+
36 /**
47 * Bot Query extension for MediaWiki 1.7+
58 *
Index: trunk/extensions/BotQuery/OBSOLETE
@@ -0,0 +1,6 @@
 2+This extension is obsolete.
 3+
 4+MediaWiki's built-in API has replaced the old BotQuery interface, which is
 5+being retired due to lack of maintenance.
 6+
 7+In the future this extension may be removed from trunk.

Status & tagging log