-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
btongminh(a)svn.wikimedia.org wrote:
+* (bug 11659) Urldecode image names in galleries
...
+
+ if ( strpos( $matches[0], '%' ) !== false )
+ $matches[1] = urldecode( $matches[1] );
$tp = Title::newFromText( $matches[1] );
At this point it probably makes sense to go ahead and refactor this
check & transformation into Title::newFromText itself -- it's already
doing character reference decoding, so tossing in a URL decode doesn't
sound too out of bounds, and it'll keep behavior consistent.
- -- brion vibber (brion @
wikimedia.org)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org
iEYEARECAAYFAkhEPDMACgkQwRnhpk1wk47FGgCfTSR064X3UxIFfmLru0PllhNH
fL0AoLCusRpsO81Flvn4MwF3X2RLTwsr
=LYHo
-----END PGP SIGNATURE-----