Separate out the newly added docs links for the intial main page
authorBrion Vibber <brion@users.mediawiki.org>
Sat, 1 May 2004 10:21:49 +0000 (10:21 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sat, 1 May 2004 10:21:49 +0000 (10:21 +0000)
into 'mainpagedocfooter' message to simplify the l10n task.

config/index.php
languages/Language.php

index f99f217..1967246 100644 (file)
@@ -451,7 +451,7 @@ if( $conf->posted && ( 0 == count( $errs ) ) ) {
                        $title = $titleobj->getDBkey();
                        $sql = "INSERT INTO cur (cur_namespace,cur_title,cur_text,cur_timestamp,inverse_timestamp,cur_touched) " .
                          "VALUES (0,'$title','" .
-                         wfStrencode( wfMsg( "mainpagetext" ) ) . "','$now','$won','$now')";
+                         wfStrencode( wfMsg( "mainpagetext" ) . "\n\n" . wfMsg( "mainpagedocfooter" ) ) . "','$now','$won','$now')";
                        $wgDatabase->query( $sql, $fname );
                        
                        print "<li><pre>";
index a546465..b165d3f 100644 (file)
@@ -467,7 +467,9 @@ $wgLanguageNamesEn =& $wgLanguageNames;
 
 "linktrail"            => "/^([a-z]+)(.*)\$/sD",
 "mainpage"             => "Main Page",
-"mainpagetext" => "Wiki software successfully installed.\n\nPlease see [http://meta.wikipedia.org/wiki/MediaWiki_i18n documentation on customizing the interface].",
+"mainpagetext" => "Wiki software successfully installed.",
+"mainpagedocfooter" => "Please see [http://meta.wikipedia.org/wiki/MediaWiki_i18n documentation on customizing the interface]
+and the [http://meta.wikipedia.org/wiki/MediaWiki_User%27s_Guide User's Guide] for usage and configuration help.",
 'portal'               => 'Community portal',
 'portal-url'           => '{{ns:4}}:Community Portal',
 "about"                        => "About",