diff options
author | petko <petko@524c5546-5005-0410-9a3e-e25e191bd360> | 2024-08-18 12:48:55 +0000 |
---|---|---|
committer | petko <petko@524c5546-5005-0410-9a3e-e25e191bd360> | 2024-08-18 12:48:55 +0000 |
commit | 6cb6c0ee5a2ca1a270e6695036998067f988323b (patch) | |
tree | 5f7211abdb992f94e0d8a7efa366585880db34d4 | |
parent | 88551911bc71d1885367f488f4a65f317001d903 (diff) | |
download | pmwiki.svn-6cb6c0ee5a2ca1a270e6695036998067f988323b.tar.bz2 |
Add $EnableCommonEnhancements to docs/sample-config.php, remove $EnableNotSavedWarning which was enabled in 2.3.0.
git-svn-id: svn://pmwiki.org/pmwiki/trunk@4777 524c5546-5005-0410-9a3e-e25e191bd360
-rw-r--r-- | docs/sample-config.php | 10 | ||||
-rw-r--r-- | scripts/stdconfig.php | 1 |
2 files changed, 6 insertions, 5 deletions
diff --git a/docs/sample-config.php b/docs/sample-config.php index fdc7482a..fdaf7765 100644 --- a/docs/sample-config.php +++ b/docs/sample-config.php @@ -46,14 +46,16 @@ include_once("scripts/xlpage-utf-8.php"); # $EnableBlocklist = 1; # enable manual blocklists # $EnableBlocklist = 10; # enable automatic blocklists +## You can enable a number of functions improving your experience +## editing and reviewing pages. This includes LocalTimes, PmSyntax, +## GUIButtons, TableOfContents and more, search the documentation +## for this variable: +# $EnableCommonEnhancements = 1; + ## PmWiki comes with graphical user interface buttons for editing; ## to enable these buttons, set $EnableGUIButtons to 1. # $EnableGUIButtons = 1; -## This enables a message if editors have modified a page but try to -## move away from the edit form before saving the text. -$EnableNotSavedWarning = 1; # 1: warn editors; 0: disable warning - ## You can enable syntax highlighting for the documentation and/or ## for the edit form. # $EnablePmSyntax = 1; # or 2, see documentation diff --git a/scripts/stdconfig.php b/scripts/stdconfig.php index 079bacaa..3e73d647 100644 --- a/scripts/stdconfig.php +++ b/scripts/stdconfig.php @@ -68,7 +68,6 @@ if (IsEnabled($EnableCommonEnhancements,0)) { SDV($EnableUploadVersions, 1); } - if (IsEnabled($EnableRobotControl,1)) include_once("$FarmD/scripts/robots.php"); |