Remove ur_user index. We can just use the user_namespace to load all blocked namespac...
[lhc/web/wiklou.git] / maintenance / archives / upgradeWatchlist.php
index b4605a5..9788aa5 100644 (file)
@@ -1,8 +1,8 @@
 <?php
 /**
+ * @file
  * @deprecated
- * @package MediaWiki
- * @subpackage MaintenanceArchive
+ * @ingroup MaintenanceArchive
  */
 
 /** */
@@ -30,7 +30,7 @@ $sql = "CREATE TABLE watchlist (
   wl_user int(5) unsigned NOT NULL,
   wl_page int(8) unsigned NOT NULL,
   UNIQUE KEY (wl_user, wl_page)
-) TYPE=MyISAM PACK_KEYS=1";
+) ENGINE=MyISAM PACK_KEYS=1";
 wfQuery( $sql, DB_MASTER );
 
 $lc = new LinkCache;
@@ -64,4 +64,4 @@ $sql = "ALTER TABLE watchlist
   ADD INDEX wl_page (wl_page)";
 #wfQuery( $sql, DB_MASTER );
 
-?>
+