Index: trunk/extensions/MoodBar/ApiFeedbackDashboardResponse.php |
— | — | @@ -76,7 +76,6 @@ |
77 | 77 | 'useragent' => null, |
78 | 78 | 'system' => null, |
79 | 79 | 'locale' => null, |
80 | | - 'bucket' => null, |
81 | 80 | 'token' => null, |
82 | 81 | ); |
83 | 82 | } |
— | — | @@ -99,7 +98,6 @@ |
100 | 99 | 'response' => 'The feedback text', |
101 | 100 | 'anonymize' => 'Whether to hide user information', |
102 | 101 | 'editmode' => 'Whether or not the feedback context is in edit mode', |
103 | | - 'bucket' => 'The testing bucket, if any', |
104 | 102 | 'useragent' => 'The User-Agent header of the browser', |
105 | 103 | 'system' => 'The operating system being used', |
106 | 104 | 'locale' => 'The locale in use', |
Index: trunk/extensions/MoodBar/sql/moodbar_feedback_response.sql |
— | — | @@ -19,8 +19,7 @@ |
20 | 20 | mbfr_system_type varchar(64) binary NULL, -- Operating System |
21 | 21 | mbfr_user_agent varchar(255) binary NULL, -- User-Agent header |
22 | 22 | mbfr_locale varchar(32) binary NULL, -- The locale of the user's browser |
23 | | - mbfr_editing tinyint unsigned NOT NULL, -- Whether or not the user was editing |
24 | | - mbfr_bucket varchar(128) binary NULL -- Bucket, for A/B testing |
| 23 | + mbfr_editing tinyint unsigned NOT NULL -- Whether or not the user was editing |
25 | 24 | ) /*$wgDBTableOptions*/; |
26 | 25 | |
27 | 26 | CREATE INDEX /*i*/mbfr_mbf_id ON /*_*/moodbar_feedback_response (mbfr_mbf_id); |
Index: trunk/extensions/MoodBar/FeedbackResponseItem.php |
— | — | @@ -23,8 +23,7 @@ |
24 | 24 | 'system', // Operating System |
25 | 25 | 'useragent' , // User-Agent header |
26 | 26 | 'locale', // The locale of the user's browser |
27 | | - 'editmode', // Whether or not the user was editing |
28 | | - 'bucket' // Bucket, for A/B testing |
| 27 | + 'editmode' // Whether or not the user was editing |
29 | 28 | ); |
30 | 29 | /** |
31 | 30 | * Default constructor. |
— | — | @@ -42,7 +41,7 @@ |
43 | 42 | * Factory function to create a new MBFeedbackResponseItem |
44 | 43 | * @param $info Associative array of values |
45 | 44 | * Valid keys: feedbackitem, user, response-text, timestamp, |
46 | | - * useragent, system, locale, bucket |
| 45 | + * useragent, system, locale |
47 | 46 | * @return MBFeedbackItem object. |
48 | 47 | */ |
49 | 48 | public static function create( $info ) { |
— | — | @@ -94,7 +93,6 @@ |
95 | 94 | 'useragent' => 'mbfr_user_agent', |
96 | 95 | 'system' => 'mbfr_system_type', |
97 | 96 | 'locale' => 'mbfr_locale', |
98 | | - 'bucket' => 'mbfr_bucket', |
99 | 97 | 'editmode' => 'mbfr_editing', |
100 | 98 | 'commenter-editcount', |
101 | 99 | 'user-editcount' |
— | — | @@ -231,7 +229,6 @@ |
232 | 230 | 'mbfr_system_type' => $this->getProperty('system'), |
233 | 231 | 'mbfr_user_agent' => $this->getProperty('useragent'), |
234 | 232 | 'mbfr_locale' => $this->getProperty('locale'), |
235 | | - 'mbfr_bucket' => $this->getProperty('bucket'), |
236 | 233 | 'mbfr_editing' => $this->getProperty('editmode') |
237 | 234 | ); |
238 | 235 | |