mirror of
https://github.com/diocloid/LinkTitles.git
synced 2025-07-13 09:49:31 +02:00
Fix PHP namespace errors.
This commit is contained in:
@ -101,11 +101,11 @@ class Cli extends \Maintenance {
|
||||
|
||||
if ($this->hasOption('log'))
|
||||
{
|
||||
LinkTitles::$ltConsoleOutput = true;
|
||||
Extension::$ltConsoleOutput = true;
|
||||
}
|
||||
if ($this->hasOption('debug'))
|
||||
{
|
||||
LinkTitles::$ltConsoleOutputDebug = true;
|
||||
Extension::$ltConsoleOutputDebug = true;
|
||||
}
|
||||
|
||||
$pagename = strval($this->getOption('page'));
|
||||
@ -145,7 +145,7 @@ class Cli extends \Maintenance {
|
||||
$index += 1;
|
||||
$curTitle = \Title::makeTitleSafe( $row->page_namespace, $row->page_title);
|
||||
$this->output(
|
||||
sprintf("\rPage #%d (%02.0f%%)", $index, $index / $numPages * 100)
|
||||
sprintf("\rPage #%d (%02.0f%%) ", $index, $index / $numPages * 100)
|
||||
);
|
||||
Extension::processPage($curTitle, $context);
|
||||
}
|
||||
|
Reference in New Issue
Block a user