From: Jens Frank Date: Tue, 3 Aug 2004 20:14:03 +0000 (+0000) Subject: Use different label for first 'delete' button in image history than for the later... X-Git-Tag: 1.5.0alpha1~2526 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=7fee25508a5cdf0ac2203558d955f4a3a0c20c31;p=lhc%2Fweb%2Fwiklou.git Use different label for first 'delete' button in image history than for the later ones. Defaults to old delete label. BUG [ 1001578 ] --- diff --git a/includes/Skin.php b/includes/Skin.php index 9b688888fd..d7119e3c06 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -2516,6 +2516,7 @@ class Skin { $datetime = $wgLang->timeanddate( $timestamp, true ); $del = wfMsg( 'deleteimg' ); + $delall = wfMsg( 'deleteimgcompletely' ); $cur = wfMsg( 'cur' ); if ( $iscur ) { @@ -2524,9 +2525,9 @@ class Skin { if ( $wgUser->isSysop() ) { $link = $wgTitle->escapeLocalURL( 'image=' . $wgTitle->getPartialURL() . '&action=delete' ); - $style = $this->getInternalLinkAttributes( $link, $del ); + $style = $this->getInternalLinkAttributes( $link, $delall ); - $dlink = ''.$del.''; + $dlink = ''.$delall.''; } else { $dlink = $del; }