From: Brion Vibber Date: Fri, 6 Jan 2006 21:03:50 +0000 (+0000) Subject: * (bug 4507) Adjust FULLPAGENAMEE escaping to standard form X-Git-Tag: 1.6.0~748 X-Git-Url: http://git.cyclocoop.org/%22%2C%20generer_url_ecrire%28?a=commitdiff_plain;h=21afe2e20f361fd6055007176dac19a99e876894;p=lhc%2Fweb%2Fwiklou.git * (bug 4507) Adjust FULLPAGENAMEE escaping to standard form --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index f6b1dfa0ea..7509a20fa3 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -410,6 +410,7 @@ fully support the editing toolbar, but was found to be too confusing. MIME type to the default blacklist. Prevented inline display of images which are not of known image types. This is in response to http://en.wikipedia.org/wiki/Windows_Metafile_vulnerability +* (bug 4507) Adjust FULLPAGENAMEE escaping to standard form === Caveats === diff --git a/includes/Parser.php b/includes/Parser.php index cd8fd80359..abd372c322 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -1961,7 +1961,7 @@ class Parser case MAG_FULLPAGENAME: return $this->mTitle->getPrefixedText(); case MAG_FULLPAGENAMEE: - return wfUrlencode( $this->mTitle->getPrefixedText() ); + return $this->mTitle->getPrefixedURL(); case MAG_REVISIONID: return $this->mRevisionId; case MAG_NAMESPACE: