From 222b01f5169f1c7e69762e0e8904c24f78f71882 Mon Sep 17 00:00:00 2001
From: Pierre Schmitz <pierre@archlinux.de>
Date: Wed, 28 Jul 2010 11:52:48 +0200
Subject: update to MediaWiki 1.16.0

---
 maintenance/archives/patch-filearchive-user-index.sql | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 maintenance/archives/patch-filearchive-user-index.sql

(limited to 'maintenance/archives/patch-filearchive-user-index.sql')

diff --git a/maintenance/archives/patch-filearchive-user-index.sql b/maintenance/archives/patch-filearchive-user-index.sql
new file mode 100644
index 00000000..c79000ad
--- /dev/null
+++ b/maintenance/archives/patch-filearchive-user-index.sql
@@ -0,0 +1,5 @@
+-- Adding index to sort by uploader
+ALTER TABLE /*$wgDBprefix*/filearchive 
+  ADD INDEX fa_user_timestamp (fa_user_text,fa_timestamp),
+  -- Remove useless, incomplete index
+  DROP INDEX fa_deleted_user;
-- 
cgit v1.2.3-54-g00ecf

