- $this->getVar( 'wgScriptPath' ) . '/index.php',
- '<downloadlink/>'
- )->plain(), 'tick-32.png'
+ $this->getVar( 'wgScriptPath' ) . '/index.php',
+ Message::rawParam( $this->parent->makeDownloadLinkHtml() ),
+ $location ?: ''
+ )->parse() ), 'tick-32.png'