r110173 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r110172‎ | r110173 | r110174 >
Date:21:41, 27 January 2012
Author:rsterbin
Status:ok
Tags:
Comment:
Fix for r110136 -- should be an int, not a string
Modified paths:
  • /trunk/extensions/ArticleFeedbackv5/ArticleFeedbackv5.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleFeedbackv5/ArticleFeedbackv5.php
@@ -172,12 +172,12 @@
173173 /**
174174 * Temporary hack: for now, only one CTA is allowed, so set it here.
175175 *
176 - * Allowed values: '0' (just a confirm message), '1' (call to edit), '2' (learn
177 - * more), or '3' (survey)
 176+ * Allowed values: 0 (just a confirm message), 1 (call to edit), 2 (learn
 177+ * more), or 3 (survey)
178178 *
179179 * @var int
180180 */
181 -$wgArticleFeedbackv5SelectedCTA = '3';
 181+$wgArticleFeedbackv5SelectedCTA = 3;
182182
183183 /**
184184 * Turn on abuse filtering

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r110136Added temporary config variable wgArticleFeedbackv5SelectedCTA so that Roan c...rsterbin16:05, 27 January 2012

Status & tagging log