Add $wgDefaultSkin setting.
authorBrion Vibber <brion@users.mediawiki.org>
Sat, 8 May 2004 02:15:50 +0000 (02:15 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sat, 8 May 2004 02:15:50 +0000 (02:15 +0000)
Remove redundant options array in bn

LocalSettings.sample
config/index.php
includes/DefaultSettings.php
languages/Language.php
languages/LanguageBn.php

index 0d64d31..68ec52c 100644 (file)
@@ -154,6 +154,10 @@ $wgLocalInterwiki   = $wgSitename;
 # $wgInputEncoding     = "UTF-8";
 # $wgOutputEncoding    = "UTF-8";
 
+## Default skin: you can change the default skin. Use the internal symbolic
+## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook':
+# $wgDefaultSkin = 'monobook';
+
 ## Extremely high-traffic wikis may want to disable
 ## some database-intensive features here:
 #
index cb37053..a3164b3 100644 (file)
@@ -760,6 +760,11 @@ if ( \$wgUsePHPTal ) {
 \$wgLanguageCode = \"{$conf->LanguageCode}\";
 " . ($conf->Encoding ? "\$wgInputEncoding = \$wgOutputEncoding = \"{$conf->Encoding}\";" : "" ) . "
 
+## Default skin: you can change the default skin. Use the internal symbolic
+## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook':
+# \$wgDefaultSkin = 'monobook';
+
+## This is incomplete, ignore it:
 #\$wgProxyKey = $proxyKey;
 
 ## For attaching licensing metadata to pages, and displaying an
index 72f69f1..25636e7 100644 (file)
@@ -364,4 +364,8 @@ $wgUseTidy = false;
 $wgTidyBin = 'tidy';
 $wgTidyConf = $IP.'/extensions/tidy/tidy.conf'; 
 $wgTidyOpts = '';
+
+# See list of skins and their symbolic names in language/Language.php
+$wgDefaultSkin = "monobook";
+
 ?>
index 7ecc0d2..eb97fc9 100644 (file)
@@ -48,7 +48,7 @@ if($wgMetaNamespace === FALSE)
        "quickbar" => 1, "underline" => 1, "hover" => 1,
        "cols" => 80, "rows" => 25, "searchlimit" => 20,
        "contextlines" => 5, "contextchars" => 50,
-       "skin" => 'monobook', "math" => 1, "rcdays" => 7, "rclimit" => 50,
+       "skin" => $wgDefaultSkin, "math" => 1, "rcdays" => 7, "rclimit" => 50,
        "highlightbroken" => 1, "stubthreshold" => 0,
        "previewontop" => 1, "editsection"=>1,"editsectiononrightclick"=>0, "showtoc"=>1,
        "showtoolbar" =>1,
@@ -1964,6 +1964,7 @@ class Language {
        }
 }
 
+# This should fail gracefully if there's not a localization available
 @include_once( "Language" . ucfirst( $wgLanguageCode ) . ".php" );
 
 ?>
index 357854e..5f546e8 100644 (file)
 
 );
 
-/* private */ $wgDefaultUserOptionsBn = array(
-  "quickbar" => 1, "underline" => 1, "hover" => 1,
-  "cols" => 80, "rows" => 25, "searchlimit" => 20,
-  "contextlines" => 5, "contextchars" => 50,
-  "skin" => 0, "math" => 1, "rcdays" => 7, "rclimit" => 50,
-  "highlightbroken" => 1, "stubthreshold" => 0,
-  "previewontop" => 1, "editsection"=>1, "showtoc"=>1,
-  "date" => 0
-);
-
 /* private */ $wgQuickbarSettingsBn = array(
   "None", "Fixed left", "Fixed right", "Floating left"
 );