Disable $wgServer autodetection to prevent cache poisoning attacks
[lhc/web/wiklou.git] / maintenance / archives / patch-linkscc.sql
index 4be2bde..684384f 100644 (file)
@@ -2,9 +2,11 @@
 -- linkscc table used to cache link lists in easier to digest form
 -- November 2003
 --
+-- Format later updated.
+--
 
-CREATE TABLE IF NOT EXISTS /*$wgDBprefix*/linkscc (
+CREATE TABLE /*$wgDBprefix*/linkscc (
   lcc_pageid INT UNSIGNED NOT NULL UNIQUE KEY,
-  lcc_title VARCHAR(255) binary NOT NULL UNIQUE KEY,
-  lcc_cacheobj MEDIUMBLOB NOT NULL);
+  lcc_cacheobj MEDIUMBLOB NOT NULL
 
+) /*$wgDBTableOptions*/;