mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-27 23:40:19 +00:00
Proper casing for getDBkey()
This commit is contained in:
parent
65c180bc26
commit
e454269bfc
|
@ -695,7 +695,7 @@ class AbuseFilter {
|
|||
'afl_user_text' => $wgUser->getName(),
|
||||
'afl_timestamp' => $dbr->timestamp(wfTimestampNow()),
|
||||
'afl_namespace' => $title->getNamespace(),
|
||||
'afl_title' => $title->getDBKey(),
|
||||
'afl_title' => $title->getDBkey(),
|
||||
'afl_ip' => wfGetIp() );
|
||||
|
||||
// Hack to avoid revealing IPs of people creating accounts
|
||||
|
|
|
@ -109,7 +109,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 );
|
||||
|
|
|
@ -96,7 +96,7 @@ class AbuseFilterViewTestBatch extends AbuseFilterView {
|
|||
if ($this->mTestPage) {
|
||||
$title = Title::newFromText( $this->mTestPage );
|
||||
$conds['rc_namespace'] = $title->getNamespace();
|
||||
$conds['rc_title'] = $title->getDBKey();
|
||||
$conds['rc_title'] = $title->getDBkey();
|
||||
}
|
||||
|
||||
// Get our ChangesList
|
||||
|
|
Loading…
Reference in a new issue