Index: trunk/extensions/ArticleFeedbackv5/ArticleFeedbackv5.hooks.php |
— | — | @@ -178,13 +178,13 @@ |
179 | 179 | $fields = ApiArticleFeedbackv5Utils::getFields(); |
180 | 180 | $prefix = 'articlefeedbackv5-bucket5-'; |
181 | 181 | foreach( $fields as $field ) { |
182 | | - $resources['messages'][] = $prefix . $field->aaf_name . '-label'; |
183 | | - $resources['messages'][] = $prefix . $field->aaf_name . '-tip'; |
184 | | - $resources['messages'][] = $prefix . $field->aaf_name . '-tooltip-1'; |
185 | | - $resources['messages'][] = $prefix . $field->aaf_name . '-tooltip-2'; |
186 | | - $resources['messages'][] = $prefix . $field->aaf_name . '-tooltip-3'; |
187 | | - $resources['messages'][] = $prefix . $field->aaf_name . '-tooltip-4'; |
188 | | - $resources['messages'][] = $prefix . $field->aaf_name . '-tooltip-5'; |
| 182 | + $resources['messages'][] = $prefix . $field->afi_name . '-label'; |
| 183 | + $resources['messages'][] = $prefix . $field->afi_name . '-tip'; |
| 184 | + $resources['messages'][] = $prefix . $field->afi_name . '-tooltip-1'; |
| 185 | + $resources['messages'][] = $prefix . $field->afi_name . '-tooltip-2'; |
| 186 | + $resources['messages'][] = $prefix . $field->afi_name . '-tooltip-3'; |
| 187 | + $resources['messages'][] = $prefix . $field->afi_name . '-tooltip-4'; |
| 188 | + $resources['messages'][] = $prefix . $field->afi_name . '-tooltip-5'; |
189 | 189 | } |
190 | 190 | } |
191 | 191 | $resourceLoader->register( |
— | — | @@ -221,8 +221,8 @@ |
222 | 222 | |
223 | 223 | $fields = ApiArticleFeedbackv5Utils::getFields(); |
224 | 224 | foreach( $fields as $field ) { |
225 | | - $vars['wgArticleFeedbackv5RatingTypes'][] = $field->aaf_name; |
226 | | - $vars['wgArticleFeedbackv5RatingTypesFlipped'][$field->aaf_name] = $field->aaf_id; |
| 225 | + $vars['wgArticleFeedbackv5RatingTypes'][] = $field->afi_name; |
| 226 | + $vars['wgArticleFeedbackv5RatingTypesFlipped'][$field->afi_name] = $field->afi_id; |
227 | 227 | } |
228 | 228 | return true; |
229 | 229 | } |