Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -3037,16 +3037,12 @@ |
3038 | 3038 | /** |
3039 | 3039 | * Show "your edit contains spam" page with your diff and text |
3040 | 3040 | * |
3041 | | - * @param $match array|string|bool Text (or array of texts) which triggered one or more filters |
| 3041 | + * @param $match string|bool Text which triggered one or more filters |
3042 | 3042 | */ |
3043 | 3043 | public function spamPageWithContent( $match = false ) { |
3044 | | - global $wgOut, $wgLang; |
| 3044 | + global $wgOut; |
3045 | 3045 | $this->textbox2 = $this->textbox1; |
3046 | 3046 | |
3047 | | - if( is_array( $match ) ){ |
3048 | | - $match = $wgLang->listToText( $match ); |
3049 | | - } |
3050 | | - |
3051 | 3047 | $wgOut->prepareErrorPage( wfMessage( 'spamprotectiontitle' ) ); |
3052 | 3048 | |
3053 | 3049 | $wgOut->addHTML( '<div id="spamprotected">' ); |