Mattflaschen has uploaded a new change for review.
https://gerrit.wikimedia.org/r/302856
Change subject: SpamFilter: Fix implicit conversion to string (causes a warning)
......................................................................
SpamFilter: Fix implicit conversion to string (causes a warning)
Change-Id: I59215e04f335215f0097d9930df397ba6b813c92
---
M includes/SpamFilter/Controller.php
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow
refs/changes/56/302856/1
diff --git a/includes/SpamFilter/Controller.php
b/includes/SpamFilter/Controller.php
index 9b8b142..fe40c9a 100644
--- a/includes/SpamFilter/Controller.php
+++ b/includes/SpamFilter/Controller.php
@@ -49,8 +49,8 @@
// no need to go through other filters when invalid
data is discovered
if ( !$status->isOK() ) {
$titleString = $title->getPrefixedDBkey();
- $oldRevid = ( $oldRevision !== null ) ?
$oldRevision->getRevisionId() : 'None';
- $newRevid = $newRevision->getRevisionId();
+ $oldRevid = ( $oldRevision !== null ) ?
$oldRevision->getRevisionId()->getAlphadecimal() : 'None';
+ $newRevid =
$newRevision->getRevisionId()->getAlphadecimal();
$klass = get_class( $spamfilter );
wfDebugLog( 'Flow', __METHOD__ . ": Spam filter
failed on '" . $titleString . "'. Old revid: $oldRevid. New revid: $newRevid.
Filter: $klass" );
return $status;
--
To view, visit https://gerrit.wikimedia.org/r/302856
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I59215e04f335215f0097d9930df397ba6b813c92
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Mattflaschen <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits