AdminSettings.sample 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. /**
  3. * This file should be copied to AdminSettings.php, and modified
  4. * to reflect local settings. It is required for the maintenance
  5. * scripts which run on the command line, as an extra security
  6. * measure to allow using a separate user account with higher
  7. * privileges to do maintenance work.
  8. *
  9. * Developers: Do not check AdminSettings.php into Subversion
  10. */
  11. /*
  12. * This data is used by all database maintenance scripts
  13. * (see directory maintenance/). The SQL user MUST BE
  14. * MANUALLY CREATED or set to an existing user with
  15. * necessary permissions.
  16. *
  17. * This is not to be confused with sysop accounts for the
  18. * wiki.
  19. *
  20. * NOTE: for PostgreSQL this should be set to the same user and
  21. * password as the web user, that is, the same as $wgDBuser and
  22. * $wgDBpassword in LocalSettings.php. This is necessary to
  23. * ensure that the owner for new tables is set correctly.
  24. */
  25. $wgDBadminuser = 'wikiadmin';
  26. $wgDBadminpassword = 'adminpass';
  27. /*
  28. * Whether to enable the profileinfo.php script.
  29. */
  30. $wgEnableProfileInfo = false;