* Set default MediaWiki:Sitenotice to '-', avoiding extra database hits
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 18 Jan 2005 10:13:14 +0000 (10:13 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 18 Jan 2005 10:13:14 +0000 (10:13 +0000)
(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
languages/LanguageFr.php
languages/LanguageGa.php
languages/LanguageLt.php

index 741907c..a63f757 100644 (file)
@@ -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',
index 7248f19..9124f74 100644 (file)
@@ -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',
index 34fb8d7..f8ed718 100755 (executable)
@@ -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',
index f07c759..16baf4d 100644 (file)
@@ -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.