From 0f897b070be77bde8aae48c03d53a8d150ca884c Mon Sep 17 00:00:00 2001 From: "Mark A. Hershberger" Date: Mon, 13 Feb 2012 12:40:21 +0000 Subject: [PATCH] revert r111225 and r111201 --- includes/EditPage.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/includes/EditPage.php b/includes/EditPage.php index 4669ad8667..d40925214d 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -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( '
' ); -- 2.20.1