Index: trunk/extensions/ArticleFeedback/modules/ext.articleFeedback/ext.articleFeedback.js |
— | — | @@ -216,7 +216,7 @@ |
217 | 217 | 'ratings': mw.config.get( 'wgArticleFeedbackRatingTypesFlipped' ), |
218 | 218 | 'pitches': { |
219 | 219 | 'survey': { |
220 | | - 'weight': 1, |
| 220 | + 'weight': 0, |
221 | 221 | 'condition': function() { |
222 | 222 | return isPitchVisible( 'survey' ); |
223 | 223 | }, |
— | — | @@ -234,7 +234,7 @@ |
235 | 235 | 'reject': 'articlefeedback-pitch-reject' |
236 | 236 | }, |
237 | 237 | 'join': { |
238 | | - 'weight': 1, |
| 238 | + 'weight': 0, |
239 | 239 | 'condition': function() { |
240 | 240 | return isPitchVisible( 'join' ) && mw.user.anonymous(); |
241 | 241 | }, |
— | — | @@ -272,7 +272,7 @@ |
273 | 273 | } |
274 | 274 | }, |
275 | 275 | 'edit': { |
276 | | - 'weight': 2, |
| 276 | + 'weight': 1, |
277 | 277 | 'condition': function() { |
278 | 278 | // An empty restrictions array means anyone can edit |
279 | 279 | var restrictions = mw.config.get( 'wgRestrictionEdit', [] ); |
— | — | @@ -334,7 +334,8 @@ |
335 | 335 | .text( mw.msg( 'articlefeedback-form-switch-label' ) ) |
336 | 336 | .click( function() { |
337 | 337 | // Click tracking |
338 | | - trackClick( 'toolbox-link' ); |
| 338 | + // Temporarily disabled per Dario's request --Roan |
| 339 | + //trackClick( 'toolbox-link' ); |
339 | 340 | // Get the image, set the count and an interval. |
340 | 341 | var $box = $( '#mw-articlefeedback' ); |
341 | 342 | var count = 0; |