r23595 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23594‎ | r23595 | r23596 >
Date:20:42, 30 June 2007
Author:aaron
Status:old
Tags:
Comment:
*Rename file to patch-cu_cookie_user.sql, more consistent
Modified paths:
  • /trunk/extensions/CheckUser/CheckUser.php (modified) (history)
  • /trunk/extensions/CheckUser/patch-cu_cookie_user.sql (added) (history)
  • /trunk/extensions/CheckUser/patch-cu_cookies.sql (deleted) (history)

Diff [purge]

Index: trunk/extensions/CheckUser/patch-cu_cookies.sql
@@ -1,6 +0,0 @@
2 -
3 -ALTER TABLE /*$wgDBprefix*/cu_changes
4 - ADD cuc_cookie_user VARCHAR(255) BINARY default NULL;
Index: trunk/extensions/CheckUser/CheckUser.php
@@ -30,7 +30,7 @@
3131 # It will also be stored during login if the old session data for the usre is
3232 # for a different account. (Note that user renames can cause this).
3333 # If you have an older version of checkuser without the cuc_cookie_user column,
34 -# run patch-cu_cookies.sql before enabling this
 34+# run patch-cu_cookie_user.sql before enabling this
3535 $wgCURecordCookieData = false;
3636
3737 #Recent changes data hook
Index: trunk/extensions/CheckUser/patch-cu_cookie_user.sql
@@ -0,0 +1,6 @@
 2+-- Adds the cookie data column needed to enable $wgCURecordCookies
 3+-- vim: autoindent syn=mysql sts=2 sw=2
 4+-- Replace /*$wgDBprefix*/ with the proper prefix
 5+
 6+ALTER TABLE /*$wgDBprefix*/cu_changes
 7+ ADD cuc_cookie_user VARCHAR(255) BINARY default NULL;

Status & tagging log