r111361 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111360‎ | r111361 | r111362 >
Date:12:40, 13 February 2012
Author:mah
Status:ok
Tags:
Comment:
revert r111225 and r111201
Modified paths:
  • /trunk/phase3/includes/EditPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/EditPage.php
@@ -3037,16 +3037,12 @@
30383038 /**
30393039 * Show "your edit contains spam" page with your diff and text
30403040 *
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
30423042 */
30433043 public function spamPageWithContent( $match = false ) {
3044 - global $wgOut, $wgLang;
 3044+ global $wgOut;
30453045 $this->textbox2 = $this->textbox1;
30463046
3047 - if( is_array( $match ) ){
3048 - $match = $wgLang->listToText( $match );
3049 - }
3050 -
30513047 $wgOut->prepareErrorPage( wfMessage( 'spamprotectiontitle' ) );
30523048
30533049 $wgOut->addHTML( '<div id="spamprotected">' );

Sign-offs

UserFlagDate
Nikerabbitinspected12:50, 13 February 2012

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r111201part 1 of fix for Bug 30332 - API spamblocklist error should provide *all* bl...mah21:13, 10 February 2012
r111225ugh, missed this global varmah01:43, 11 February 2012

Status & tagging log