Proper casing for getDBkey()

This commit is contained in:
Siebrand Mazeland 2009-05-24 08:33:57 +00:00
parent 65c180bc26
commit e454269bfc
3 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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 );

View file

@ -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