r56038 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56037‎ | r56038 | r56039 >
Date:15:28, 8 September 2009
Author:raymond
Status:ok
Tags:
Comment:
Follow-up r56032: Tweak messages for more consistency and better i18n.
Add new message keys to messages.inc
Modified paths:
  • /trunk/phase3/languages/messages/MessagesEn.php (modified) (history)
  • /trunk/phase3/maintenance/language/messages.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/language/messages.inc
@@ -3126,6 +3126,19 @@
31273127 'htmlform-reset',
31283128 'htmlform-selectorother-other',
31293129 ),
 3130+ 'ajax-category' => array(
 3131+ 'ajax-add-category',
 3132+ 'ajax-add-category-submit',
 3133+ 'ajax-confirm-title',
 3134+ 'ajax-confirm-prompt',
 3135+ 'ajax-confirm-save',
 3136+ 'ajax-add-category-summary',
 3137+ 'ajax-remove-category-summary',
 3138+ 'ajax-confirm-actionsummary',
 3139+ 'ajax-error-title',
 3140+ 'ajax-error-dismiss',
 3141+ 'ajax-remove-category-error',
 3142+ ),
31303143 );
31313144
31323145 /** Comments for each block */
@@ -3333,4 +3346,5 @@
33343347 'special-tags' => 'Special:Tags',
33353348 'db-error-messages' => 'Database error messages',
33363349 'html-forms' => 'HTML forms',
 3350+ 'ajax-category' => 'Add categories per AJAX',
33373351 );
Index: trunk/phase3/languages/messages/MessagesEn.php
@@ -4194,18 +4194,18 @@
41954195 'htmlform-reset' => 'Undo changes',
41964196 'htmlform-selectorother-other' => 'Other',
41974197
4198 -'ajax-add-category' => 'Add Category',
4199 -'ajax-add-category-submit' => 'Add',
4200 -'ajax-confirm-title' => 'Confirm Action',
4201 -'ajax-confirm-prompt' => 'Please confirm this action, and enter the reason for it in the
4202 -box below. Once you are happy to submit it, click "Save". Note that repeatedly making false
4203 -edits will result in your being blocked from Wikipedia.',
4204 -'ajax-confirm-save' => 'Save',
 4198+# Add categories per AJAX
 4199+'ajax-add-category' => 'Add category',
 4200+'ajax-add-category-submit' => 'Add',
 4201+'ajax-confirm-title' => 'Confirm action',
 4202+'ajax-confirm-prompt' => 'You can provide an edit summary below.
 4203+Click "{{int:ajax-confirm-save}}" to save your edit.',
 4204+'ajax-confirm-save' => 'Save',
42054205 'ajax-add-category-summary' => 'Add category "$1"',
42064206 'ajax-remove-category-summary' => 'Remove category "$1"',
42074207 'ajax-confirm-actionsummary' => 'Action to take:',
4208 -'ajax-error-title' => 'Error',
4209 -'ajax-error-dismiss' => 'OK',
4210 -'ajax-remove-category-error' => 'It was not possible to remove this category. This usually
4211 -occurs when the category has been added to the page in a template.',
 4208+'ajax-error-title' => 'Error',
 4209+'ajax-error-dismiss' => 'OK',
 4210+'ajax-remove-category-error' => 'It was not possible to remove this category.
 4211+This usually occurs when the category has been added to the page in a template.',
42124212 );

Follow-up revisions

RevisionCommit summaryAuthorDate
r56041Follow-up r56032/r56038: This is a message in a JS popup. Parsing of wikisynt...raymond15:47, 8 September 2009
r56046Revert r56041 "Follow-up r56032/r56038: This is a message in a JS popup. Pars...brion17:38, 8 September 2009
r56049Fix fix r56041 of fix r56038 of fix r56032 -- it turns out that {{int:X}} doe...werdna17:45, 8 September 2009

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r56032Add AJAX category management system. Includes suggestion system, dialogs for ...werdna15:02, 8 September 2009

Status & tagging log