Fix bug 2642 : watchdetails message using HTML instead of wiki syntax. Patch by zigge...
[lhc/web/wiklou.git] / AdminSettings.sample
index fd373e4..0eea90c 100644 (file)
@@ -1,26 +1,31 @@
-<?
-# This file should be copied to AdminSettings.php, and modified
-# to reflect local settings.  Unlike LocalSettings.php, it is
-# not copied to the installation directory for security reasons;
-# it is used by the install and maintenance scripts only. 
-#
-# Developers: Do not check AdminSettings.php into CVS!
+<?php
+/**
+ * This file should be copied to AdminSettings.php, and modified
+ * to reflect local settings. It is required for the maintenance
+ * scripts which run on the command line, as an extra security
+ * measure to allow using a separate user account with higher
+ * privileges to do maintenance work.
+ *
+ * Developers: Do not check AdminSettings.php into CVS!
+ *
+ * @package MediaWiki
+ */
 
-# This data is used to set up the database, and for all
-# maintenance operations on it (rebuild links tables etc.).
-# You can use the root account here. If you don't, make sure 
-# that the user has the rights to create the database before 
-# running the install script, or create the database yourself.
+/*
+ * This data is used by all database maintenance scripts
+ * (see directory maintenance/). The SQL user MUST BE
+ * MANUALLY CREATED or set to an existing user with
+ * necessary permissions.
+ *
+ * This is not to be confused with sysop accounts for the
+ * wiki.
+ */
+$wgDBadminuser      = 'wikiadmin';
+$wgDBadminpassword  = 'adminpass';
 
-$wgDBadminuser      = "wikiadmin";
-$wgDBadminpassword  = "adminpass";
-
-# Define these if you want the installed files to be owned
-# by a specific user or group for ease of maintenance.  You
-# must run the install script as root to change owners, or
-# as a member of the group to change groups.
-#
-# $wgInstallOwner = "apache";
-# $wgInstallGroup = "apache";
+/*
+ * Whether to enable the profileinfo.php script.
+ */
+$wgEnableProfileInfo = false;
 
 ?>