revert r111225 and r111201
authorMark A. Hershberger <mah@users.mediawiki.org>
Mon, 13 Feb 2012 12:40:21 +0000 (12:40 +0000)
committerMark A. Hershberger <mah@users.mediawiki.org>
Mon, 13 Feb 2012 12:40:21 +0000 (12:40 +0000)
includes/EditPage.php

index 4669ad8..d409252 100644 (file)
@@ -3037,16 +3037,12 @@ HTML
        /**
         * Show "your edit contains spam" page with your diff and text
         *
-        * @param $match array|string|bool Text (or array of texts) which triggered one or more filters
+        * @param $match string|bool Text which triggered one or more filters
         */
        public function spamPageWithContent( $match = false ) {
-               global $wgOut, $wgLang;
+               global $wgOut;
                $this->textbox2 = $this->textbox1;
 
-               if( is_array( $match ) ){
-                       $match = $wgLang->listToText( $match );
-               }
-
                $wgOut->prepareErrorPage( wfMessage( 'spamprotectiontitle' ) );
 
                $wgOut->addHTML( '<div id="spamprotected">' );