r90830 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90829‎ | r90830 | r90831 >
Date:14:10, 26 June 2011
Author:ashley
Status:deferred
Tags:
Comment:
SocialProfile: mass-change /*$wgDBprefix*/ to /*_*/
Modified paths:
  • /trunk/extensions/SocialProfile/SystemGifts/systemgifts.sql (modified) (history)
  • /trunk/extensions/SocialProfile/UserBoard/user_board.sql (modified) (history)
  • /trunk/extensions/SocialProfile/UserGifts/usergifts.sql (modified) (history)
  • /trunk/extensions/SocialProfile/UserProfile/user_profile.sql (modified) (history)
  • /trunk/extensions/SocialProfile/UserRelationship/user_relationship.sql (modified) (history)
  • /trunk/extensions/SocialProfile/UserSystemMessages/user_system_messages.sql (modified) (history)

Diff [purge]

Index: trunk/extensions/SocialProfile/SystemGifts/systemgifts.sql
@@ -1,4 +1,4 @@
2 -CREATE TABLE /*$wgDBprefix*/user_system_gift (
 2+CREATE TABLE /*_*/user_system_gift (
33 `sg_id` int(11) NOT NULL PRIMARY KEY auto_increment,
44 `sg_gift_id` int(5) unsigned NOT NULL default '0',
55 `sg_user_id` int(11) unsigned NOT NULL default '0',
@@ -9,7 +9,7 @@
1010 CREATE INDEX /*i*/sg_user_id ON /*_*/user_system_gift (`sg_user_id`);
1111 CREATE INDEX /*i*/sg_gift_id ON /*_*/user_system_gift (`sg_gift_id`);
1212
13 -CREATE TABLE /*$wgDBprefix*/system_gift (
 13+CREATE TABLE /*_*/system_gift (
1414 `gift_id` int(11) NOT NULL PRIMARY KEY auto_increment,
1515 `gift_name` varchar(255) NOT NULL default '',
1616 `gift_description` text,
Index: trunk/extensions/SocialProfile/UserBoard/user_board.sql
@@ -2,7 +2,7 @@
33 -- Table structure for table `user_board`
44 --
55
6 -CREATE TABLE /*$wgDBprefix*/user_board (
 6+CREATE TABLE /*_*/user_board (
77 `ub_id` int(11) PRIMARY KEY auto_increment,
88 `ub_user_id` int(11) NOT NULL default '0',
99 `ub_user_name` varchar(255) NOT NULL default '',
Index: trunk/extensions/SocialProfile/UserProfile/user_profile.sql
@@ -2,7 +2,7 @@
33 -- Table structure for table `user_profile`
44 --
55
6 -CREATE TABLE /*$wgDBprefix*/user_profile (
 6+CREATE TABLE /*_*/user_profile (
77 `up_user_id` int(5) NOT NULL PRIMARY KEY default '0',
88 `up_location_city` varchar(255) default NULL,
99 `up_location_state` varchar(100) default NULL,
Index: trunk/extensions/SocialProfile/UserRelationship/user_relationship.sql
@@ -2,7 +2,7 @@
33 -- Table structure for table `user_relationship`
44 --
55
6 -CREATE TABLE /*$wgDBprefix*/user_relationship (
 6+CREATE TABLE /*_*/user_relationship (
77 `r_id` int(11) PRIMARY KEY auto_increment,
88 `r_user_id` int(5) unsigned NOT NULL default '0',
99 `r_user_name` varchar(255) NOT NULL default '',
@@ -18,7 +18,7 @@
1919 -- Table structure for table `user_relationship_request`
2020 --
2121
22 -CREATE TABLE /*$wgDBprefix*/user_relationship_request (
 22+CREATE TABLE /*_*/user_relationship_request (
2323 `ur_id` int(11) PRIMARY KEY auto_increment,
2424 `ur_user_id_from` int(5) unsigned NOT NULL default '0',
2525 `ur_user_name_from` varchar(255) NOT NULL default '',
@@ -30,4 +30,4 @@
3131 `ur_date` datetime default NULL
3232 ) DEFAULT CHARSET=utf8;
3333 CREATE INDEX /*i*/ur_user_id_from ON /*_*/user_relationship_request (`ur_user_id_from`);
34 -CREATE INDEX /*I*/ur_user_id_to ON /*_*/user_relationship_request (`ur_user_id_to`);
 34+CREATE INDEX /*i*/ur_user_id_to ON /*_*/user_relationship_request (`ur_user_id_to`);
Index: trunk/extensions/SocialProfile/UserGifts/usergifts.sql
@@ -1,4 +1,4 @@
2 -CREATE TABLE /*$wgDBprefix*/user_gift (
 2+CREATE TABLE /*_*/user_gift (
33 `ug_id` int(11) PRIMARY KEY auto_increment,
44 `ug_gift_id` int(5) unsigned NOT NULL default '0',
55 `ug_user_id_to` int(5) unsigned NOT NULL default '0',
@@ -13,7 +13,7 @@
1414 CREATE INDEX /*i*/ug_user_id_from ON /*_*/user_gift (`ug_user_id_from`);
1515 CREATE INDEX /*i*/ug_user_id_to ON /*_*/user_gift (`ug_user_id_to`);
1616
17 -CREATE TABLE /*$wgDBprefix*/gift (
 17+CREATE TABLE /*_*/gift (
1818 `gift_id` int(11) UNSIGNED PRIMARY KEY auto_increment,
1919 `gift_access` int(5) NOT NULL default '0',
2020 `gift_creator_user_id` int(11) NOT NULL default '0',
Index: trunk/extensions/SocialProfile/UserSystemMessages/user_system_messages.sql
@@ -1,4 +1,4 @@
2 -CREATE TABLE /*$wgDBprefix*/user_system_messages (
 2+CREATE TABLE /*_*/user_system_messages (
33 `um_id` int(11) NOT NULL PRIMARY KEY auto_increment,
44 `um_user_id` int(11) NOT NULL default '0',
55 `um_user_name` varchar(255) NOT NULL default '',

Status & tagging log