update example LocalSettings to remove skin dualism
authorZbigniew Braniecki (zbraniecki@mozilla.com)
Thu, 27 Aug 2009 20:46:53 +0200
changeset 30 afed41d3e169390b3e5f36f1c245a6a333f40c43
parent 29 d6c68c7c4b45499fec6e5f6f15926fddec5c0a0d
child 31 b01bcf9f8c3dcf201bcedb538ab057e70a42c293
push id15
push userzbraniecki@mozilla.com
push dateThu, 27 Aug 2009 18:47:00 +0000
update example LocalSettings to remove skin dualism
mediawiki/LocalSettings.php
--- a/mediawiki/LocalSettings.php
+++ b/mediawiki/LocalSettings.php
@@ -1,25 +1,15 @@
 <?php
 ##
 # CMO
 # Add support for OpenID in path
 ##
 ini_set("include_path", "./extensions/OpenID:".get_include_path());
 
-##
-# CMO
-# display end user view or admin view depending on the path element
-##
-if(strpos($_SERVER['SERVER_NAME'],'como-edit')===FALSE)
-  $cmoview = 0;
-else
-  $cmoview = 1;
-
-
 # This file was automatically generated by the MediaWiki installer.
 # If you make manual changes, please keep track in case you need to
 # recreate them later.
 #
 # See includes/DefaultSettings.php for all configurable settings
 # and their default values, but don't forget to make changes in _this_
 # file, not there.
 
@@ -119,20 +109,17 @@ if ( $wgCommandLineMode ) {
 $wgLanguageCode = "en";
 
 $wgProxyKey = "46e12b98327488e382c5702fa877056c89fda1a61db1f7ced70eaac349cf06f3";
 
 ## Default skin: you can change the default skin. Use the internal symbolic
 ## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook':
 #$wgDefaultSkin = 'monobook';
 # CMO
-if ($cmoview == 0)
-  $wgDefaultSkin = 'cmo';
-else
-  $wgDefaultSkin = 'monobook';
+$wgDefaultSkin = 'cmo';
 
 ## For attaching licensing metadata to pages, and displaying an
 ## appropriate copyright notice / icon. GNU Free Documentation
 ## License and Creative Commons licenses are supported so far.
 # $wgEnableCreativeCommonsRdf = true;
 $wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright
 $wgRightsUrl = "";
 $wgRightsText = "";