aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/stdconfig.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/scripts/stdconfig.php b/scripts/stdconfig.php
index b7d33a91..079bacaa 100644
--- a/scripts/stdconfig.php
+++ b/scripts/stdconfig.php
@@ -42,6 +42,31 @@ while(count($PostConfig)) {
elseif (file_exists($k)) include_once($k);
}
+if (IsEnabled($EnableCommonEnhancements,0)) {
+ # Security + review changes
+ SDV($EnableCookieHTTPOnly, 1);
+ SDVA($LinkFunctions, array('mailto:' => 'ObfuscateLinkIMap'));
+ SDV($EnableRCDiffBytes, 1);
+ SDV($EnableLocalTimes, 3);
+
+ # Editing
+ SDV($EnablePreviewChanges, 1);
+ SDV($EnableMergeLastMinorEdit, 1);
+ SDV($EnableListIncludedPages, 1);
+ SDV($EnablePmSyntax, 2);
+ SDV($EnableEditAutoText, 1);
+ SDV($EnableGUIButtons, 1);
+ SDV($EnableGuiEditFixUrl, 220);
+
+ # Documentation
+ SDVA($PmTOC, array('Enable'=>1, 'EnableBacklinks'=>1));
+ SDV($EnableCopyCode, 1);
+
+ # Uploads (if enabled)
+ SDV($EnableUploadDrop, 1);
+ SDV($EnableRecentUploads, 1);
+ SDV($EnableUploadVersions, 1);
+}
if (IsEnabled($EnableRobotControl,1))