r71141 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r71140‎ | r71141 | r71142 >
Date:18:58, 15 August 2010
Author:siebrand
Status:deferred
Tags:
Comment:
* L10n review
* whitespace updates
Modified paths:
  • /trunk/extensions/Deployment/Deployment.alias.php (modified) (history)
  • /trunk/extensions/Deployment/Deployment.i18n.php (modified) (history)
  • /trunk/extensions/Deployment/Deployment.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Deployment/Deployment.i18n.php
@@ -16,11 +16,11 @@
1717 */
1818 $messages['en'] = array(
1919 // General
20 - 'deployment-desc' => 'Provides a way to install extensions via GUI and update them and the wiki itself via another GUI',
 20+ 'deployment-desc' => 'Provides a way to [[Special:Install|install MediaWiki extensions]] and [[Special:Update|update MediaWiki and MediaWiki extensions]]',
2121 'extension' => 'Extension',
2222 'extension-name-missing' => '[no name]',
2323 'version-unknown' => 'unknown',
24 -
 24+
2525 // Special pages
2626 'specialpages-group-administration' => 'Wiki administration',
2727
@@ -55,28 +55,34 @@
5656 'add-new-extensions' => 'Add new',
5757 'extension-type-all' => 'All',
5858 'extension-bulk-actions' => 'Bulk Actions',
59 - 'extension-page-explanation' => 'This page lists the installed extensions on this wiki. For more info about this wiki installation, see [[Special:Version]].',
60 - 'extension-none-installed' => 'There are currently no extensions installed. You can [[$1|add new ones]].',
 59+ 'extension-page-explanation' => 'This page lists the installed extensions on this wiki.
 60+For more info about this wiki installation, see [[Special:Version]].',
 61+ 'extension-none-installed' => 'There are currently no extensions installed.
 62+You can [[$1|add new ones]].',
6163 'extension-empty-category' => 'There are no extensions of type \'\'$1\'\' installed.',
62 - 'extension-invalid-category' => 'Could not filter on extension type \'\'$1\'\', all extenions are shown instead.',
 64+ 'extension-invalid-category' => 'Could not filter on extension type \'\'$1\'\'.
 65+All extensions are shown instead.',
6366
6467 // Special:Update
65 - 'mediawiki-up-to-date' => 'You have the latest version of MediaWiki.',
66 - 'mediawiki-up-to-date-long' => 'You have the latest version of MediaWiki ([[Special:Version|view version]]). You do not need to upgrade.',
 68+ 'mediawiki-up-to-date' => 'You have the latest version of MediaWiki installed.',
 69+ 'mediawiki-up-to-date-long' => 'You have the latest version of MediaWiki [[[Special:Version|installed]].
 70+You do not need to update.',
6771 'mediawiki-update-available' => 'A new version of MediaWiki is available!',
68 - 'mediawiki-update-available-long' => 'MediaWiki version $1 is available. [$2 Upgrade now] to keep your wiki secure and get the new awesome features in this release.',
 72+ 'mediawiki-update-available-long' => 'MediaWiki version $1 is available.
 73+[$2 Update now] to keep your wiki secure and get the new features in this release.',
6974 'extensions-up-to-date' => 'Your extensions are all up to date.',
70 -
 75+
7176 // Special:Install
72 - 'extensions-description' => 'Extensions extend and expand the functionality of MediaWiki. You can browse and search extensions that are in the [$1 MediaWiki Extension Repository] to install via this page.',
 77+ 'extensions-description' => 'Extensions extend and expand the functionality of MediaWiki.
 78+You can browse and search extensions that are in the [$1 MediaWiki Extension Repository] to install via this page.',
7379 'search-extensions' => 'Search',
74 - 'search-extensions-long' => 'Search for extensions by keyword, author, or tag.',
 80+ 'search-extensions-long' => 'Search for extensions by keyword, author or tag.',
7581 'search-term' => 'Term',
7682 'search-author' => 'Author',
7783 'search-tag' => 'Tag',
7884 'search-extensions-button' => 'Search extensions',
7985 'popular-extension-tags' => 'Popular tags',
80 - 'popular-extension-tags-long' => 'You may also browse based on the most popular tags in the Extension Repository:',
 86+ 'popular-extension-tags-long' => 'You may also browse based on the most popular tags in the MediaWiki Extension Repository:',
8187
8288 'stability-alpha' => 'Alpha',
8389 'stability-beta' => 'Beta',
@@ -91,16 +97,16 @@
9298 'deploy-ftp-username-required' => 'FTP username is required',
9399 'deploy-ftp-password-required' => 'FTP password is required',
94100 'deploy-ftp-hostname-required' => 'FTP hostname is required',
95 - 'deploy-ftp-connect-failed' => 'Failed to connect to FTP server $1:$2',
96 -
 101+ 'deploy-ftp-connect-failed' => 'Failed to connect to FTP server $1:$2.',
 102+
97103 // Filesystem: FTP
98104 'deploy-ssh-not-loaded' => 'The FTP SSH2 extension is not available',
99105 'deploy-ssh2-no-stream-get-contents' => 'The SSH2 PHP extension is available, however, the PHP5 function stream_get_contents() is also required',
100106 'deploy-ssh2-username-required' => 'SSH username is required',
101107 'deploy-ssh2-password-required' => 'SSH password or private key is required',
102108 'deploy-ssh2-hostname-required' => 'SSH hostname is required',
103 - 'deploy-ssh2-connect-failed' => 'Failed to connect to SSH2 server $1:$2',
104 - 'deploy-ssh2-key-authentication-failed' => 'Public and private keys are incorrect for username $1',
105 - 'deploy-ssh2-password-authentication-failed' => 'Username or password incorrect for username $1',
 109+ 'deploy-ssh2-connect-failed' => 'Failed to connect to SSH2 server $1:$2.',
 110+ 'deploy-ssh2-key-authentication-failed' => 'Public and private keys are incorrect for username "$1".',
 111+ 'deploy-ssh2-password-authentication-failed' => 'Username or password incorrect for username "$1".',
106112 'deploy-ssh2-command-failed' => 'Unable to perform command: $1',
107113 );
Index: trunk/extensions/Deployment/Deployment.php
@@ -1,5 +1,4 @@
22 <?php
3 -
43 /**
54 * Initialization file for the Deployment extension.
65 * Extension documentation: http://www.mediawiki.org/wiki/Extension:Deployment
@@ -68,5 +67,4 @@
6968 'url' => 'http://www.mediawiki.org/wiki/Extension:Deployment',
7069 'descriptionmsg' => 'deployment-desc',
7170 );
72 -
73 -}
\ No newline at end of file
 71+}
Index: trunk/extensions/Deployment/Deployment.alias.php
@@ -19,4 +19,4 @@
2020 'Extensions' => array( 'Extensions' ),
2121 'Install' => array( 'Install' ),
2222 'Update' => array( 'Update', 'Updates' ),
23 -);
\ No newline at end of file
 23+);

Status & tagging log