From: Erik Moeller Date: Fri, 24 Sep 2004 17:31:02 +0000 (+0000) Subject: removing Windows line endings X-Git-Tag: 1.5.0alpha1~1820 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%2C%22id_auteur=%24connecte%22%29%20.%20%22?a=commitdiff_plain;h=4a8916375496d7c18c0de20fc6b06217cb8dfda5;p=lhc%2Fweb%2Fwiklou.git removing Windows line endings fixing MySQL code so it works under 4.0/Linux --- diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index e9291810d5..b68250a3f3 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -307,7 +307,6 @@ $wgExtraSubtitle = ''; $wgSiteSupportPage = ''; # A page where you users can receive donations $wgReadOnlyFile = "{$wgUploadDirectory}/lock_yBgMBwiR"; - $wgUseData = false ; # The debug log file should be not be publicly accessible if it is @@ -666,7 +665,7 @@ $wgMaxTocLevel = 999; $wgUseGeoMode = false; # Validation for print or other production versions -$wgUseValidation = false; +$wgUseValidation = true; # Use external C++ diff engine (module wikidiff from the # extensions package) diff --git a/includes/SpecialData.php b/includes/SpecialData.php index 19db700515..bb397fd461 100644 --- a/includes/SpecialData.php +++ b/includes/SpecialData.php @@ -2,28 +2,28 @@ /* You'll need to run these CREATEs : -CREATE TABLE 'data' ( -'data_cur_id' INT NOT NULL , -'data_revision' INT NOT NULL , -'data_key' VARCHAR( 255 ) NOT NULL , -'data_value' MEDIUMTEXT NOT NULL , -INDEX ( 'data_cur_id' ), -INDEX ('data_revision') , -INDEX ('data_key' ) +CREATE TABLE data ( +data_cur_id INT NOT NULL , +data_revision INT NOT NULL , +data_key VARCHAR( 255 ) NOT NULL , +data_value MEDIUMTEXT NOT NULL , +INDEX ( data_cur_id ), +INDEX (data_revision) , +INDEX (data_key ) ) TYPE = MYISAM ; -CREATE TABLE 'data_rev' ( -'rev_cur_id' INT NOT NULL , -'rev_id' INT NOT NULL , -'rev_masterkey' VARCHAR( 255 ) NOT NULL, -'rev_user_id' INT NOT NULL , -'rev_user_text' VARCHAR( 255 ) NOT NULL , -'rev_comment' VARCHAR( 255 ) NOT NULL , -'rev_time' INT NOT NULL , -INDEX ( 'rev_cur_id') , -INDEX ('rev_id'), -INDEX ( 'rev_user_id' ), -INDEX ( 'rev_masterkey' ) +CREATE TABLE data_rev ( +rev_cur_id INT NOT NULL , +rev_id INT NOT NULL , +rev_masterkey VARCHAR( 255 ) NOT NULL, +rev_user_id INT NOT NULL , +rev_user_text VARCHAR( 255 ) NOT NULL , +rev_comment VARCHAR( 255 ) NOT NULL , +rev_time INT NOT NULL , +INDEX ( rev_cur_id) , +INDEX (rev_id), +INDEX ( rev_user_id ), +INDEX ( rev_masterkey ) ) TYPE = MYISAM ; */