X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fparser%2FCoreParserFunctions.php;h=f0f1f5fa97da94a4a8ed85cc04d7617e5960f6c9;hb=e687f2da3eb5be95855d9aafc53a7524dfaefa34;hp=6aa3accebe4c027e18c09d3882ed68970b0ab724;hpb=072551a6bf6d12fc6e1d764225f16987740d04c6;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/parser/CoreParserFunctions.php b/includes/parser/CoreParserFunctions.php index 6aa3accebe..f0f1f5fa97 100644 --- a/includes/parser/CoreParserFunctions.php +++ b/includes/parser/CoreParserFunctions.php @@ -157,7 +157,7 @@ class CoreParserFunctions { } /** - * urlencodes a string according to one of three patterns: (bug 22474) + * urlencodes a string according to one of three patterns: (T24474) * * By default (for HTTP "query" strings), spaces are encoded as '+'. * Or to encode a value for the HTTP "path", spaces are encoded as '%20'. @@ -174,7 +174,6 @@ class CoreParserFunctions { $magicWords = new MagicWordArray( [ 'url_path', 'url_query', 'url_wiki' ] ); } switch ( $magicWords->matchStartToEnd( $arg ) ) { - // Encode as though it's a wiki page, '_' for ' '. case 'url_wiki': $func = 'wfUrlencode';