From b532cc357559d0ff82218ce334b3648a1f78dacf Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Fri, 3 Sep 2004 01:05:32 +0000 Subject: [PATCH] Some documentation. Let's talk about it in wikitech-l. --- includes/DefaultSettings.php | 119 ++++++++++++++++++++++++++++++----- 1 file changed, 104 insertions(+), 15 deletions(-) diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 2b0a5dde4d..1a13e82444 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1,6 +1,6 @@ '; -# For using a direct (authenticated) SMTP server connection. -# "host" => 'SMTP domain', "IDHost" => 'domain for MessageID', "port" => "25", "auth" => true/false, "username" => user, "password" => password + +/** + * SMTP Mode + * For using a direct (authenticated) SMTP server connection. + * Default to false or fill an array : + * + * "host" => 'SMTP domain', + * "IDHost" => 'domain for MessageID', + * "port" => "25", + * "auth" => true/false, + * "username" => user, + * "password" => password + * + * + * @global mixed $wgSMTP + */ $wgSMTP = false; -# Database settings -# +/**#@+ + * Database settings + */ +/** database host name or ip address */ $wgDBserver = 'localhost'; +/** name of the database */ $wgDBname = 'wikidb'; +/** */ $wgDBconnection = ''; +/** Database username */ $wgDBuser = 'wikiuser'; -$wgDBtype = "mysql"; # "mysql" for working code and "PostgreSQL" for development/broken code -$wgDBprefix = ''; # Table name prefix +/** Database type + * "mysql" for working code and "PostgreSQL" for development/broken code + */ +$wgDBtype = "mysql"; +/** Table name prefix */ +$wgDBprefix = ''; +/**#@-*/ # Shared database for multiple wikis. # Presently used for storing a user table for single sign-on -- 2.20.1