dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
be5b074
)
revert r111225 and r111201
author
Mark A. Hershberger
<mah@users.mediawiki.org>
Mon, 13 Feb 2012 12:40:21 +0000
(12:40 +0000)
committer
Mark A. Hershberger
<mah@users.mediawiki.org>
Mon, 13 Feb 2012 12:40:21 +0000
(12:40 +0000)
includes/EditPage.php
patch
|
blob
|
history
diff --git
a/includes/EditPage.php
b/includes/EditPage.php
index
4669ad8
..
d409252
100644
(file)
--- a/
includes/EditPage.php
+++ b/
includes/EditPage.php
@@
-3037,16
+3037,12
@@
HTML
/**
* Show "your edit contains spam" page with your diff and text
*
/**
* 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 ) {
*/
public function spamPageWithContent( $match = false ) {
- global $wgOut
, $wgLang
;
+ global $wgOut;
$this->textbox2 = $this->textbox1;
$this->textbox2 = $this->textbox1;
- if( is_array( $match ) ){
- $match = $wgLang->listToText( $match );
- }
-
$wgOut->prepareErrorPage( wfMessage( 'spamprotectiontitle' ) );
$wgOut->addHTML( '<div id="spamprotected">' );
$wgOut->prepareErrorPage( wfMessage( 'spamprotectiontitle' ) );
$wgOut->addHTML( '<div id="spamprotected">' );