From 92f40fb7a6e695be90b15a7701f9250fb880c047 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sat, 1 May 2004 10:21:49 +0000 Subject: [PATCH] Separate out the newly added docs links for the intial main page into 'mainpagedocfooter' message to simplify the l10n task. --- config/index.php | 2 +- languages/Language.php | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/config/index.php b/config/index.php index f99f217fed..1967246d55 100644 --- a/config/index.php +++ b/config/index.php @@ -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 "
  • ";
    diff --git a/languages/Language.php b/languages/Language.php
    index a54646531f..b165d3fcc1 100644
    --- a/languages/Language.php
    +++ b/languages/Language.php
    @@ -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",
    -- 
    2.20.1