function getDimensionsString( $file ) {
global $wgLang;
$pages = $file->pageCount();
+ $width = $wgLang->formatNum( $file->getWidth() );
+ $height = $wgLang->formatNum( $file->getHeight() );
+ $pagesFmt = $wgLang->formatNum( $pages )
+
if ( $pages > 1 ) {
- return wfMsg( 'widthheightpage', $wgLang->formatNum( $file->getWidth() ), $wgLang->formatNum( $file->getHeight() ), $wgLang->formatNum( $pages ) );
+ return wfMsgExt( 'widthheightpage', 'parsemag', $width, $height, $pagesFmt );
} else {
- return wfMsg( 'widthheight', $wgLang->formatNum( $file->getWidth() ), $wgLang->formatNum( $file->getHeight() ) );
+ return wfMsg( 'widthheight', $width, $height );
}
}
}
'right-autoconfirmed' => 'Edit semi-protected pages',
'right-bot' => 'Be treated as an automated process',
'right-nominornewtalk' => 'Not have minor edits to discussion pages trigger the new messages prompt',
-'right-apihighlimits' => 'Use API high limits',
+'right-apihighlimits' => 'Use higher limits in API queries',
'right-delete' => 'Delete pages',
'right-bigdelete' => 'Delete pages with large histories',
'right-deleterevision' => 'Delete and undelete specific revisions of pages',
'redirectstofile' => 'The following files redirect to this file:',
'sharedupload' => 'This file is a shared upload and may be used by other projects.',
'shareduploadwiki' => 'Please see the $1 for further information.',
-'shareduploadwiki-desc' => 'The description on its $1 there is shown below.',
+'shareduploadwiki-desc' => 'The description on its $1 on the shared repository is shown below.',
'shareduploadwiki-linktext' => 'file description page',
'shareddescriptionfollows' => '-', # do not translate or duplicate this message to other languages
'shareduploadduplicate' => 'This file is a duplicate of $1 from shared repository.',
'imagemaxsize' => 'Limit images on file description pages to:',
'thumbsize' => 'Thumbnail size:',
'widthheight' => '$1×$2', # only translate this message to other languages if you have to change it
-'widthheightpage' => '$1×$2, $3 pages',
+'widthheightpage' => '$1×$2, $3 {{PLURAL:$3|page|pages}}',
'file-info' => '(file size: $1, MIME type: $2)',
'file-info-size' => '($1 × $2 pixel, file size: $3, MIME type: $4)',
'file-nohires' => '<small>No higher resolution available.</small>',