mirror of
https://github.com/diocloid/LinkTitles.git
synced 2025-07-13 09:49:31 +02:00
Fix namespace of \Title class in maintenance script.
- FIX: Removed a fatal bug in the LinkTitles_Maintenance script.
This commit is contained in:
@ -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)
|
||||
);
|
||||
|
Reference in New Issue
Block a user