X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fpage%2FImagePage.php;h=6a751ac7069c4b88d9e4120642bffecd609f42b1;hb=a2254d32bf816c28f2a3fb4088b5e4356cff4c48;hp=53d7e55409a37fdc690877ab4f092754974d7dcd;hpb=28149973fc1eb2aae8830dab3112ee2b928c4ff5;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/page/ImagePage.php b/includes/page/ImagePage.php index 53d7e55409..6a751ac706 100644 --- a/includes/page/ImagePage.php +++ b/includes/page/ImagePage.php @@ -20,6 +20,8 @@ * @file */ +use Wikimedia\Rdbms\ResultWrapper; + /** * Class for viewing MediaWiki file description pages * @@ -213,7 +215,7 @@ class ImagePage extends Article { } $out->addModuleStyles( [ - 'filepage', // always show the local local Filepage.css, bug 29277 + 'filepage', // always show the local local Filepage.css, T31277 'mediawiki.action.view.filepage', // Add MediaWiki styles for a file page ] ); } @@ -432,7 +434,7 @@ class ImagePage extends Article { $count = $this->displayImg->pageCount(); if ( $page > 1 ) { - $label = $out->parse( $this->getContext()->msg( 'imgmultipageprev' )->text(), false ); + $label = $this->getContext()->msg( 'imgmultipageprev' )->text(); // on the client side, this link is generated in ajaxifyPageNavigation() // in the mediawiki.page.image.pagination module $link = Linker::linkKnown( @@ -492,6 +494,7 @@ class ImagePage extends Article { Xml::openElement( 'form', $formParams ) . Html::hidden( 'title', $this->getTitle()->getPrefixedDBkey() ) . $this->getContext()->msg( 'imgmultigoto' )->rawParams( $select )->parse() . + $this->getContext()->msg( 'word-separator' )->escaped() . Xml::submitButton( $this->getContext()->msg( 'imgmultigo' )->text() ) . Xml::closeElement( 'form' ) . "
$thumb1\n$thumb2
" @@ -534,7 +537,7 @@ class ImagePage extends Article { // this will get messy. // The dirmark, however, must not be immediately adjacent // to the filename, because it can get copied with it. - // See bug 25277. + // See T27277. // @codingStandardsIgnoreStart Ignore long line $out->addWikiText( <<{$medialink} $dirmark$longDesc