r70329 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70328‎ | r70329 | r70330 >
Date:11:54, 2 August 2010
Author:siebrand
Status:ok
Tags:
Comment:
* Update r70168 to remove patchwork messages [1]
* Tweak messages and add documentation for some.

[1] Please read http://www.mediawiki.org/wiki/Localisation#Avoid_patchwork_messages in why this is a bad idea.
Modified paths:
  • /trunk/phase3/includes/installer/Installer.i18n.php (modified) (history)
  • /trunk/phase3/includes/installer/Installer.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/installer/Installer.php
@@ -853,7 +853,7 @@
854854 $not_normal_c = $this->unicodeChar("FA6C");
855855 $normal_c = $this->unicodeChar("242EE");
856856
857 - $useNormalizer = 'config-unicode-php';
 857+ $useNormalizer = 'php';
858858 $needsUpdate = false;
859859
860860 /**
@@ -861,18 +861,19 @@
862862 * utf8_normalize is more up to date.
863863 */
864864 if( $utf8 ) {
865 - $useNormalizer = 'config-unicode-utf8';
 865+ $useNormalizer = 'utf8';
866866 $utf8 = utf8_normalize( $not_normal_c, UNORM_NFC );
867867 if ( $utf8 !== $normal_c ) $needsUpdate = true;
868868 }
869869 if( $intl ) {
870 - $useNormalizer = 'config-unicode-intl';
 870+ $useNormalizer = 'intl';
871871 $intl = normalizer_normalize( $not_normal_c, Normalizer::FORM_C );
872872 if ( $intl !== $normal_c ) $needsUpdate = true;
873873 }
874874
875 - $this->showMessage( 'config-unicode-using', wfMsg( $useNormalizer ) );
876 - if( $useNormalizer === 'config-unicode-php' ) {
 875+ // Uses messages 'config-unicode-using-php', 'config-unicode-using-utf8', 'config-unicode-using-intl'
 876+ $this->showMessage( 'config-unicode-using-' . $useNormalizer );
 877+ if( $useNormalizer === 'php' ) {
877878 $this->showMessage( 'config-unicode-pure-php-warning' );
878879 } elseif( $needsUpdate ) {
879880 $this->showMessage( 'config-unicode-update-warning' );
Index: trunk/phase3/includes/installer/Installer.i18n.php
@@ -11,12 +11,15 @@
1212 * English
1313 */
1414 $messages['en'] = array(
 15+ 'config-desc' => 'The installer for MediaWiki',
1516 'config-title' => 'MediaWiki $1 installation',
1617 'config-information' => 'Information',
17 - 'config-localsettings-upgrade' => "'''Warning''': Your <code>LocalSettings.php</code> file has been detected.
18 -Your software is able to upgrade. Please move LocalSettings.php to somewhere safe in then run the installer again.",
19 - 'config-localsettings-noupgrade' => "'''Error''': Your <code>LocalSettings.php</code> file has been detected.
20 -Your software is not able to upgrade at this time. The installer has been disabled for security reasons.",
 18+ 'config-localsettings-upgrade' => "'''Warning''': A <code>LocalSettings.php</code> file has been detected.
 19+Your software is able to upgrade.
 20+Please move <code>LocalSettings.php</code> to somewhere safe in then run the installer again.",
 21+ 'config-localsettings-noupgrade' => "'''Error''': A <code>LocalSettings.php</code> file has been detected.
 22+Your software is not able to upgrade at this time.
 23+The installer has been disabled for security reasons.",
2124 'config-session-error' => 'Error starting session: $1',
2225 'config-session-expired' => 'Your session data seems to have expired.
2326 Sessions are configured for a lifetime of $1.
@@ -36,7 +39,7 @@
3740 'config-page-language' => 'Language',
3841 'config-page-welcome' => 'Welcome to MediaWiki!',
3942 'config-page-dbconnect' => 'Connect to database',
40 - 'config-page-upgrade' => 'Upgrade existing',
 43+ 'config-page-upgrade' => 'Upgrade existing installation',
4144 'config-page-dbsettings' => 'Database settings',
4245 'config-page-name' => 'Name',
4346 'config-page-options' => 'Options',
@@ -50,8 +53,8 @@
5154 'config-help-restart' => 'Do you want to clear all saved data that you have entered and restart the installation process?',
5255 'config-restart' => 'Yes, restart it',
5356 'config-welcome' => "=== Environmental checks ===
54 -We're doing basic checks to see if this environment is suitable for MediaWiki installation. You
55 -should provide this information if you need help during installation.",
 57+Basic checks are performed to see if this environment is suitable for MediaWiki installation.
 58+You should provide the results of these checks if you need help during installation.",
5659 'config-copyright' => "=== Copyright and Terms ===
5760
5861 $1
@@ -62,7 +65,7 @@
6366 See the GNU General Public License for more details.
6467
6568 You should have received <doclink href=Copying>a copy of the GNU General Public License</doclink> along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. or [http://www.gnu.org/copyleft/gpl.html read it online].",
66 - 'config-authors' => 'MediaWiki is Copyright © 2001-2010 by Magnus Manske, Brion Vibber, Lee Daniel Crocker, Tim Starling, Erik Möller, Gabriel Wicke, Ævar Arnfjörð Bjarmason, Niklas Laxström, Domas Mituzas, Rob Church, Yuri Astrakhan, Aryeh Gregor, Aaron Schulz, Andrew Garrett, Raimond Spekking, Alexandre Emsenhuber, Siebrand Mazeland, Chad Horohoe and others.',
 69+ 'config-authors' => 'MediaWiki is Copyright © 2001-2010 by Magnus Manske, Brion Vibber, Lee Daniel Crocker, Tim Starling, Erik Möller, Gabriel Wicke, Ævar Arnfjörð Bjarmason, Niklas Laxström, Domas Mituzas, Rob Church, Yuri Astrakhan, Aryeh Gregor, Aaron Schulz, Andrew Garrett, Raimond Spekking, Alexandre Emsenhuber, Siebrand Mazeland, Chad Horohoe and others.', // TODO: move this to core strings and use it in Special:Version, too?
6770 'config-sidebar' => "* [http://www.mediawiki.org MediaWiki home]
6871 * [http://www.mediawiki.org/wiki/Help:Contents User's Guide]
6972 * [http://www.mediawiki.org/wiki/Manual:Contents Administrator's Guide]
@@ -74,15 +77,14 @@
7578 'config-env-php' => 'PHP $1 installed.',
7679 'config-env-latest-ok' => 'You are installing the latest version of Mediawiki.',
7780 'config-env-latest-new' => "'''Note:''' You are installing a development version of Mediawiki.",
78 - 'config-env-latest-can-not-check' => "'''Note:''' We were unable to retrieve information about the latest MediaWiki release (from [$1]).",
79 - 'config-env-latest-data-invalid' => "'''Warning:''' When trying to check if this version was outdated we got invalid data from [$1].",
 81+ 'config-env-latest-can-not-check' => "'''Note:''' The installer was unable to retrieve information about the latest MediaWiki release from [$1].",
 82+ 'config-env-latest-data-invalid' => "'''Warning:''' When trying to check if this version was outdated invalid data was retrieved from [$1].",
8083 'config-env-latest-old' => "'''Warning:''' You are installing an outdated version of Mediawiki.",
8184 'config-env-latest-help' => 'You are installing version $1, but the latest version is $2.
8285 You are advised to use the latest release, which can be downloaded from [http://www.mediawiki.org/wiki/Download mediawiki.org]',
83 - 'config-unicode-php' => "the slow PHP implementation",
84 - 'config-unicode-utf8' => "Brion Vibber's utf8_normalize.so",
85 - 'config-unicode-intl' => "the [http://pecl.php.net/intl intl PECL extension]",
86 - 'config-unicode-using' => 'Using $1 for Unicode normalization.',
 86+ 'config-unicode-using-php' => 'Using the slow PHP implementation for Unicode normalization.',
 87+ 'config-unicode-using-utf8' => 'Using Brion Vibber\'s utf8_normalize.so for Unicode normalization.',
 88+ 'config-unicode-using-intl' => 'Using the [http://pecl.php.net/intl intl PECL extension] for Unicode normalization.',
8789 'config-unicode-pure-php-warning' => "'''Warning''': The [http://pecl.php.net/intl intl PECL extension] is not available to handle Unicode normalization. If you run a high-traffic site, you should read a little on [http://www.mediawiki.org/wiki/Unicode_normalization_considerations Unicode normalization].",
8890 'config-unicode-update-warning' => "'''Warning''': The installed version of the Unicode normalization wrapper uses an older version of [http://site.icu-project.org/ the ICU project's] library. You should [http://www.mediawiki.org/wiki/Unicode_normalization_considerations upgrade] if you are at all concerned about using Unicode.",
8991 'config-no-db' => 'Could not find a suitable database driver!',
@@ -117,7 +119,8 @@
118120 'config-pcre' => 'The PCRE support module appears to be missing.
119121 MediaWiki requires the Perl-compatible regular expression functions to work.',
120122 'config-memory-none' => 'PHP is configured with no <code>memory_limit</code>',
121 - 'config-memory-ok' => "PHP's <code>memory_limit</code> is $1, ok.",
 123+ 'config-memory-ok' => "PHP's <code>memory_limit</code> is $1.
 124+OK.",
122125 'config-memory-raised' => "PHP's <code>memory_limit</code> is $1, raised to $2.",
123126 'config-memory-bad' => "'''Warning:''' PHP's <code>memory_limit</code> is $1.
124127 This is probably too low.
@@ -143,8 +146,9 @@
144147 'config-dir-not-writable-group' => "'''Error:''' Cannot write config file.
145148 Installation aborted.
146149
147 -We have determined the user your webserver is running as. Make the
148 -<code><nowiki>config</nowiki></code> directory writable by it to continue. On a Unix/Linux system:
 150+The installer has determined the user your webserver is running as.
 151+Make the <code><nowiki>config</nowiki></code> directory writable by it to continue.
 152+On a Unix/Linux system:
149153
150154 <pre>cd $1
151155 chgrp $2 config
@@ -152,17 +156,17 @@
153157 'config-dir-not-writable-nogroup' => "'''Error:''' Cannot write config file.
154158 Installation aborted.
155159
156 -We couldn't determine the user your webserver is running as. Make the
157 -<code><nowiki>config</nowiki></code> directory globally writable by it (and others!) to continue. On
158 -a Unix/Linux system do:
 160+The user your webserver is running as could not be determined.
 161+Make the <code><nowiki>config</nowiki></code> directory globally writable by it (and others!) to continue.
 162+On a Unix/Linux system do:
159163
160164 <pre>cd $1
161165 chmod a+w config</pre>",
162166 'config-file-extension' => 'Installing MediaWiki with <code>$1</code> file extensions.',
163167 'config-shell-locale' => 'Detected shell locale "$1"',
164 - 'config-uploads-safe' => 'Default uploads directory is safe from arbitrary scripts execution.',
165 - 'config-uploads-not-safe' => "'''Warning:''' Your default uploads directory <code>$1</code> is vulnerable to arbitrary scripts execution.
166 -Although MediaWiki checks all uploaded files for security threats, it is highly recommended to [http://www.mediawiki.org/wiki/Manual:Security#Upload_security close this hole] before enabling uploads.",
 168+ 'config-uploads-safe' => 'The default directory for uploads is safe from arbitrary scripts execution.',
 169+ 'config-uploads-not-safe' => "'''Warning:''' Your default directory for uploads <code>$1</code> is vulnerable to arbitrary scripts execution.
 170+Although MediaWiki checks all uploaded files for security threats, it is highly recommended to [http://www.mediawiki.org/wiki/Manual:Security#Upload_security close this security vulnerability] before enabling uploads.",
167171 'config-db-type' => 'Database type:',
168172 'config-db-host' => 'Database host:',
169173 'config-db-host-help' => 'If your database server is on different server, enter the host name or IP address here.
@@ -173,7 +177,7 @@
174178 'config-db-name-help' => 'Choose a name that identifies your wiki.
175179 It should not contain spaces or hyphens.
176180
177 -If you are using shared web hosting, your hosting provider will either give you a specific database name to use, or let you create databases via a control panel.',
 181+If you are using shared web hosting, your hosting provider will either give you a specific database name to use, or lets you create databases via a control panel.',
178182 'config-db-install-account' => 'User account for installation',
179183 'config-db-username' => 'Database username:',
180184 'config-db-password' => 'Database password:',
@@ -191,7 +195,7 @@
192196 'config-charset-mysql5-binary' => 'MySQL 4.1/5.0 binary',
193197 'config-charset-mysql5' => 'MySQL 4.1/5.0 UTF-8',
194198 'config-charset-mysql4' => 'MySQL 4.0 backwards-compatible UTF-8',
195 - 'config-charset-help' => "'''WARNING:''' If you use '''backwards-compatible UTF-8''' on MySQL 4.1+, and subsequently back up the database with <code>mysqldump</code>, it may destroy all non-ASCII characters, irreversibly corrupting your backups!.
 199+ 'config-charset-help' => "'''WARNING:''' If you use '''backwards-compatible UTF-8''' on MySQL 4.1+, and subsequently back up the database with <code>mysqldump</code>, it may destroy all non-ASCII characters, irreversibly corrupting your backups!
196200
197201 In '''binary mode''', MediaWiki stores UTF-8 text to the database in binary fields.
198202 This is more efficient than MySQL's UTF-8 mode, and allows you to use the full range of Unicode characters.
@@ -208,14 +212,12 @@
209213
210214 The directory you provide must be writable by the webserver during installation.
211215
212 -It should '''not''' be accessible via the web, this is why we're not putting it where your PHP files
213 -are.
 216+It should '''not''' be accessible via the web, this is why we're not putting it where your PHP files are.
214217
215 -We'll write out a <code>.htaccess</code> file along with it, but if that fails someone can gain
216 -access to your raw database. That includes raw user data (E-Mails, hashed passwords) as well as
217 -deleted revisions and other restricted data on the wiki.
 218+The installer will write a <code>.htaccess</code> file along with it, but if that fails someone can gain access to your raw database.
 219+That includes raw user data (E-Mails, hashed passwords) as well as deleted revisions and other restricted data on the wiki.
218220
219 -Consider putting the database somewhere altogether, for example <code>/var/lib/mediawiki/yourwiki</code>.",
 221+Consider putting the database somewhere altogether, for example in <code>/var/lib/mediawiki/yourwiki</code>.",
220222 'config-type-mysql' => 'MySQL',
221223 'config-type-postgres' => 'PostgreSQL',
222224 'config-type-sqlite' => 'SQLite',
@@ -243,8 +245,9 @@
244246 This will be used for the SQLite data file name.',
245247 'config-sqlite-parent-unwritable-group' => 'Cannot create the data directory <code><nowiki>$1</nowiki></code>, because the parent directory <code><nowiki>$2</nowiki></code> is not writable by the webserver.
246248
247 -We have determined the user your webserver is running as. Make the <code><nowiki>$3</nowiki></code>
248 -directory writable by it to continue. On a Unix/Linux system do:
 249+The installer has determined the user your webserver is running as.
 250+Make the <code><nowiki>$3</nowiki></code> directory writable by it to continue.
 251+On a Unix/Linux system do:
249252
250253 <pre>cd $2
251254 mkdir $3
@@ -252,8 +255,9 @@
253256 chmod g+w $3</pre>',
254257 'config-sqlite-parent-unwritable-nogroup' => 'Cannot create the data directory <code><nowiki>$1</nowiki></code>, because the parent directory <code><nowiki>$2</nowiki></code> is not writable by the webserver.
255258
256 -We couldn\'t determine the user your webserver is running as. Make the <code><nowiki>$3</nowiki></code>
257 -directory globally writable by it (and others!) to continue. On a Unix/Linux system do:
 259+The installer could not determine the user your webserver is running as.
 260+Make the <code><nowiki>$3</nowiki></code> directory globally writable by it (and others!) to continue.
 261+On a Unix/Linux system do:
258262
259263 <pre>cd $2
260264 mkdir $3
@@ -265,11 +269,11 @@
266270 'config-sqlite-connection-error' => '$1.
267271
268272 Check the data directory and database name below and try again.',
269 - 'config-sqlite-readonly' => 'File <code>$1</code> is not writeable.',
 273+ 'config-sqlite-readonly' => 'The file <code>$1</code> is not writeable.',
270274 'config-sqlite-cant-create-db' => 'Could not create database file <code>$1</code>.',
271275 'config-sqlite-fts3-downgrade' => 'PHP is missing FTS3 support, downgrading tables',
272276 'config-sqlite-fts3-add' => 'Adding FTS3 search capabilities',
273 - 'config-sqlite-fts3-ok' => 'Fulltext search table appears to be in order',
 277+ 'config-sqlite-fts3-ok' => 'Full text search table appears to be in order',
274278 'config-can-upgrade' => "There are MediaWiki tables in this database.
275279 To upgrade them to MediaWiki $1, click '''Continue'''.",
276280 'config-upgrade-done' => "Upgrade complete.
@@ -302,7 +306,7 @@
303307
304308 In '''UTF-8 mode''', MySQL will know what character set your data is in, and can present and convert it appropriately, but it will not let you store characters above the [http://en.wikipedia.org/wiki/Mapping_of_Unicode_character_planes Basic Multilingual Plane].",
305309 'config-site-name' => 'Name of wiki:',
306 - 'config-site-name-help' => "This will appear in the browser's title bar and various other places.",
 310+ 'config-site-name-help' => "This will appear in the title bar of the browser and in various other places.",
307311 'config-site-name-blank' => 'Enter a site name.',
308312 'config-project-namespace' => 'Project namespace:',
309313 'config-ns-generic' => 'Project',
@@ -313,7 +317,7 @@
314318 All page titles in this namespace start with a certain prefix, which you can specify here.
315319 Traditionally, this prefix is derived from the name of the wiki, but it cannot contain punctuation characters such as "#" or ":".',
316320 'config-ns-invalid' => 'The specified namespace "<nowiki>$1</nowiki>" is invalid.
317 -Specify a different project namespace',
 321+Specify a different project namespace.',
318322 'config-admin-box' => 'Administrator account',
319323 'config-admin-name' => 'Your name:',
320324 'config-admin-password' => 'Password:',
@@ -369,17 +373,18 @@
370374
371375 If you want to be able to use text from Wikipedia, and you want Wikipedia to be able to accept text copied from your wiki, you should choose '''Creative Commons Attribution Share Alike'''.
372376
373 -The GNU Free Documentation License was the old license Wikipedia was under. It is still a valid license, however, this license has some features which make reuse and interpretation difficult.",
 377+The GNU Free Documentation License was the old license Wikipedia was under.
 378+It is still a valid license, however, this license has some features which make reuse and interpretation difficult.",
374379 'config-email-settings' => 'E-mail settings',
375380 'config-enable-email' => 'Enable outbound e-mail',
376381 'config-enable-email-help' => "If you want e-mail to work, [http://www.php.net/manual/en/mail.configuration.php PHP's mail settings] need to be configured correctly.
377382 If you do not want any e-mail features, you can disable them here.",
378383 'config-email-user' => 'Enable user-to-user e-mail',
379 - 'config-email-user-help' => 'All users to send each other e-mail, if they have enabled it in their preferences',
 384+ 'config-email-user-help' => 'Allow all users to send each other e-mail if they have enabled it in their preferences.',
380385 'config-email-usertalk' => 'Enable user talk page notification',
381 - 'config-email-usertalk-help' => 'Allow users to receive notifications on user talk page changes, if they have enabled it in their preferences',
 386+ 'config-email-usertalk-help' => 'Allow users to receive notifications on user talk page changes, if they have enabled it in their preferences.',
382387 'config-email-watchlist' => 'Enable watchlist notification',
383 - 'config-email-watchlist-help' => 'Allow users to receive notifications to their watched pages, if they have enabled it in their preferences',
 388+ 'config-email-watchlist-help' => 'Allow users to receive notifications about their watched pages if they have enabled it in their preferences.',
384389 'config-email-auth' => 'Enable e-mail authentication',
385390 'config-email-auth-help' => "If this option is enabled, users have to confirm their e-mail address using a link sent to them whenever they set or change it.
386391 Only authenticated e-mail addresses can receive e-mails from other users or change notification e-mails.
@@ -404,14 +409,14 @@
405410
406411 If you do not want a logo, leave this box blank.",
407412 'config-instantcommons' => 'Enable Instant Commons',
408 - 'config-instantcommons-help' => '[http://www.mediawiki.org/wiki/InstantCommons Instant Commons] is a feature that allows wikis
409 -to use images, sounds and other media found on the [http://commons.wikimedia.org/ Wikimedia Commons] site. In order to do this, MediaWiki requires
410 -access to the Internet. $1
 413+ 'config-instantcommons-help' => '[http://www.mediawiki.org/wiki/InstantCommons Instant Commons] is a feature that allows wikis to use images, sounds and other media found on the [http://commons.wikimedia.org/ Wikimedia Commons] site.
 414+In order to do this, MediaWiki requires access to the Internet. $1
411415
412 -For more information on this feature, including instructions on how to set it up for
413 -wikis other than the Wikimedia Commons, consult [http://mediawiki.org/wiki/Manual:$wgForeignFileRepos the manual].', // $1 is for indicating whether or not we should be able to use the feature
414 - 'config-instantcommons-good' => 'We were able to detect internet connectivity during the environment checks. You can enable this feature if you want to.',
415 - 'config-instantcommons-bad' => '\'\'Unfortunately, we were unable to detect internet connectivity during the environment checks, so you might be unable to use this feature. If your server is behind a proxy, you may need to do some [http://www.mediawiki.org/wiki/Manual:$wgHTTPProxy additional configuration]\'\'',
 416+For more information on this feature, including instructions on how to set it up for wikis other than the Wikimedia Commons, consult [http://mediawiki.org/wiki/Manual:$wgForeignFileRepos the manual].', // $1 is for indicating whether or not we should be able to use the feature
 417+ 'config-instantcommons-good' => 'The installer was able to detect internet connectivity during the environment checks.
 418+You can enable this feature if you want to.',
 419+ 'config-instantcommons-bad' => '\'\'Unfortunately, the installer was unable to detect internet connectivity during the environment checks, so you might be unable to use this feature.
 420+If your server is behind a proxy, you may need to do some [http://www.mediawiki.org/wiki/Manual:$wgHTTPProxy additional configuration]\'\'',
416421 'config-cc-error' => 'The Creative Commons license chooser gave no result.
417422 Enter the license name manually.',
418423 'config-cc-again' => 'Pick again...',
@@ -430,7 +435,8 @@
431436 'config-extensions-help' => 'The extensions listed above were detected in your <code>./extensions</code> directory.
432437
433438 They may require additional configuration, but you can enable them now',
434 - 'config-install-alreadydone' => "'''Warning: You seem to have already installed MediaWiki and are trying to install it again. Please proceed to the next page.",
 439+ 'config-install-alreadydone' => "'''Warning: You seem to have already installed MediaWiki and are trying to install it again.
 440+Please proceed to the next page.",
435441 'config-install-step-done' => 'done',
436442 'config-install-step-failed' => 'failed',
437443 'config-install-extensions' => 'Including extensions',
@@ -440,11 +446,13 @@
441447 'config-install-user' => 'Creating database user',
442448 'config-install-user-failed' => 'Granting permission to user "$1" failed: $2',
443449 'config-install-tables' => 'Creating tables',
444 - 'config-install-tables-exist' => "'''Warning''': MediaWiki tables seem to already exist. Skipping creation",
445 - 'config-install-tables-failed' => "'''Error''': Table creation failed with the following error $1",
 450+ 'config-install-tables-exist' => "'''Warning''': MediaWiki tables seem to already exist.
 451+Skipping creation.",
 452+ 'config-install-tables-failed' => "'''Error''': Table creation failed with the following error: $1",
446453 'config-install-interwiki' => 'Populating default interwiki table',
447 - 'config-install-interwiki-sql' => 'Could not find file <code>interwiki.sql</code>',
448 - 'config-install-interwiki-exists' => "'''Warning''': Interwiki table seems to already have entires. Skipping default list",
 454+ 'config-install-interwiki-sql' => 'Could not find file <code>interwiki.sql</code>.',
 455+ 'config-install-interwiki-exists' => "'''Warning''': Interwiki table seems to already have entires.
 456+Skipping default list.",
449457 'config-install-secretkey' => 'Generating secret key',
450458 'config-insecure-secretkey' => "'''Warning:''' Unable to create secure <code>\$wgSecretKey</code>.
451459 Consider changing it manually.",
@@ -452,14 +460,62 @@
453461 'config-install-done' => "'''Congratulations!'''
454462 You have successfully installed MediaWiki.
455463
456 -We have generated a <code>LocalSettings.php</code> file for you. It contains all your configuration.
 464+The installer has generated a <code>LocalSettings.php</code> file.
 465+It contains all your configuration.
457466
458 -You will need to [$1 download] it and put it in the base of your wiki installation (the same directory as index.php). '''Note''': If you do not do this now,
459 -this generated configuration file will not be available to you later if you exit the installation without downloading it.
 467+You will need to [$1 download] it and put it in the base of your wiki installation (the same directory as index.php).
 468+'''Note''': If you do not do this now, this generated configuration file will not be available to you later if you exit the installation without downloading it.
460469
461 -When that's done, you can [$2 '''enter your wiki''']", // $1 is the URL to LocalSettings download, $2 is link to wiki
 470+When that has been done, you can [$2 '''enter your wiki'''].", // $1 is the URL to LocalSettings download, $2 is link to wiki
462471 );
463472
 473+/** Message documentation
 474+ * @author Siebrand
 475+ */
 476+$messages['qqq'] = array(
 477+ 'config-title' => 'Parameters:
 478+* $1 is the version of MediaWiki that is being installed.',
 479+ 'config-session-error' => 'Parameters:
 480+* $1 is the error that was encountered with the session.',
 481+ 'config-session-expired' => 'Parameters:
 482+* $1 is the configured session lifetime.',
 483+ 'config-session-path-bad' => 'Parameters:
 484+* $1 is the configured <code>session.save_path</code>.',
 485+ 'config-restart' => 'Button text to confirm the installation procedure has to be restarted.',
 486+ 'config-env-php' => 'Parameters:
 487+* $1 is the version of PHP that has been installed.',
 488+ 'config-env-latest-data-invalid' => 'Parameters:
 489+* $1 is the URL from which invalid data was retrieved.',
 490+ 'config-env-latest-old' => 'Parameters:
 491+* $1 is the version of MediaWiki being installed.
 492+* $2 is the latest available stable MediaWiki version.',
 493+ 'config-no-db-help' => 'Parameters:
 494+* $1 is comma separated list of supported database types by MediaWiki.',
 495+ 'config-have-db' => 'Parameters:
 496+* $1 is comma separated list of database drivers found in the application environment.',
 497+ 'config-memory-ok' => 'Parameters:
 498+* $1 is the configured <code>memory_limit</code>.',
 499+ 'config-memory-raised' => 'Parameters:
 500+* $1 is the configured <code>memory_limit</code>.
 501+* $2 is the value to which <code>memory_limit</code> was raised.',
 502+ 'config-memory-bad' => 'Parameters:
 503+* $1 is the configured <code>memory_limit</code>.',
 504+ 'config-diff3-good' => 'Parameters:
 505+* $1 is the path to diff3.',
 506+ 'config-dir' => 'Parameters:
 507+* $1 is the path of the installation directory.',
 508+ 'config-dir' => 'Parameters:
 509+* $1 is script URI path.',
 510+ 'config-shell-locale' => 'Parameters:
 511+* $1 is the detected shell locale.',
 512+ 'config-show-table-status' => '{{doc-important|"SHOW TABLE STATUS" is a MySQL command. Do not translate this.}}',
 513+ 'config-install-done' => 'Parameters:
 514+* $1 is the URL to LocalSettings download
 515+* $2 is a link to the wiki.',
 516+ 'config-instantcommons-help' => 'Parameters:
 517+$1 is for indicating whether or not we should be able to use the feature.',
 518+);
 519+
464520 /** Dutch (Nederlands)
465521 * @author Siebrand
466522 */

Follow-up revisions

RevisionCommit summaryAuthorDate
r70330Fix alignment messed up in r70329.siebrand12:06, 2 August 2010

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r70168follow-up r70126 — better warningsmah19:28, 29 July 2010

Status & tagging log