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:
f76a3fc
)
match spam against this-\>textbox1
author
Gabriel Wicke
<gwicke@users.mediawiki.org>
Thu, 20 May 2004 19:45:45 +0000
(19:45 +0000)
committer
Gabriel Wicke
<gwicke@users.mediawiki.org>
Thu, 20 May 2004 19:45:45 +0000
(19:45 +0000)
includes/EditPage.php
patch
|
blob
|
history
diff --git
a/includes/EditPage.php
b/includes/EditPage.php
index
e75b922
..
d359255
100644
(file)
--- a/
includes/EditPage.php
+++ b/
includes/EditPage.php
@@
-130,7
+130,7
@@
class EditPage {
if ( "save" == $formtype ) {
# Check for spam
- if (
$wgSpamRegex && preg_match( $wgSpamRegex, $wpT
extbox1 ) ) {
+ if (
preg_match( $wgSpamRegex, $this->t
extbox1 ) ) {
sleep(10);
$wgOut->redirect( $this->mTitle->getFullURL() );
return;