Fix CLI script to work with namespaces.

This commit is contained in:
Daniel Kraus
2017-08-31 21:24:23 +02:00
parent 85e09b8f5d
commit a461e19433
3 changed files with 3 additions and 3 deletions

View File

@ -76,7 +76,7 @@ class Extension {
public static function processPage( \Title $title, \RequestContext $context ) {
$config = new Config();
$source = Source::createFromTitle( $title, $config );
if ( $source->hasContent ) {
if ( $source->hasContent() ) {
$linker = new Linker( $config );
$result = $linker->linkContent( $source );
if ( $result ) {