r110052 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r110051‎ | r110052 | r110053 >
Date:10:25, 26 January 2012
Author:raymond
Status:reverted
Tags:
Comment:
Reinstate comments dropped in r110028
Ping r109982: /* */ style comments are reserved (in i18n files only) for language name and translators, otherwise removed by the transatewiki.net export script. # and // style comments can be used.
Modified paths:
  • /trunk/extensions/ArticleFeedbackv5/ArticleFeedbackv5.i18n.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleFeedbackv5/ArticleFeedbackv5.i18n.php
@@ -18,7 +18,7 @@
1919 */
2020 $messages['en'] = array(
2121
22 - /* CTAs */
 22+ // CTAs
2323 'articlefeedbackv5-cta-thanks' => 'Thanks!',
2424 'articlefeedbackv5-cta-confirmation-followup' => 'Your feedback has been saved.',
2525 'articlefeedbackv5-cta1-confirmation-title' => 'Did you know that you can edit this page?',
@@ -33,7 +33,7 @@
3434 'articlefeedbackv5-cta3-confirmation-call' => 'It only takes a minute and will help improve Wikipedia.',
3535 'articlefeedbackv5-cta3-button-text' => 'Start the survey',
3636
37 - /* Error Messages */
 37+ // Error Messages
3838 'articlefeedbackv5-error' => 'An error has occured. Please try again later.',
3939 'articlefeedbackv5-page-disabled' => 'Article Feedback page not enabled for this article.',
4040 'articlefeedbackv5-error-email' => 'That e-mail address is not valid.',
@@ -135,8 +135,8 @@
136136 'articlefeedbackv5-comment-more' => 'More',
137137 'articlefeedbackv5-comment-less' => 'Less',
138138
139 - /* Feedback forms */
140 - /* Option 1 ("Did you find what you were looking for?") */
 139+ // Feedback forms
 140+ // Option 1 ("Did you find what you were looking for?")
141141 'articlefeedbackv5-bucket1-title' => 'Help improve this page',
142142 'articlefeedbackv5-bucket1-question-toggle' => 'Did you find what you were looking for?',
143143 'articlefeedbackv5-bucket1-toggle-found-yes' => 'Yes',
@@ -147,7 +147,7 @@
148148 'articlefeedbackv5-bucket1-question-comment-no' => 'What\'s missing? Any suggestions for improvement?',
149149 'articlefeedbackv5-bucket1-form-submit' => 'Post your feedback',
150150
151 - /* Option 2 (getsatisfaction style) */
 151+ // Option 2 (getsatisfaction style)
152152 'articlefeedbackv5-bucket2-title' => 'Help improve this page',
153153 'articlefeedbackv5-bucket2-suggestion-label' => 'Suggestion',
154154 'articlefeedbackv5-bucket2-question-label' => 'Question',
@@ -159,7 +159,7 @@
160160 'articlefeedbackv5-bucket2-praise-comment-default' => 'What do you like most? Share your praise with the editors.',
161161 'articlefeedbackv5-bucket2-form-submit' => 'Post your feedback',
162162
163 - /* Option 3 (single rating) */
 163+ // Option 3 (single rating)
164164 'articlefeedbackv5-bucket3-title' => 'Help improve this page',
165165 'articlefeedbackv5-bucket3-rating-question' => 'Is this page helpful?',
166166 'articlefeedbackv5-bucket3-rating-tooltip-1' => 'Not helpful at all',
@@ -171,7 +171,7 @@
172172 'articlefeedbackv5-bucket3-comment-default' => 'Add a comment. How can this page be improved?',
173173 'articlefeedbackv5-bucket3-form-submit' => 'Post your feedback',
174174
175 - /* Option 4 (just a big glossy edit button and some teaser text) */
 175+ // Option 4 (just a big glossy edit button and some teaser text)
176176 'articlefeedbackv5-bucket4-title' => 'Help improve this page',
177177 'articlefeedbackv5-bucket4-subhead' => 'Did you know that you can edit this page?',
178178 'articlefeedbackv5-bucket4-teaser-line1' => 'Wikipedia works because anyone can edit its pages.',
@@ -180,7 +180,7 @@
181181 'articlefeedbackv5-bucket4-form-submit' => 'Edit this page',
182182 'articlefeedbackv5-bucket4-help-tooltip-info' => 'Wikipedia wants to know what you think. Help improve this page by becoming an editor.',
183183
184 - /* Option 5 (just like AFTv4, but ported to work with v5) */
 184+ // Option 5 (just like AFTv4, but ported to work with v5)
185185 'articlefeedbackv5-bucket5-form-switch-label' => 'Rate this page',
186186 'articlefeedbackv5-bucket5-form-panel-title' => 'Rate this page',
187187 'articlefeedbackv5-bucket5-form-panel-explanation' => 'What\'s this?',
@@ -235,7 +235,7 @@
236236 'articlefeedbackv5-bucket5-wellwritten-tooltip-5' => 'Exceptional clarity',
237237 'articlefeedbackv5-bucket5-toolbox-linktext' => 'Rate this page',
238238
239 - /* Messages shared by all feedback form options */
 239+ // Messages shared by all feedback form options
240240 'articlefeedbackv5-shared-on-feedback' => 'Your comment will be shared on this $1.',
241241 'articlefeedbackv5-shared-on-feedback-linktext' => 'feedback page',
242242 'articlefeedbackv5-help-tooltip-title' => 'What\'s this?',
@@ -252,13 +252,13 @@
253253 'articlefeedbackv5-section-linktext' => 'feedback',
254254 'articlefeedbackv5-toolbox-linktext' => 'Improve this page',
255255
256 - /* Not sure */
 256+ // Not sure
257257 'articlefeedbackv5-privacyurl' => '//wikimediafoundation.org/wiki/Feedback_privacy_statement',
258258
259 - /* Special:Preferences */
 259+ // Special:Preferences
260260 'articlefeedbackv5-disable-preference' => "Don't show the Article feedback widget on pages",
261261
262 - /* EmailCapture */
 262+ // EmailCapture
263263 'articlefeedbackv5-emailcapture-response-body' => 'Hello!
264264
265265 Thank you for expressing interest in helping to improve {{SITENAME}}.
@@ -301,6 +301,8 @@
302302 * @author Yekrats
303303 */
304304 $messages['qqq'] = array(
 305+
 306+ /* CTAs */
305307 'articlefeedbackv5-cta-thanks' => 'The bolded part of the message that appears at the top of every CTA',
306308 'articlefeedbackv5-cta-confirmation-followup' => 'The non-bolded part of the message that appears at the top of every CTA',
307309 'articlefeedbackv5-cta1-confirmation-title' => 'The title of the edit CTA',
@@ -314,11 +316,15 @@
315317 'articlefeedbackv5-cta3-confirmation-title' => 'The title of the survey CTA',
316318 'articlefeedbackv5-cta3-confirmation-call' => 'The explanatory text of the survey CTA',
317319 'articlefeedbackv5-cta3-button-text' => 'The text for the button on the survey CTA',
 320+
 321+ /* Error Messages */
318322 'articlefeedbackv5-error' => 'This error message will be displayed in a grey box replacing the form if there was an unrecoverable error.',
319323 'articlefeedbackv5-error-blocked' => 'This error message will be displayed on the form if the user is blocked from submitting feedback.',
320324 'articlefeedbackv5-error-abuse' => 'This error message will be displayed above the form if the comment matched the spam or abuse filters. $1 is the link to the abuse policy, the text of which is {{msg-mw|articlefeedbackv5-error-abuse-linktext}} and the url of which is {{msg-mw|articlefeedbackv5-error-abuse-link}}.',
321325 'articlefeedbackv5-error-abuse-linktext' => 'The text for the abuse policy link within {{msg-mw|articlefeedbackv5-error-abuse}}.',
322326 'articlefeedbackv5-error-nofeedback' => 'This error message will be displayed above the form (but below the title) if the user has attempted to submit a blank form.',
 327+
 328+ /* Special Page */
323329 'articlefeedbackv5-form-tools-label' => '{{Identical|Tools}}',
324330 'articlefeedbackv5-form-helpful-yes-label' => '{{Identical|Yes}}',
325331 'articlefeedbackv5-form-helpful-no-label' => '{{Identical|No}}',
@@ -371,6 +377,9 @@
372378 'articlefeedbackv5-desc' => '{{desc}}',
373379 'articlefeedbackv5-comment-more' => 'Label for the button to expand the truncated comment on feedback. Swaps to articlefeedbackv5-comment-less after being clicked.',
374380 'articlefeedbackv5-comment-less' => 'Previous label (articlefeedbackv5-comment-more) switches to this after being clicked. This is the label for collapsing the expanded comments.',
 381+
 382+ /* Feedback forms */
 383+ /* Option 1 ("Did you find what you were looking for?") */
375384 'articlefeedbackv5-bucket1-title' => 'This is the title of the feedback form for option 1 ("Did you find what you were looking for?" with yes/no buttons, plus a comment box)',
376385 'articlefeedbackv5-bucket1-question-toggle' => 'This is the question that appears before the yes/no buttons in option 1',
377386 'articlefeedbackv5-bucket1-toggle-found-yes' => 'The text for the yes button in option 1.
@@ -382,6 +391,8 @@
383392 'articlefeedbackv5-bucket1-question-comment-yes' => 'This is the grey default text that appears in the comment box when the yes button has been selected in option 1 {{msg-mw|Articlefeedbackv5-bucket1-question-toggle}}.',
384393 'articlefeedbackv5-bucket1-question-comment-no' => 'This is the grey default text that appears in the comment box when the no button has been selected in option 1 {{msg-mw|Articlefeedbackv5-bucket1-question-toggle}}.',
385394 'articlefeedbackv5-bucket1-form-submit' => 'This is the contents of the submit button for option 1 ("Did you find what you were looking for?" with yes/no buttons, plus a comment box)',
 395+
 396+ /* Option 2 (getsatisfaction style) */
386397 'articlefeedbackv5-bucket2-title' => 'This is the title of the feedback form for option 2 (a comment box that can be tagged as "Suggestion", "Question", "Praise", or "Problem")',
387398 'articlefeedbackv5-bucket2-suggestion-label' => 'The label for the suggestion tag',
388399 'articlefeedbackv5-bucket2-question-label' => 'The label for the question tag.
@@ -393,6 +404,8 @@
394405 'articlefeedbackv5-bucket2-problem-comment-default' => 'This is the grey default text that appears in the comment box when the "problem" tag has been selected in option 2.',
395406 'articlefeedbackv5-bucket2-praise-comment-default' => 'This is the grey default text that appears in the comment box when the "praise" tag has been selected in option 2.',
396407 'articlefeedbackv5-bucket2-form-submit' => 'This is the contents of the submit button for option 2 (a comment box that can be tagged as "Suggestion", "Question", "Praise", or "Problem")',
 408+
 409+ /* Option 3 (single rating) */
397410 'articlefeedbackv5-bucket3-title' => 'This is the title of the feedback form for option 3 (a 1-5 star rating selector and a comment box)',
398411 'articlefeedbackv5-bucket3-rating-question' => 'This is the question that appears before the rating stars in option 3',
399412 'articlefeedbackv5-bucket3-rating-tooltip-1' => 'This is the text that appears under the rating stars when you roll over star #1',
@@ -404,6 +417,8 @@
405418 'articlefeedbackv5-bucket3-clear-rating' => 'This is the tooltip that appears when you roll over the ratings-clear trash can icon',
406419 'articlefeedbackv5-bucket3-comment-default' => 'This is the grey default text that appears in the comment box.',
407420 'articlefeedbackv5-bucket3-form-submit' => 'This is the contents of the submit button for option 3 (a 1-5 star rating selector and a comment box)',
 421+
 422+ /* Option 4 (just a big glossy edit button and some teaser text) */
408423 'articlefeedbackv5-bucket4-title' => 'This is the title of the feedback panel for option 4 (a big button to take you to the edit page, along with some inspiring text and a link to the "Learn to Edit" page)',
409424 'articlefeedbackv5-bucket4-subhead' => 'A subheader to go directly under the title for option 4',
410425 'articlefeedbackv5-bucket4-teaser-line1' => 'The first line of the teaser text for option 4; should mention that anyone can edit pages.',
@@ -411,6 +426,8 @@
412427 'articlefeedbackv5-bucket4-learn-to-edit' => 'The text for the "Learn how to edit" link',
413428 'articlefeedbackv5-bucket4-form-submit' => 'The text for the big edit button',
414429 'articlefeedbackv5-bucket4-help-tooltip-info' => 'Overrides {{msg-mw|articlefeedbackv5-help-tooltip-info}} for option 4.',
 430+
 431+ /* Option 5 (just like AFTv4, but ported to work with v5) */
415432 'articlefeedbackv5-bucket5-form-panel-explanation' => '{{Identical|What is this}}',
416433 'articlefeedbackv5-bucket5-form-panel-explanation-link' => 'Do not translate "Project:". Also translate the "ArticleFeedback" special page name at [[Special:AdvancedTranslate]].',
417434 'articlefeedbackv5-bucket5-form-panel-helpimprove' => 'This message may not use <nowiki>{{SITENAME}}</nowiki>.',
@@ -421,6 +438,8 @@
422439 This message is used in JavaScript by module 'jquery.articleFeedback'.
423440 $1 is an integer, and the rating count.",
424441 'articlefeedbackv5-bucket5-toolbox-linktext' => 'When a link to pop up the feedback tool appears at the bottom of the toolbox area in the sidebar, this will be the link text. This should match AFTv4.',
 442+
 443+ /* Messages shared by all feedback form options */
425444 'articlefeedbackv5-shared-on-feedback' => 'This is the top line of the small text that goes beside the submit button and lets the user know that their comment will be posted on the feedback page. $1 is the link to the abuse policy, the text of which is {{msg-mw|articlefeedbackv5-shared-on-feedback-linktext}}.',
426445 'articlefeedbackv5-shared-on-feedback-linktext' => 'The text for the feedback page link within {{msg-mw|articlefeedbackv5-shared-on-feedback}}.',
427446 'articlefeedbackv5-help-tooltip-title' => 'The title for the help tooltip.
@@ -437,7 +456,11 @@
438457 'articlefeedbackv5-section-linktext' => 'When a link to pop up the feedback tool appears on the article section headers, next to [edit], this will be the text inside the brackets immediately following (e.g. "[edit] [feedback]").
439458 {{Identical|Feedback}}',
440459 'articlefeedbackv5-toolbox-linktext' => 'When a link to pop up the feedback tool appears at the bottom of the toolbox area in the sidebar, this will be the link text.',
 460+
 461+ /* Not sure */
441462 'articlefeedbackv5-privacyurl' => 'This URL can be changed to point to a translated version of the page if it exists.',
 463+
 464+ /* EmailCapture */
442465 'articlefeedbackv5-emailcapture-response-body' => 'Body of an e-mail sent to a user wishing to participate in [[mw:Extension:ArticleFeedback|article feedback]] (see the extension documentation).
443466 * <code>$1</code> – URL of the confirmation link
444467 * <code>$2</code> – URL to type in the confirmation code manually.

Follow-up revisions

RevisionCommit summaryAuthorDate
r110053Self revert r110052. Stupid Raymond :/raymond10:30, 26 January 2012

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r109982Some cleanup for messages (not yet complete):...rsterbin02:14, 25 January 2012
r110028Localisation updates for core and extension messages from translatewiki.netraymond20:38, 25 January 2012

Status & tagging log