$url = $full_url;
}
$anchoropen = "<a href=\"{$full_url}\">";
- $anchorclose = "<br />{$msg}</a>";
+ $anchorclose = "</a><br />\n$anchoropen{$msg}</a>";
} else {
$url = $full_url;
}
$wgOut->readOnlyPage();
return;
}
+ if( $wgUser->getId() == 0 ) {
+ $wgOut->errorpage( 'uploadnologin', 'uploadnologintext' );
+ return;
+ }
if ( ! $this->mTitle->userCanEdit() ) {
$wgOut->sysopRequired();
return;
}
}
+/**
+ * @todo document
+ * @package MediaWiki
+ */
class ImageHistoryList {
function ImageHistoryList( &$skin ) {
$this->skin =& $skin;