From e899f6a5cd0197cd5e5fb5968790d6e146f9bc69 Mon Sep 17 00:00:00 2001 From: Daniel Kraus Date: Wed, 9 Nov 2016 17:08:57 +0100 Subject: [PATCH] Fix namespace of \Title class in maintenance script. - FIX: Removed a fatal bug in the LinkTitles_Maintenance script. --- LinkTitles_Maintenance.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LinkTitles_Maintenance.php b/LinkTitles_Maintenance.php index fccbf29..f38adbc 100755 --- a/LinkTitles_Maintenance.php +++ b/LinkTitles_Maintenance.php @@ -143,7 +143,7 @@ class Cli extends \Maintenance { // Iterate through the pages; break if a time limit is exceeded. foreach ( $res as $row ) { $index += 1; - $curTitle = Title::makeTitleSafe( $row->page_namespace, $row->page_title); + $curTitle = \Title::makeTitleSafe( $row->page_namespace, $row->page_title); $this->output( sprintf("\rPage #%d (%02.0f%%)", $index, $index / $numPages * 100) );