* (bug 11649) Show input form when Special:Whatlinkshere has no parameters
[lhc/web/wiklou.git] / includes / SiteConfiguration.php
index 6cb645b..353f5b3 100644 (file)
@@ -1,26 +1,24 @@
 <?php
-/**
- * This is a class used to hold configuration settings, particularly for multi-wiki sites. 
- *
- * @package MediaWiki
- */
 
 /**
- * The include paths change after this file is included from commandLine.inc, 
+ * The include paths change after this file is included from commandLine.inc,
  * meaning that require_once() fails to detect that it is including the same
  * file again. We use DIY C-style protection as a workaround.
  */
 if (!defined('SITE_CONFIGURATION')) {
 define('SITE_CONFIGURATION', 1);
 
-/** @package MediaWiki */
+/**
+ * This is a class used to hold configuration settings, particularly for multi-wiki sites.
+ *
+ */
 class SiteConfiguration {
        var $suffixes = array();
        var $wikis = array();
        var $settings = array();
        var $localVHosts = array();
 
-       /** */  
+       /** */
        function get( $setting, $wiki, $suffix, $params = array() ) {
                if ( array_key_exists( $setting, $this->settings ) ) {
                        if ( array_key_exists( $wiki, $this->settings[$setting] ) ) {
@@ -49,7 +47,7 @@ class SiteConfiguration {
                $localSettings = array();
                foreach ( $this->settings as $varname => $stuff ) {
                        $value = $this->get( $varname, $wiki, $suffix, $params );
-                       if ( !is_null( $value ) ) { 
+                       if ( !is_null( $value ) ) {
                                $localSettings[$varname] = $value;
                        }
                }
@@ -117,5 +115,5 @@ class SiteConfiguration {
        }
 }
 }
-       
-?>
+
+