Index: trunk/extensions/ContributionTracking/ContributionTracking_body.php |
— | — | @@ -79,7 +79,7 @@ |
80 | 80 | $repost = ContributionTrackingProcessor::getRepostFields( $params ); |
81 | 81 | |
82 | 82 | #$wgOut->addWikiText( "{{2009/Donate-banner/$language}}" ); |
83 | | - $wgOut->addHTML( $this->msgWiki( 'contrib-tracking-submitting' ) ); |
| 83 | + $wgOut->addHTML( $this->ct_msgWiki( 'contrib-tracking-submitting' ) ); |
84 | 84 | |
85 | 85 | // Output the repost form |
86 | 86 | $output = '<form method="post" name="contributiontracking" action="' . $repost['action'] . '">'; |
— | — | @@ -88,12 +88,12 @@ |
89 | 89 | $output .= '<input type="hidden" name="' . htmlspecialchars( $key ) . '" value="' . htmlspecialchars( $value ) . '" />'; |
90 | 90 | } |
91 | 91 | |
92 | | - $output .= $this->msgWiki( 'contrib-tracking-redirect' ); |
| 92 | + $output .= $this->ct_msgWiki( 'contrib-tracking-redirect' ); |
93 | 93 | |
94 | 94 | // Offer a button to post the form if the user has no Javascript support |
95 | 95 | $output .= '<noscript>'; |
96 | | - $output .= $this->msgWiki( 'contrib-tracking-continue' ); |
97 | | - $output .= '<input type="submit" value="' . $this->msg( 'contrib-tracking-button' ) . '" />'; |
| 96 | + $output .= $this->ct_msgWiki( 'contrib-tracking-continue' ); |
| 97 | + $output .= '<input type="submit" value="' . $this->ct_msg( 'contrib-tracking-button' ) . '" />'; |
98 | 98 | $output .= '</noscript>'; |
99 | 99 | |
100 | 100 | $output .= '</form>'; |
— | — | @@ -104,11 +104,11 @@ |
105 | 105 | $wgOut->addHTML( '<script type="text/javascript">document.contributiontracking.submit();</script>' ); |
106 | 106 | } |
107 | 107 | |
108 | | - function msg() { |
| 108 | + function ct_msg() { |
109 | 109 | return wfMsgExt( func_get_arg( 0 ), array( 'escape', 'language' => $this->lang ) ); |
110 | 110 | } |
111 | 111 | |
112 | | - function msgWiki( $key ) { |
| 112 | + function ct_msgWiki( $key ) { |
113 | 113 | return wfMsgExt( $key, array( 'parse', 'language' => $this->lang ) ); |
114 | 114 | } |
115 | 115 | |