https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113543
Revision: 113543 Author: siebrand Date: 2012-03-09 23:23:01 +0000 (Fri, 09 Mar 2012) Log Message: ----------- Add message keys for 18 missing summary messages. * Patch for bug 34319 for Special:DeletedContributions and Special:Contributions contributed by Srikanth Lakshmanan * Other 16 instances identified by Der Umherirrende on translatewiki.net (https://translatewiki.net/wiki/Thread:Support/Missing_summary_message_keys_in_message_files), code updates by me. Modified Paths: -------------- trunk/phase3/CREDITS trunk/phase3/includes/specials/SpecialDeletedContributions.php trunk/phase3/languages/messages/MessagesEn.php trunk/phase3/maintenance/language/messageTypes.inc trunk/phase3/maintenance/language/messages.inc Modified: trunk/phase3/CREDITS =================================================================== --- trunk/phase3/CREDITS 2012-03-09 23:15:23 UTC (rev 113542) +++ trunk/phase3/CREDITS 2012-03-09 23:23:01 UTC (rev 113543) @@ -8,7 +8,7 @@ * Alexandre Emsenhuber * Andrew Garrett * Aryeh Gregor -* Antoine Musso +* Antoine Musso * Brian Wolff * Bertrand Grondin * Brad Jorsch @@ -176,6 +176,7 @@ * Simon Walker * Solitarius * Søren Løvborg +* Srikanth Lakshmanan * Stefano Codari * Str4nd * svip Modified: trunk/phase3/includes/specials/SpecialDeletedContributions.php =================================================================== --- trunk/phase3/includes/specials/SpecialDeletedContributions.php 2012-03-09 23:15:23 UTC (rev 113542) +++ trunk/phase3/includes/specials/SpecialDeletedContributions.php 2012-03-09 23:23:01 UTC (rev 113543) @@ -260,6 +260,7 @@ function execute( $par ) { global $wgQueryPageDefaultLimit; $this->setHeaders(); + $this->outputHeader(); $user = $this->getUser(); Modified: trunk/phase3/languages/messages/MessagesEn.php =================================================================== --- trunk/phase3/languages/messages/MessagesEn.php 2012-03-09 23:15:23 UTC (rev 113542) +++ trunk/phase3/languages/messages/MessagesEn.php 2012-03-09 23:23:01 UTC (rev 113543) @@ -1062,6 +1062,7 @@ 'userloginnocreate' => 'Log in', 'logout' => 'Log out', 'userlogout' => 'Log out', +'userlogout-summary' => '', # do not translate or duplicate this message to other languages 'notloggedin' => 'Not logged in', 'nologin' => "Don't have an account? $1.", 'nologinlink' => 'Create an account', @@ -1228,6 +1229,7 @@ # Special:ChangeEmail 'changeemail' => 'Change e-mail address', +'changeemail-summary' => '', # do not translate or duplicate this message to other languages 'changeemail-header' => 'Change account e-mail address', 'changeemail-text' => 'Complete this form to change your e-mail address. You will need to enter your password to confirm this change.', 'changeemail-no-info' => 'You must be logged in to access this page directly.', @@ -1764,6 +1766,7 @@ 'prefsnologin' => 'Not logged in', 'prefsnologintext' => 'You must be <span class="plainlinks">[{{fullurl:{{#Special:UserLogin}}|returnto=$1}} logged in]</span> to set user preferences.', 'changepassword' => 'Change password', +'changepassword-summary' => '', # do not translate or duplicate this message to other languages 'prefs-skin' => 'Skin', 'skin-preview' => 'Preview', 'datedefault' => 'No preference', @@ -2537,7 +2540,9 @@ 'uncategorizedtemplates' => 'Uncategorized templates', 'uncategorizedtemplates-summary' => '', # do not translate or duplicate this message to other languages 'unusedcategories' => 'Unused categories', +'unusedcategories-summary' => '', # do not translate or duplicate this message to other languages 'unusedimages' => 'Unused files', +'unusedimages-summary' => '', # do not translate or duplicate this message to other languages 'popularpages' => 'Popular pages', 'popularpages-summary' => '', # do not translate or duplicate this message to other languages 'wantedcategories' => 'Wanted categories', @@ -2662,19 +2667,21 @@ # Special:DeletedContributions 'deletedcontributions' => 'Deleted user contributions', +'deletedcontributions-summary' => '', # do not translate or duplicate this message to other languages 'deletedcontributions-title' => 'Deleted user contributions', 'sp-deletedcontributions-contribs' => 'contributions', # Special:LinkSearch -'linksearch' => 'External links search', -'linksearch-pat' => 'Search pattern:', -'linksearch-ns' => 'Namespace:', -'linksearch-ok' => 'Search', -'linksearch-text' => 'Wildcards such as "*.wikipedia.org" may be used. +'linksearch' => 'External links search', +'linksearch-summary' => '', # do not translate or duplicate this message to other languages +'linksearch-pat' => 'Search pattern:', +'linksearch-ns' => 'Namespace:', +'linksearch-ok' => 'Search', +'linksearch-text' => 'Wildcards such as "*.wikipedia.org" may be used. Needs at least a top-level domain, for example "*.org".<br /> Supported protocols: <tt>$1</tt> (do not add any of these in your search).', -'linksearch-line' => '$1 is linked from $2', -'linksearch-error' => 'Wildcards may appear only at the start of the hostname.', +'linksearch-line' => '$1 is linked from $2', +'linksearch-error' => 'Wildcards may appear only at the start of the hostname.', # Special:ListUsers 'listusersfrom' => 'Display users starting at:', @@ -2721,6 +2728,7 @@ 'mailnologin' => 'No send address', 'mailnologintext' => 'You must be [[Special:UserLogin|logged in]] and have a valid e-mail address in your [[Special:Preferences|preferences]] to send e-mail to other users.', 'emailuser' => 'E-mail this user', +'emailuser-summary' => '', # do not translate or duplicate this message to other languages 'emailpage' => 'E-mail user', 'emailpagetext' => 'You can use the form below to send an e-mail message to this user. The e-mail address you entered in [[Special:Preferences|your user preferences]] will appear as the "From" address of the e-mail, so the recipient will be able to reply directly to you.', @@ -2957,6 +2965,7 @@ # Undelete 'undelete' => 'View deleted pages', +'undelete-summary' => '', # do not translate or duplicate this message to other languages 'undeletepage' => 'View and restore deleted pages', 'undeletepagetitle' => "'''The following consists of deleted revisions of [[:$1|$1]]'''.", 'viewdeletedpage' => 'View deleted pages', @@ -3019,14 +3028,15 @@ 'blanknamespace' => '(Main)', # Contributions -'contributions' => 'User contributions', -'contributions-title' => 'User contributions for $1', -'mycontris' => 'My contributions', -'contribsub2' => 'For $1 ($2)', -'nocontribs' => 'No changes were found matching these criteria.', -'uctop' => '(top)', -'month' => 'From month (and earlier):', -'year' => 'From year (and earlier):', +'contributions' => 'User contributions', +'contributions-summary' => '', # do not translate or duplicate this message to other languages +'contributions-title' => 'User contributions for $1', +'mycontris' => 'My contributions', +'contribsub2' => 'For $1 ($2)', +'nocontribs' => 'No changes were found matching these criteria.', +'uctop' => '(top)', +'month' => 'From month (and earlier):', +'year' => 'From year (and earlier):', 'sp-contributions-newbies' => 'Show contributions of new accounts only', 'sp-contributions-newbies-sub' => 'For new accounts', @@ -3073,6 +3083,7 @@ 'autoblockid' => 'Autoblock #$1', 'block' => 'Block user', 'unblock' => 'Unblock user', +'unblock-summary' => '', # do not translate or duplicate this message to other languages 'blockip' => 'Block user', 'blockip-title' => 'Block user', 'blockip-legend' => 'Block user', @@ -3226,6 +3237,7 @@ # Move page 'move-page' => 'Move $1', +'movepage-summary' => '', # do not translate or duplicate this message to other languages 'move-page-legend' => 'Move page', 'movepagetext' => "Using the form below will rename a page, moving all of its history to the new name. The old title will become a redirect page to the new title. @@ -3320,6 +3332,7 @@ # Export 'export' => 'Export pages', +'export-summary' => '', # do not translate or duplicate this message to other languages 'exporttext' => 'You can export the text and editing history of a particular page or set of pages wrapped in some XML. This can be imported into another wiki using MediaWiki via the [[Special:Import|import page]]. @@ -3373,6 +3386,7 @@ # Special:Import 'import' => 'Import pages', +'import-summary' => '', # do not translate or duplicate this message to other languages 'importinterwiki' => 'Transwiki import', 'import-interwiki-text' => "Select a wiki and page title to import. Revision dates and editors' names will be preserved. @@ -4461,6 +4475,7 @@ 'lag-warn-high' => 'Due to high database server lag, changes newer than $1 {{PLURAL:$1|second|seconds}} may not be shown in this list.', # Watchlist editor +'editwatchlist-summary' => '', # do not translate or duplicate this message to other languages 'watchlistedit-numitems' => 'Your watchlist contains {{PLURAL:$1|1 title|$1 titles}}, excluding talk pages.', 'watchlistedit-noitems' => 'Your watchlist contains no titles.', 'watchlistedit-normal-title' => 'Edit watchlist', @@ -4556,6 +4571,7 @@ # Special:Version 'version' => 'Version', +'version-summary' => '', # do not translate or duplicate this message to other languages 'version-extensions' => 'Installed extensions', 'version-specialpages' => 'Special pages', 'version-parserhooks' => 'Parser hooks', @@ -4638,6 +4654,7 @@ # Special:Tags 'tags' => 'Valid change tags', +'tags-summary' => '', # do not translate or duplicate this message to other languages 'tag-filter' => '[[Special:Tags|Tag]] filter:', 'tag-filter-submit' => 'Filter', 'tags-title' => 'Tags', @@ -4651,6 +4668,7 @@ # Special:ComparePages 'comparepages' => 'Compare pages', +'comparepages-summary' => '', # do not translate or duplicate this message to other languages 'compare-selector' => 'Compare page revisions', 'compare-page1' => 'Page 1', 'compare-page2' => 'Page 2', Modified: trunk/phase3/maintenance/language/messageTypes.inc =================================================================== --- trunk/phase3/maintenance/language/messageTypes.inc 2012-03-09 23:15:23 UTC (rev 113542) +++ trunk/phase3/maintenance/language/messageTypes.inc 2012-03-09 23:23:01 UTC (rev 113543) @@ -218,6 +218,24 @@ 'deletedarticle', // 'uploadedimage', // 'overwroteimage', + 'userlogout-summary', + 'changeemail-summary', + 'changepassword-summary', + 'unusedcategories-summary', + 'unusedimages-summary', + 'deletedcontributions-summary', + 'linksearch-summary', + 'emailuser-summary', + 'undelete-summary', + 'contributions-summary', + 'unblock-summary', + 'movepage-summary', + 'export-summary', + 'import-summary', + 'editwatchlist-summary', + 'version-summary', + 'tags-summary', + 'comparepages-summary', ); /** Optional messages, which may be translated only if changed in the target language. */ Modified: trunk/phase3/maintenance/language/messages.inc =================================================================== --- trunk/phase3/maintenance/language/messages.inc 2012-03-09 23:15:23 UTC (rev 113542) +++ trunk/phase3/maintenance/language/messages.inc 2012-03-09 23:23:01 UTC (rev 113543) @@ -431,6 +431,7 @@ 'userloginnocreate', 'logout', 'userlogout', + 'userlogout-summary', 'notloggedin', 'nologin', 'nologinlink', @@ -538,6 +539,7 @@ ), 'changeemail' => array( 'changeemail', + 'changeemail-summary', 'changeemail-header', 'changeemail-text', 'changeemail-no-info', @@ -925,6 +927,7 @@ 'prefsnologin', 'prefsnologintext', 'changepassword', + 'changepassword-summary', 'prefs-skin', 'skin-preview', 'datedefault', @@ -1628,7 +1631,9 @@ 'uncategorizedtemplates', 'uncategorizedtemplates-summary', 'unusedcategories', + 'unusedcategories-summary', 'unusedimages', + 'unusedimages-summary', 'popularpages', 'popularpages-summary', 'wantedcategories', @@ -1748,11 +1753,13 @@ ), 'deletedcontribs' => array( 'deletedcontributions', + 'deletedcontributions-summary', 'deletedcontributions-title', 'sp-deletedcontributions-contribs', ), 'linksearch' => array( 'linksearch', + 'linksearch-summary', 'linksearch-pat', 'linksearch-ns', 'linksearch-ok', @@ -1805,6 +1812,7 @@ 'mailnologin', 'mailnologintext', 'emailuser', + 'emailuser-summary', 'emailpage', 'emailpagetext', 'usermailererror', @@ -1987,6 +1995,7 @@ ), 'undelete' => array( 'undelete', + 'undelete-summary', 'undeletepage', 'undeletepagetitle', 'viewdeletedpage', @@ -2037,6 +2046,7 @@ ), 'contributions' => array( 'contributions', + 'contributions-summary', 'contributions-title', 'mycontris', 'contribsub2', @@ -2089,6 +2099,7 @@ 'autoblockid', 'block', 'unblock', + 'unblock-summary', 'blockip', 'blockip-title', 'blockip-legend', @@ -2220,6 +2231,7 @@ ), 'movepage' => array( 'move-page', + 'movepage-summary', 'move-page-legend', 'movepagetext', 'movepagetext-noredirectfixer', @@ -2281,6 +2293,7 @@ ), 'export' => array( 'export', + 'export-summary', 'exporttext', 'exportall', 'exportcuronly', @@ -2327,6 +2340,7 @@ ), 'import' => array( 'import', + 'import-summary', 'importinterwiki', 'import-interwiki-text', 'import-interwiki-source', @@ -3340,6 +3354,7 @@ 'confirm-watch-button', ), 'watchlisteditor' => array( + 'editwatchlist-summary', 'watchlistedit-numitems', 'watchlistedit-noitems', 'watchlistedit-normal-title', @@ -3430,6 +3445,7 @@ ), 'version' => array( 'version', + 'version-summary', 'version-extensions', 'version-specialpages', 'version-parserhooks', @@ -3498,6 +3514,7 @@ ), 'special-tags' => array( 'tags', + 'tags-summary', 'tag-filter', 'tag-filter-submit', 'tags-title', @@ -3511,6 +3528,7 @@ ), 'comparepages' => array( 'comparepages', + 'comparepages-summary', 'compare-selector', 'compare-page1', 'compare-page2', _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs