summaryrefslogtreecommitdiff
path: root/maintenance/cleanupImages.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2008-03-21 11:49:34 +0100
committerPierre Schmitz <pierre@archlinux.de>2008-03-21 11:49:34 +0100
commit086ae52d12011746a75f5588e877347bc0457352 (patch)
treee73263c7a29d0f94fafb874562610e16eb292ba8 /maintenance/cleanupImages.php
parent749e7fb2bae7bbda855de3c9e319435b9f698ff7 (diff)
Update auf MediaWiki 1.12.0
Diffstat (limited to 'maintenance/cleanupImages.php')
-rw-r--r--maintenance/cleanupImages.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/maintenance/cleanupImages.php b/maintenance/cleanupImages.php
index 1c0edeb5..d6ed5a7a 100644
--- a/maintenance/cleanupImages.php
+++ b/maintenance/cleanupImages.php
@@ -66,8 +66,8 @@ class ImageCleanup extends TableCleanup {
return $this->progress( 1 );
}
- if( $title->getDbKey() !== $source ) {
- $munged = $title->getDbKey();
+ if( $title->getDBkey() !== $source ) {
+ $munged = $title->getDBkey();
$this->log( "page $source ($munged) doesn't match self." );
$this->pokeFile( $source, $munged );
return $this->progress( 1 );
@@ -154,7 +154,7 @@ class ImageCleanup extends TableCleanup {
$name );
$test = Title::makeTitleSafe( NS_IMAGE, $x );
- if( is_null( $test ) || $test->getDbKey() !== $x ) {
+ if( is_null( $test ) || $test->getDBkey() !== $x ) {
$this->log( "Unable to generate safe title from '$name', got '$x'" );
return false;
}