diff --git a/AbuseFilter.class.php b/AbuseFilter.class.php index de225a94a..de7344305 100644 --- a/AbuseFilter.class.php +++ b/AbuseFilter.class.php @@ -145,7 +145,7 @@ class AbuseFilter { $log_entries = array(); $log_template = array( 'afl_user' => $wgUser->getId(), 'afl_user_text' => $wgUser->getName(), 'afl_var_dump' => serialize( $vars ), 'afl_timestamp' => $dbr->timestamp(wfTimestampNow()), - 'afl_namespace' => $title->getNamespace(), 'afl_title' => $title->getDbKey(), 'afl_ip' => wfGetIp() ); + 'afl_namespace' => $title->getNamespace(), 'afl_title' => $title->getDBKey(), 'afl_ip' => wfGetIp() ); $doneActionsByFilter = array(); $filter_matched = array(); diff --git a/SpecialAbuseLog.php b/SpecialAbuseLog.php index 7f67e878e..5af824bb2 100644 --- a/SpecialAbuseLog.php +++ b/SpecialAbuseLog.php @@ -84,7 +84,7 @@ class SpecialAbuseLog extends SpecialPage { $searchTitle = Title::newFromText( $this->mSearchTitle ); if ($this->mSearchTitle && $searchTitle) { $conds['afl_namespace'] = $searchTitle->getNamespace(); - $conds['afl_title'] = $searchTitle->getDbKey(); + $conds['afl_title'] = $searchTitle->getDBKey(); } $pager = new AbuseLogPager( $this, $conds );