Follow-up r79964: Use the existing message 'parentheses' instead of introducing an...
authorRaimond Spekking <raymond@users.mediawiki.org>
Tue, 11 Jan 2011 07:37:42 +0000 (07:37 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Tue, 11 Jan 2011 07:37:42 +0000 (07:37 +0000)
includes/ImagePage.php
includes/specials/SpecialSearch.php
languages/messages/MessagesEn.php
languages/messages/MessagesQqq.php
maintenance/language/messages.inc

index 7c127d1..bfae00b 100644 (file)
@@ -330,7 +330,7 @@ class ImagePage extends Article {
                        $height_orig = $this->displayImg->getHeight( $page );
                        $height = $height_orig;
 
-                       $longDesc = wfMsgExt( 'file-info-wrapper', 'parseinline', $this->displayImg->getLongDesc() );
+                       $longDesc = wfMsgExt( 'parentheses', 'parseinline', $this->displayImg->getLongDesc() );
 
                        wfRunHooks( 'ImageOpenShowImageInlineBefore', array( &$this, &$wgOut ) );
 
index 7f5b7f1..64394b6 100644 (file)
@@ -594,7 +594,7 @@ class SpecialSearch extends SpecialPage {
                        if( $img ) {
                                $thumb = $img->transform( array( 'width' => 120, 'height' => 120 ) );
                                if( $thumb ) {
-                                       $desc = wfMsgExt( 'file-info-wrapper', 'parseinline', $img->getShortDesc() );
+                                       $desc = wfMsgExt( 'parentheses', 'parseinline', $img->getShortDesc() );
                                        wfProfileOut( __METHOD__ );
                                        // Float doesn't seem to interact well with the bullets.
                                        // Table messes up vertical alignment of the bullets.
index dd6f7c1..a60a26c 100644 (file)
@@ -3604,7 +3604,6 @@ By executing it, your system may be compromised.",
 'widthheightpage'      => '$1×$2, $3 {{PLURAL:$3|page|pages}}',
 'file-info'            => 'file size: $1, MIME type: $2',
 'file-info-size'       => '$1 × $2 pixels, file size: $3, MIME type: $4',
-'file-info-wrapper'    => '($1)',
 'file-nohires'         => '<small>No higher resolution available.</small>',
 'svg-long-desc'        => 'SVG file, nominally $1 × $2 pixels, file size: $3',
 'show-big-image'       => 'Full resolution',
index 9dffc46..a82be33 100644 (file)
@@ -3059,7 +3059,6 @@ The message appears after the name of the patroller.',
 'widthheightpage'      => 'This message is used on image pages in the dimensions column in the file history section for images  with more than one page. Parameter $1 is the image width (in pixels), parameter $2 is the image height, and parameter $3 is the number of pages.',
 'file-info'            => 'File info displayed on file description page.',
 'file-info-size'       => 'File info displayed on file description page.',
-'file-info-wrapper'    => 'Surrounds file info descriptions',
 'file-nohires'         => 'File info displayed on file description page. For example of message in use see [[:File:Mouse10.gif]].',
 'svg-long-desc'        => 'Displayed under an SVG image at the image description page. Note that argument 3 is a string that includes the file size unit symbol. See for example [[:File:Yes check.svg]].',
 'show-big-image'       => 'Displayed under an image at the image description page, when it is displayed smaller there than it was uploaded.',
index 30a8996..e7d891a 100644 (file)
@@ -2560,7 +2560,6 @@ $wgMessageStructure = array(
                'widthheightpage',
                'file-info',
                'file-info-size',
-               'file-info-wrapper',
                'file-nohires',
                'svg-long-desc',
                'show-big-image',