From 4b8679df3c458cce744d3d399d3f183591750aaf Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 21 Aug 2009 22:31:23 +0000 Subject: [PATCH] =?utf8?q?Revert=20r53667=20"Enabled=20use=20of=20the=20gr?= =?utf8?q?eater-than=20sign=20(">")=20in=20page=20titles.=20There=20is=20a?= =?utf8?q?ctually=20no=20reason=20for=20this=20character=20to=20be=20restr?= =?utf8?q?icted=20because=20it=20does=20not=20interfere=20with=20wiki=20sy?= =?utf8?q?ntax=20or=20HTML=20tags.=20This=20will=20have=20immediate=20appl?= =?utf8?q?ications=20for=20articles=20such=20as=20"M>Tram",=20">play",=20"?= =?utf8?q?The=20Videos=2086>98",=20"Tour=2000=20>>=2001=20Macabre",=20and?= =?utf8?q?=20"I>T=C3=A9l=C3=A9",=20as=20well=20as=20redirects=20for=20"Ine?= =?utf8?q?quality"=20and=20"Bitwise=20operation"."=20Possibility=20of=20sp?= =?utf8?q?itting=20raw=20>s=20into=20output=20unnerves=20me=20greatly,=20a?= =?utf8?q?nd=20could=20indeed=20be=20a=20problem=20depending=20on=20just?= =?utf8?q?=20where=20your=20text=20gets=20spat=20and=20what's=20around=20i?= =?utf8?q?t.=20More=20generally=20allowing=20one=20half=20of=20a=20pair=20?= =?utf8?q?makes=20little=20sense=20and=20would=20simply=20confuse=20the=20?= =?utf8?q?issue.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- includes/DefaultSettings.php | 4 ++-- maintenance/parserTests.txt | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 5b5c5f161e..fe24633aa1 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -259,7 +259,7 @@ $wgForeignFileRepos = array(); * * Problematic punctuation: * []{}|# Are needed for link syntax, never enable these - * < Causes problems with HTML escaping, don't use + * <> Causes problems with HTML escaping, don't use * % Enabled by default, minor problems with path to query rewrite rules, see below * + 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 @@ -279,7 +279,7 @@ $wgForeignFileRepos = array(); * 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+"; /** diff --git a/maintenance/parserTests.txt b/maintenance/parserTests.txt index 6afcef53a8..c94203b9b5 100644 --- a/maintenance/parserTests.txt +++ b/maintenance/parserTests.txt @@ -1453,7 +1453,7 @@ Link containing % as a double hex sequence interpreted to hex sequence !!end !! test -Link containing "#<" and "#>" % as hex sequences- these are valid section anchors +Link containing "#<" and "#>" % as a hex sequences- these are valid section anchors Example for such a section: == < == !! input [[%23%3c]][[%23%3e]] @@ -1463,11 +1463,11 @@ Example for such a section: == < == !! end !! test -Link containing "<#" and ">#" as hex sequences +Link containing "<#" and ">#" as a hex sequences !! input [[%3c%23]][[%3e%23]] !! result -

[[%3c%23]]># +

[[%3c%23]][[%3e%23]]

!! end -- 2.20.1