From 359e9fe2cf82c6b2b9fb68016325e6fba9499d3c Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 13 Mar 2007 15:45:40 +0000 Subject: [PATCH] Bundle tidy config. --- RELEASE-NOTES | 2 ++ includes/DefaultSettings.php | 2 +- includes/tidy.conf | 18 ++++++++++++++++++ 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 includes/tidy.conf diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 73ab302a68..795c1a4087 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -265,6 +265,8 @@ lighter making things easier to read. * (bug 9256) Add a quick note to index.php header comments * (bug 1196) Add IPv6 support to blocks * Make Special:Listusers caseinsensitive for first letter +* Default tidy.conf has been moved from extensions module into includes. + == Languages updated == diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 98b94d4b5f..821612aab1 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1690,7 +1690,7 @@ $wgRawHtml = false; $wgUseTidy = false; $wgAlwaysUseTidy = false; $wgTidyBin = 'tidy'; -$wgTidyConf = $IP.'/extensions/tidy/tidy.conf'; +$wgTidyConf = $IP.'/includes/tidy.conf'; $wgTidyOpts = ''; $wgTidyInternal = function_exists( 'tidy_load_config' ); diff --git a/includes/tidy.conf b/includes/tidy.conf new file mode 100644 index 0000000000..3cefcf8f68 --- /dev/null +++ b/includes/tidy.conf @@ -0,0 +1,18 @@ +# html tidy (http://tidy.sf.net) configuration +# tidy - validate, correct, and pretty-print HTML files +# see: man 1 tidy, http://tidy.sourceforge.net/docs/quickref.html + +show-body-only: yes +force-output: yes +tidy-mark: no +wrap: 0 +wrap-attributes: no +literal-attributes: yes +output-xhtml: yes +numeric-entities: yes +enclose-text: yes +enclose-block-text: yes +quiet: yes +quote-nbsp: yes +fix-backslash: no +fix-uri: no -- 2.20.1