// 5. Define your encryption salt so that md5 footprints cannot be reused on another server. // Note that a change here makes all your current User passwords invalid.
$swEncryptionSalt = "[[encryptionsalt]]"; // 0000
// 6. Configure skins and add your own. If you create your own skins, start with a copy of default.php and move it to the site/skins folder
// 8. Namespaces that are allowed for transclusion. normally this is only main and templates. // Pay attention: If you allow User namespace, everybody can see User Rights of other users.
$swTranscludeNamespaces[] = "Image";
// 9. Namespaces that are included for search and set timelimit for searches
// $swSearchNamespaces[] = "Namespace";
// on all searches, filtering will be aborted after n msec. Index will be created over multiple searches $swMaxOverallSearchTime = 2000; // searches priority in title. if title search gives results, returns only these $swQuickSearchinTitle = true; // if $swQuickSearchinTitle is set and an exact match is found, the page is returned instead of a search result $swQuickSearchRedirect = false; // limits number of searching words for long search to avoid long searches $swSearchWordLimit = 4; // index only on cron job or Special:Recent Changes. swFilter may temporarily not show latest results. // set this true if you have more than 15'000 revisions. $swLazyIndexing = false; // max file size for upload // note that the PHP environment may limit the upload size (upload_max_filesize default 2M and post_max_size) $swMaxFileSize = 8000000; ini_set('upload_max_filesize',$swMaxFileSize); ini_set('post_max_size',$swMaxFileSize);
// 12. Define Email and actions to notify
// $swNotifyMail = "a@b.c"; // $swNotifyActions[] = "newusersubmit"; // password sent to user // $swNotifyActions[] = "lostpasswordsubmit"; // new password sent to user
// 13. Define Hooks
/* // allows you to return a custom page when a user has not the right to view a page function swInternalNoAccessHook($name) {} */
/* // allows you to reorder and format Category pages and search results function swInternalCategoryHook($name,$wn) {} function swInternalSearchHook($name,$wn) {} */
/* // allows you to make your own housekeeping. return true to prevent the default cron jobs (see inc/cron.php) // you might also do this in a real cronjob function swInternalCronHook() {} */