summaryrefslogtreecommitdiff
path: root/maintenance/cleanupTitles.php
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/cleanupTitles.php')
-rw-r--r--maintenance/cleanupTitles.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/maintenance/cleanupTitles.php b/maintenance/cleanupTitles.php
index 0ec57d4e..1f06b165 100644
--- a/maintenance/cleanupTitles.php
+++ b/maintenance/cleanupTitles.php
@@ -79,7 +79,7 @@ class TitleCleanup extends TableCleanup {
$title = Title::newFromText( $clean );
}
- $dest = $title->getDbKey();
+ $dest = $title->getDBkey();
if( $this->dryrun ) {
$this->log( "DRY RUN: would rename $row->page_id ($row->page_namespace,'$row->page_title') to ($row->page_namespace,'$dest')" );
} else {
@@ -97,7 +97,7 @@ class TitleCleanup extends TableCleanup {
if( $title->getInterwiki() ) {
$prior = $title->getPrefixedDbKey();
} else {
- $prior = $title->getDbKey();
+ $prior = $title->getDBkey();
}
$clean = 'Broken/' . $prior;
$verified = Title::makeTitleSafe( $row->page_namespace, $clean );
@@ -112,7 +112,7 @@ class TitleCleanup extends TableCleanup {
wfDie( "Something awry; empty title.\n" );
}
$ns = $title->getNamespace();
- $dest = $title->getDbKey();
+ $dest = $title->getDBkey();
if( $this->dryrun ) {
$this->log( "DRY RUN: would rename $row->page_id ($row->page_namespace,'$row->page_title') to ($row->page_namespace,'$dest')" );
} else {