* @package MediaWiki not Mediawiki
[lhc/web/wiklou.git] / includes / SpecialSitesettings.php
index 0c8f450..87f5559 100644 (file)
@@ -1,4 +1,8 @@
 <?php
+/**
+ * @package MediaWiki
+ * @subpackage SpecialPage
+ */
 require_once('HTMLForm.php');
 
 function wfSpecialSiteSettings() {
@@ -14,6 +18,7 @@ class SiteSettingsForm extends HTMLForm {
        function SiteSettingsForm ( &$request ) {
                $this->mPosted = $request->wasPosted();
                $this->mRequest = $request;
+               $this->mName = 'sitesettings';
        }
 
        function execute() {
@@ -57,6 +62,7 @@ class SiteSettingsForm extends HTMLForm {
                        $this->checkbox( 'wgUseDatabaseMessages' ) .
                        $this->checkbox( 'wgUseCategoryMagic' ) .
                        $this->checkbox( 'wgUseCategoryBrowser' ) .
+                       $this->checkbox( 'wgDisableLangConversion' ).
                        $this->textbox( 'wgHitcounterUpdateFreq' ) .
                        $this->textbox( 'wgExtraSubtitle' ).
                        $this->textbox( 'wgSiteSupportPage' ) .
@@ -103,7 +109,7 @@ class SiteSettingsForm extends HTMLForm {
                $wgOut->addHTML( $this->fieldset( "sitesettings-images" ,
                        $this->checkbox( 'wgAllowExternalImages' ) .
                        $this->fieldset( 'sitesettings-images-upload' ,
-                               $this->checkbox( 'wgDisableUploads' ) .
+                               $this->checkbox( 'wgEnableUploads' ) .
                                $this->checkbox( 'wgRemoteUploads' ) .
                                $this->arraybox( 'wgFileExtensions' ) .
                                $this->arraybox( 'wgFileBlacklist' ) .
@@ -164,7 +170,6 @@ class SiteSettingsForm extends HTMLForm {
                        $this->checkbox( 'wgDebugComments' ) .
                        $this->checkbox( 'wgLogQueries' ) .
                        $this->checkbox( 'wgDebugDumpSql' ) .
-                       $this->checkbox( 'wgIgnoreSQLErrors' ) .
                        $this->fieldset( 'sitesettings-debugging-profiling',
                                $this->checkbox( 'wgProfiling' ) .
                                $this->textbox( 'wgProfileLimit' ) .