mirror of
https://github.com/diocloid/LinkTitles.git
synced 2025-07-13 01:39:30 +02:00
Fix CLI script to work with namespaces.
This commit is contained in:
@ -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 ) {
|
||||
|
Reference in New Issue
Block a user