Subject: | Problem with embeddedin for template |
Date: | Tue, 13 Jan 2009 12:02:17 +0000 |
To: | bug-mediawiki-api <bug-mediawiki-api [...] rt.cpan.org> |
From: | Dan Bolser <dan.bolser [...] gmail.com> |
## In this case we query for all pages using a certain template...
my $articles =
$mw->list( { action => 'query',
list => 'embeddedin',
eititle => 'Template:EntryPoint',
#einamespace => '0',
#eifilterredir => 'nonredirects',
#eilimit => 'max'
} );
print $articles, "\n"; exit;
The above code gives the following error on my site:
Not an ARRAY reference at
/local/Scratch/dbolser/perl5/lib/perl5/MediaWiki/API.pm line 558.