-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
btongminh@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)