Index: trunk/phase3/includes/specials/SpecialFileDuplicateSearch.php |
— | — | @@ -108,9 +108,9 @@ |
109 | 109 | Xml::openElement( 'form', array( 'id' => 'fileduplicatesearch', 'method' => 'get', 'action' => $wgScript ) ) . |
110 | 110 | Html::hidden( 'title', $this->getTitle()->getPrefixedDbKey() ) . |
111 | 111 | Xml::openElement( 'fieldset' ) . |
112 | | - Xml::element( 'legend', null, wfMsg( 'fileduplicatesearch-legend' ) ) . |
113 | | - Xml::inputLabel( wfMsg( 'fileduplicatesearch-filename' ), 'filename', 'filename', 50, $this->filename ) . ' ' . |
114 | | - Xml::submitButton( wfMsg( 'fileduplicatesearch-submit' ) ) . |
| 112 | + Xml::element( 'legend', null, $this->msg( 'fileduplicatesearch-legend' )->text() ) . |
| 113 | + Xml::inputLabel( $this->msg( 'fileduplicatesearch-filename' )->text(), 'filename', 'filename', 50, $this->filename ) . ' ' . |
| 114 | + Xml::submitButton( $this->msg( 'fileduplicatesearch-submit' )->text() ) . |
115 | 115 | Xml::closeElement( 'fieldset' ) . |
116 | 116 | Xml::closeElement( 'form' ) |
117 | 117 | ); |
— | — | @@ -132,12 +132,10 @@ |
133 | 133 | if( $thumb ) { |
134 | 134 | $out->addHTML( '<div id="mw-fileduplicatesearch-icon">' . |
135 | 135 | $thumb->toHtml( array( 'desc-link' => false ) ) . '<br />' . |
136 | | - wfMsgExt( 'fileduplicatesearch-info', array( 'parse' ), |
137 | | - $this->getLanguage()->formatNum( $img->getWidth() ), |
138 | | - $this->getLanguage()->formatNum( $img->getHeight() ), |
| 136 | + $this->msg( 'fileduplicatesearch-info' )->numParams( |
| 137 | + $img->getWidth(), $img->getHeight() )->params( |
139 | 138 | $this->getLanguage()->formatSize( $img->getSize() ), |
140 | | - $img->getMimeType() |
141 | | - ) . |
| 139 | + $img->getMimeType() )->parseAsBlock() . |
142 | 140 | '</div>' ); |
143 | 141 | } |
144 | 142 | } |
— | — | @@ -181,7 +179,7 @@ |
182 | 180 | |
183 | 181 | $userText = $result->getUser( 'text' ); |
184 | 182 | $user = Linker::link( Title::makeTitle( NS_USER, $userText ), $userText ); |
185 | | - $time = $this->getLanguage()->timeanddate( $result->getTimestamp() ); |
| 183 | + $time = $this->getLanguage()->userTimeAndDate( $result->getTimestamp(), $this->getUser() ); |
186 | 184 | |
187 | 185 | return "$plink . . $user . . $time"; |
188 | 186 | } |