Index: trunk/phase3/includes/specials/SpecialListfiles.php |
— | — | @@ -107,15 +107,15 @@ |
108 | 108 | if ( !$this->mFieldNames ) { |
109 | 109 | global $wgMiserMode; |
110 | 110 | $this->mFieldNames = array( |
111 | | - 'img_timestamp' => wfMsg( 'listfiles_date' ), |
112 | | - 'img_name' => wfMsg( 'listfiles_name' ), |
113 | | - 'thumb' => wfMsg( 'listfiles_thumb' ), |
114 | | - 'img_size' => wfMsg( 'listfiles_size' ), |
115 | | - 'img_user_text' => wfMsg( 'listfiles_user' ), |
116 | | - 'img_description' => wfMsg( 'listfiles_description' ), |
| 111 | + 'img_timestamp' => $this->msg( 'listfiles_date' )->text(), |
| 112 | + 'img_name' => $this->msg( 'listfiles_name' )->text(), |
| 113 | + 'thumb' => $this->msg( 'listfiles_thumb' )->text(), |
| 114 | + 'img_size' => $this->msg( 'listfiles_size' )->text(), |
| 115 | + 'img_user_text' => $this->msg( 'listfiles_user' )->text(), |
| 116 | + 'img_description' => $this->msg( 'listfiles_description' )->text(), |
117 | 117 | ); |
118 | 118 | if( !$wgMiserMode ) { |
119 | | - $this->mFieldNames['count'] = wfMsg( 'listfiles_count' ); |
| 119 | + $this->mFieldNames['count'] = $this->msg( 'listfiles_count' )->text(); |
120 | 120 | } |
121 | 121 | } |
122 | 122 | return $this->mFieldNames; |
— | — | @@ -201,7 +201,7 @@ |
202 | 202 | return htmlspecialchars( $this->getLanguage()->timeanddate( $value, true ) ); |
203 | 203 | case 'img_name': |
204 | 204 | static $imgfile = null; |
205 | | - if ( $imgfile === null ) $imgfile = wfMsg( 'imgfile' ); |
| 205 | + if ( $imgfile === null ) $imgfile = $this->msg( 'imgfile' )->text(); |
206 | 206 | |
207 | 207 | // Weird files can maybe exist? Bug 22227 |
208 | 208 | $filePage = Title::makeTitleSafe( NS_FILE, $value ); |
— | — | @@ -253,7 +253,7 @@ |
254 | 254 | ) ); |
255 | 255 | return Html::openElement( 'form', |
256 | 256 | array( 'method' => 'get', 'action' => $wgScript, 'id' => 'mw-listfiles-form' ) ) . |
257 | | - Xml::fieldset( wfMsg( 'listfiles' ) ) . |
| 257 | + Xml::fieldset( $this->msg( 'listfiles' )->text() ) . |
258 | 258 | Xml::buildForm( $inputForm, 'table_pager_limit_submit' ) . |
259 | 259 | $this->getHiddenFields( array( 'limit', 'ilsearch', 'user' ) ) . |
260 | 260 | Html::closeElement( 'fieldset' ) . |