Index: trunk/extensions/ReplaceText/SpecialReplaceText.php |
— | — | @@ -168,13 +168,19 @@ |
169 | 169 | $res = $this->doSearchQuery( $this->replacement, $this->selected_namespaces, $this->category, $this->prefix ); |
170 | 170 | $count = $res->numRows(); |
171 | 171 | if ( $count > 0 ) { |
172 | | - $warning_msg = wfMsg( 'replacetext_warning', $wgLang->formatNum( $count ), "<tt><nowiki>{$this->replacement}</nowiki></tt>" ); |
| 172 | + $warning_msg = wfMsgExt( 'replacetext_warning', 'parsemag', |
| 173 | + $wgLang->formatNum( $count ), |
| 174 | + "<tt><nowiki>{$this->replacement}</nowiki></tt>" |
| 175 | + ); |
173 | 176 | } |
174 | 177 | } elseif ( count( $titles_for_move ) > 0 ) { |
175 | 178 | $res = $this->getMatchingTitles( $this->replacement, $this->selected_namespaces, $this->category, $this->prefix ); |
176 | 179 | $count = $res->numRows(); |
177 | 180 | if ( $count > 0 ) { |
178 | | - $warning_msg = wfMsg( 'replacetext_warning', $wgLang->formatNum( $count ), $this->replacement ); |
| 181 | + $warning_msg = wfMsgExt( 'replacetext_warning', 'parsemag', |
| 182 | + $wgLang->formatNum( $count ), |
| 183 | + $this->replacement |
| 184 | + ); |
179 | 185 | } |
180 | 186 | } |
181 | 187 | |