(bug 37183) Removed hard coded parentheses in SpecialListfiles.php
authorpmolina <patriciomolina@gmail.com>
Sat, 2 Jun 2012 15:05:06 +0000 (12:05 -0300)
committerpmolina <patriciomolina@gmail.com>
Sun, 3 Jun 2012 11:26:11 +0000 (08:26 -0300)
Change-Id: Id8fceb6075579bd30b701c2531f0d24723fe54f1

includes/specials/SpecialListfiles.php

index abd83ac..284b85a 100644 (file)
@@ -210,7 +210,8 @@ class ImageListPager extends TablePager {
                                                array( 'href' => wfLocalFile( $filePage )->getURL() ),
                                                $imgfile
                                        );
-                                       return "$link ($download)";
+                                       $download = $this->msg( 'parentheses' )->rawParams( $download )->escaped();
+                                       return "$link $download";
                                } else {
                                        return htmlspecialchars( $value );
                                }