r113958 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113957‎ | r113958 | r113959 >
Date:21:11, 15 March 2012
Author:catrope
Status:ok
Tags:
Comment:
1.19wmf1: Adjust pitch weights in AFTv4 per Dario's request. Will merge back to trunk later
Modified paths:
  • /branches/wmf/1.19wmf1/extensions/ArticleFeedback/modules/ext.articleFeedback/ext.articleFeedback.js (modified) (history)

Diff [purge]

Index: branches/wmf/1.19wmf1/extensions/ArticleFeedback/modules/ext.articleFeedback/ext.articleFeedback.js
@@ -216,7 +216,7 @@
217217 'ratings': mw.config.get( 'wgArticleFeedbackRatingTypesFlipped' ),
218218 'pitches': {
219219 'survey': {
220 - 'weight': 1,
 220+ 'weight': 0,
221221 'condition': function() {
222222 return isPitchVisible( 'survey' );
223223 },
@@ -234,7 +234,7 @@
235235 'reject': 'articlefeedback-pitch-reject'
236236 },
237237 'join': {
238 - 'weight': 1,
 238+ 'weight': 0,
239239 'condition': function() {
240240 return isPitchVisible( 'join' ) && mw.user.anonymous();
241241 },
@@ -272,7 +272,7 @@
273273 }
274274 },
275275 'edit': {
276 - 'weight': 2,
 276+ 'weight': 1,
277277 'condition': function() {
278278 // An empty restrictions array means anyone can edit
279279 var restrictions = mw.config.get( 'wgRestrictionEdit', [] );

Follow-up revisions

RevisionCommit summaryAuthorDate
r113976MTT r113958, r113959catrope23:25, 15 March 2012

Status & tagging log