Index: trunk/phase3/skins/common/commonPrint.css |
— | — | @@ -128,7 +128,8 @@ |
129 | 129 | li#privacy, |
130 | 130 | #footer-places, |
131 | 131 | .mw-hidden-catlinks, |
132 | | -tr.mw-metadata-show-hide-extended { |
| 132 | +tr.mw-metadata-show-hide-extended, |
| 133 | +span.mw-filepage-other-resolutions { |
133 | 134 | /* Hides all the elements irrelevant for printing */ |
134 | 135 | display: none; |
135 | 136 | } |
Index: trunk/phase3/skins/common/shared.css |
— | — | @@ -156,6 +156,14 @@ |
157 | 157 | } |
158 | 158 | |
159 | 159 | /** |
| 160 | + * File description page |
| 161 | + */ |
| 162 | + |
| 163 | +div.mw-filepage-resolutioninfo { |
| 164 | + font-size: smaller; |
| 165 | +} |
| 166 | + |
| 167 | +/** |
160 | 168 | * File histories |
161 | 169 | */ |
162 | 170 | h2#filehistory { |
Index: trunk/phase3/includes/ImagePage.php |
— | — | @@ -323,11 +323,13 @@ |
324 | 324 | $msgsmall = wfMessage( 'show-big-image-preview' )-> |
325 | 325 | rawParams( $this->makeSizeLink( $params, $width, $height ) )-> |
326 | 326 | parse() . ' ' . |
327 | | - wfMessage( 'show-big-image-other' )-> |
328 | | - rawParams( $wgLang->pipeList( $otherSizes ) )->parse(); |
| 327 | + Html::rawElement( 'span', array( 'class' => 'mw-filepage-other-resolutions' ), |
| 328 | + wfMessage( 'show-big-image-other' )-> |
| 329 | + rawParams( $wgLang->pipeList( $otherSizes ), count( $otherSizes ) )->parse() |
| 330 | + ); |
329 | 331 | } else { |
330 | 332 | # Image is small enough to show full size on image page |
331 | | - $msgsmall = wfMsgExt( 'file-nohires', array( 'parseinline' ) ); |
| 333 | + $msgsmall = wfMessage( 'file-nohires' )->parse(); |
332 | 334 | } |
333 | 335 | |
334 | 336 | $params['width'] = $width; |
— | — | @@ -335,7 +337,7 @@ |
336 | 338 | $thumbnail = $this->displayImg->transform( $params ); |
337 | 339 | |
338 | 340 | $showLink = true; |
339 | | - $anchorclose = '<br />' . $msgsmall; |
| 341 | + $anchorclose = Html::rawElement( 'div', array( 'class' => 'mw-filepage-resolutioninfo' ), $msgsmall ); |
340 | 342 | |
341 | 343 | $isMulti = $this->displayImg->isMultipage() && $this->displayImg->pageCount() > 1; |
342 | 344 | if ( $isMulti ) { |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -3650,11 +3650,11 @@ |
3651 | 3651 | 'file-info' => 'file size: $1, MIME type: $2', |
3652 | 3652 | 'file-info-size' => '$1 × $2 pixels, file size: $3, MIME type: $4', |
3653 | 3653 | 'file-info-size-pages' => '$1 × $2 pixels, file size: $3, MIME type: $4, $5 {{PLURAL:$5|page|pages}}', |
3654 | | -'file-nohires' => '<small>No higher resolution available.</small>', |
| 3654 | +'file-nohires' => 'No higher resolution available.', |
3655 | 3655 | 'svg-long-desc' => 'SVG file, nominally $1 × $2 pixels, file size: $3', |
3656 | 3656 | 'show-big-image' => 'Full resolution', |
3657 | | -'show-big-image-preview' => '<small>Size of this preview: $1.</small>', |
3658 | | -'show-big-image-other' => '<small>Other resolutions: $1.</small>', |
| 3657 | +'show-big-image-preview' => 'Size of this preview: $1.', |
| 3658 | +'show-big-image-other' => 'Other {{PLURAL:$2|resolution|resolutions}}: $1.', |
3659 | 3659 | 'show-big-image-size' => '$1 × $2 pixels', |
3660 | 3660 | 'file-info-gif-looped' => 'looped', |
3661 | 3661 | 'file-info-gif-frames' => '$1 {{PLURAL:$1|frame|frames}}', |