Index: trunk/extensions/ContributionReporting/ContributionHistory_body.php |
— | — | @@ -65,14 +65,14 @@ |
66 | 66 | array( |
67 | 67 | 'href' => $title->getFullURL( 'offset=' . $newer ), |
68 | 68 | ), |
69 | | - $this->msg( 'contrib-hist-previous' ) |
| 69 | + $this->chMsg( 'contrib-hist-previous' ) |
70 | 70 | ); |
71 | 71 | } |
72 | 72 | $pagingLinks[] = Xml::element( 'a', |
73 | 73 | array( |
74 | 74 | 'href' => $title->getFullURL( 'offset=' . $older ), |
75 | 75 | ), |
76 | | - $this->msg( 'contrib-hist-next' ) |
| 76 | + $this->chMsg( 'contrib-hist-next' ) |
77 | 77 | ); |
78 | 78 | $pagingDiv = Xml::openElement( 'div', |
79 | 79 | array( 'align' => 'right', 'style' => 'padding-bottom:20px' ) ) . |
— | — | @@ -82,9 +82,9 @@ |
83 | 83 | |
84 | 84 | $output .= '<table style="width: 100%">'; |
85 | 85 | $output .= '<tr>'; |
86 | | - $output .= '<th width="60%">' . $this->msg( 'contrib-hist-name' ) . '</th>'; |
87 | | - $output .= '<th width="25%">' . $this->msg( 'contrib-hist-date' ) . '</th>'; |
88 | | - $output .= '<th width="15%" align="right">' . $this->msg( 'contrib-hist-amount' ) . '</th>'; |
| 86 | + $output .= '<th width="60%">' . $this->chMsg( 'contrib-hist-name' ) . '</th>'; |
| 87 | + $output .= '<th width="25%">' . $this->chMsg( 'contrib-hist-date' ) . '</th>'; |
| 88 | + $output .= '<th width="15%" align="right">' . $this->chMsg( 'contrib-hist-amount' ) . '</th>'; |
89 | 89 | $output .= '</tr>'; |
90 | 90 | |
91 | 91 | if ( $offset == null ) { |
— | — | @@ -142,19 +142,19 @@ |
143 | 143 | |
144 | 144 | header( 'Cache-Control: max-age=300,s-maxage=300' ); |
145 | 145 | $wgOut->addWikiText( '{{2009/Donate-header/' . $language . '}}' ); |
146 | | - $wgOut->addHTML( '<h1>' . $this->msg( 'contrib-hist-header' ) . '</h1>' ); |
| 146 | + $wgOut->addHTML( '<h1>' . $this->chMsg( 'contrib-hist-header' ) . '</h1>' ); |
147 | 147 | $wgOut->addWikiText( '<strong>{{2008/Contribution history introduction/' . $language . '}}</strong>' ); |
148 | 148 | $wgOut->addHTML( $output ); |
149 | 149 | } |
150 | 150 | |
151 | | - function msg( $key ) { |
| 151 | + function chMsg( $key ) { |
152 | 152 | return wfMsgExt( $key, array( 'escape', 'language' => $this->lang ) ); |
153 | 153 | } |
154 | 154 | |
155 | 155 | function formatName( $row ) { |
156 | 156 | $name = htmlspecialchars( $row['name'] ); |
157 | 157 | if( !$name ) { |
158 | | - $name = $this->msg( 'contrib-hist-anonymous' ); |
| 158 | + $name = $this->chMsg( 'contrib-hist-anonymous' ); |
159 | 159 | } |
160 | 160 | $name = '<strong>' . $name . '</strong>'; |
161 | 161 | |