From 0a4c6b04f1566bf44d1580338bfd30472382c2a2 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 18 Jan 2005 10:13:14 +0000 Subject: [PATCH] * Set default MediaWiki:Sitenotice to '-', avoiding extra database hits (A blank message doesn't get cached cleanly, so it was being loaded from the secondary cache and the cur table on every hit unless un-blanked.) --- languages/Language.php | 2 +- languages/LanguageFr.php | 2 +- languages/LanguageGa.php | 2 +- languages/LanguageLt.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/languages/Language.php b/languages/Language.php index 741907c401..a63f757cae 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -449,7 +449,7 @@ performed by sysops with \"bureaucrat\" status.", 'thisisdeleted' => "View or restore $1?", 'restorelink' => "$1 deleted edits", 'feedlinks' => 'Feed:', -'sitenotice' => '', # the equivalent to wgSiteNotice +'sitenotice' => '-', # the equivalent to wgSiteNotice # Short words for each namespace, by default used in the 'article' tab in monobook 'nstab-main' => 'Article', diff --git a/languages/LanguageFr.php b/languages/LanguageFr.php index 7248f19087..9124f74a89 100644 --- a/languages/LanguageFr.php +++ b/languages/LanguageFr.php @@ -276,7 +276,7 @@ Voir $1.", "thisisdeleted" => "Afficher ou restaurer $1?", "restorelink" => "$1 modifications effacées", 'feedlinks' => 'Flux:', -'sitenotice' => '', # the equivalent to wgSiteNotice +'sitenotice' => '-', # the equivalent to wgSiteNotice # Short words for each namespace, by default used in the 'article' tab in monobook 'nstab-main' => 'Article', diff --git a/languages/LanguageGa.php b/languages/LanguageGa.php index 34fb8d7988..f8ed7184e8 100755 --- a/languages/LanguageGa.php +++ b/languages/LanguageGa.php @@ -350,7 +350,7 @@ chun an gníomh seo a dhéanamh.", "thisisdeleted" => "Breathnaigh nó cuir ar ais $1?", "restorelink" => "$1 athruithe scriosaithe", 'feedlinks' => 'Sní eolais:', -'sitenotice' => '', # the equivalent to wgSiteNotice +'sitenotice' => '-', # the equivalent to wgSiteNotice # Short words for each namespace, by default used in the 'article' tab in monobook 'nstab-main' => 'Alt', diff --git a/languages/LanguageLt.php b/languages/LanguageLt.php index f07c75918d..16baf4dbdc 100644 --- a/languages/LanguageLt.php +++ b/languages/LanguageLt.php @@ -883,7 +883,7 @@ Please check the URL you used to access this page. 'showpreview' => "Kaip atrodys", 'showtoc' => "rodyti", #'sig_tip' => "Your signature with timestamp", -'sitenotice' => "", #empty +'sitenotice' => "-", #empty 'sitestats' => "Tinklalapio statistika", 'sitestatstext' => "Duomenų bazėje šiuo metu esančių puslapių - '''$1'''. Į šį skaičių įeina diskusijų puslapiai, pagalbiniai Wikipedijos puslapiai, peradresavimo puslapiai ir kiti, neskaičiuojami kaip straipsniai. -- 2.20.1