r111855 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111854‎ | r111855 | r111856 >
Date:09:09, 19 February 2012
Author:raymond
Status:resolved
Tags:i18nreview 
Comment:
Add message keys to the message files to define that messages and show it on Special:AllMessages.
Per request of Der Umherirrende https://translatewiki.net/wiki/Thread:Support/Missing_message_keys_in_messages_files
Modified paths:
  • /trunk/extensions/Cite/Cite.i18n.php (modified) (history)
  • /trunk/extensions/Gadgets/Gadgets.i18n.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesEn.php (modified) (history)
  • /trunk/phase3/maintenance/language/messageTypes.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/language/messageTypes.inc
@@ -161,6 +161,7 @@
162162 'wantedcategories-summary',
163163 'wantedfiles-summary',
164164 'wantedpages-summary',
 165+ 'watchlist-summary',
165166 'mostlinked-summary',
166167 'mostlinkedcategories-summary',
167168 'mostlinkedtemplates-summary',
Index: trunk/phase3/languages/messages/MessagesEn.php
@@ -2754,6 +2754,7 @@
27552755
27562756 # Watchlist
27572757 'watchlist' => 'My watchlist',
 2758+'watchlist-summary' => '', # do not translate or duplicate this message to other languages
27582759 'mywatchlist' => 'My watchlist',
27592760 'watchlistfor2' => 'For $1 $2',
27602761 'nowatchlist' => 'You have no items on your watchlist.',
Index: trunk/extensions/Gadgets/Gadgets.i18n.php
@@ -29,6 +29,7 @@
3030
3131 # for Special:Gadgets
3232 'gadgets' => 'Gadgets',
 33+ 'gadgets-definition' => '', # do not translate or duplicate this message to other languages
3334 'gadgets-title' => 'Gadgets',
3435 'gadgets-pagetext' => "Below is a list of special gadgets users can enable on their [[Special:Preferences|preferences page]], as defined by the [[MediaWiki:Gadgets-definition|definitions]].
3536 This overview provides easy access to the system message pages that define each gadget's description and code.",
Index: trunk/extensions/Cite/Cite.i18n.php
@@ -10,6 +10,7 @@
1111
1212 $messages['en'] = array(
1313 'cite-desc' => 'Adds <nowiki><ref[ name=id]></nowiki> and <nowiki><references/></nowiki> tags, for citations',
 14+ 'cite-summary' => '', # do not translate or duplicate this message to other languages
1415 /*
1516 Debug and errors
1617 */

Follow-up revisions

RevisionCommit summaryAuthorDate
r111856Followup r111855 for Translatewiki....raymond09:11, 19 February 2012
r111858Partial revert of r111855. Wrong file for cite-summary.siebrand09:16, 19 February 2012
r111859Follow-up r111855: add watchlist-summary to messages.inc.siebrand09:18, 19 February 2012

Status & tagging log