r90480 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90479‎ | r90480 | r90481 >
Date:19:20, 20 June 2011
Author:catrope
Status:ok
Tags:
Comment:
1.17wmf1: Live hack per Dario's request: set weights for join and survey CTAs to zero, leaving only the edit CTA
Modified paths:
  • /branches/wmf/1.17wmf1/extensions/ArticleFeedback/modules/ext.articleFeedback/ext.articleFeedback.js (modified) (history)

Diff [purge]

Index: branches/wmf/1.17wmf1/extensions/ArticleFeedback/modules/ext.articleFeedback/ext.articleFeedback.js
@@ -219,7 +219,8 @@
220220 },
221221 'pitches': {
222222 'survey': {
223 - 'weight': 1,
 223+ //'weight': 1,
 224+ 'weight': 0,
224225 'condition': function() {
225226 return isPitchVisible( 'survey' );
226227 },
@@ -237,7 +238,8 @@
238239 'reject': 'articlefeedback-pitch-reject'
239240 },
240241 'join': {
241 - 'weight': 1,
 242+ //'weight': 1,
 243+ 'weight': 0,
242244 'condition': function() {
243245 return isPitchVisible( 'join' ) && mw.user.anonymous();
244246 },

Status & tagging log