From fe8e56631c7fa33671d121af351374e2e0c534cc Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 2 Oct 2006 15:07:53 +0000 Subject: [PATCH] * Add + to $wgLegalTitleChars by default. Some sites may have occasional problems with hard-to-reach pages, but it should be less trouble than "I can't import dumps from Wikipedia" complaints --- RELEASE-NOTES | 3 +++ includes/DefaultSettings.php | 6 ++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index af92dabf16..9e0f6e9eab 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -246,6 +246,9 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN directly through Special:Allmessages * (bug 6130, bug 5818) Replaced message 'go' with the new message 'searcharticle' in skins to allow better localisation +* Add + to $wgLegalTitleChars by default. Some sites may have occasional + problems with hard-to-reach pages, but it should be less trouble than + "I can't import dumps from Wikipedia" complaints == Languages updated == diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index f7be878475..7233a24b76 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -165,7 +165,7 @@ $wgFileStore['deleted']['hash'] = 3; // 3-level subdirectory split * Problematic punctuation: * []{}|# Are needed for link syntax, never enable these * % Enabled by default, minor problems with path to query rewrite rules, see below - * + Doesn't work with path to query rewrite rules, corrupted by apache + * + Enabled by default, but doesn't work with path to query rewrite rules, corrupted by apache * ? Enabled by default, but doesn't work with path to PATH_INFO rewrites * * All three of these punctuation problems can be avoided by using an alias, instead of a @@ -178,10 +178,12 @@ $wgFileStore['deleted']['hash'] = 3; // 3-level subdirectory split * passed in the query string rather than the path. This is a minor security issue * because articles can be created such that they are hard to view or edit. * + * In some rare cases you may wish to remove + for compatibility with old links. + * * Theoretically 0x80-0x9F of ISO 8859-1 should be disallowed, but * this breaks interlanguage links */ -$wgLegalTitleChars = " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF"; +$wgLegalTitleChars = " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+"; /** -- 2.20.1