X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fpage%2FImagePage.php;h=348eff1431e8476f5568d224b54388153bd46d93;hb=5c115a77890ce370d04eafd89005a028b9de8a40;hp=5811f631853b5c9ce58d666b9fa5fe2cc7927f9d;hpb=683312f3d8c0cbd8b155b72f05bd7bb5f6a21b72;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/page/ImagePage.php b/includes/page/ImagePage.php index 5811f63185..348eff1431 100644 --- a/includes/page/ImagePage.php +++ b/includes/page/ImagePage.php @@ -267,8 +267,7 @@ class ImagePage extends Article { # @todo FIXME: Why is this using escapeId for a class?! $class = Sanitizer::escapeId( $v['id'] ); if ( $type == 'collapsed' ) { - // Handled by mediawiki.action.view.metadata module - // and skins/common/shared.css. + // Handled by mediawiki.action.view.metadata module. $class .= ' collapsable'; } $r .= "\n"; @@ -1200,9 +1199,9 @@ class ImageHistoryList extends ContextSource { . $this->msg( 'filehist-help' )->parseAsBlock() . $navLinks . "\n" . Xml::openElement( 'table', array( 'class' => 'wikitable filehistory' ) ) . "\n" - . '' + . '' . ( $this->current->isLocal() - && ( $this->getUser()->isAllowedAny( 'delete', 'deletedhistory' ) ) ? '' : '' ) + && ( $this->getUser()->isAllowedAny( 'delete', 'deletedhistory' ) ) ? '' : '' ) . '' . $this->msg( 'filehist-datetime' )->escaped() . '' . ( $this->showThumb ? '' . $this->msg( 'filehist-thumb' )->escaped() . '' : '' ) . '' . $this->msg( 'filehist-dimensions' )->escaped() . ''