* (bug 23797) Xml::input() now allows '0' for the value parameter
* (bug 23747) Make sure that on History pages, the RevDel button is not
accidently activated when hitting enter.
+* (bug 23845) Special:ListFiles now uses correct file names without underscores
=== API changes in 1.17 ===
* (bug 22738) Allow filtering by action type on query=logevent.
static $imgfile = null;
if ( $imgfile === null ) $imgfile = wfMsg( 'imgfile' );
- $name = $this->mCurrentRow->img_name;
- $link = $this->getSkin()->linkKnown( Title::makeTitle( NS_FILE, $name ), htmlspecialchars( $value ) );
+ $filePage = Title::makeTitle( NS_FILE, $value );
+ $link = $this->getSkin()->linkKnown( $filePage, htmlspecialchars( $filePage->getText() ) );
$image = wfLocalFile( $value );
$url = $image->getURL();
$download = Xml::element('a', array( 'href' => $url ), $imgfile );