Subject: | get_pages_in_namespace gets maximum 500 names in present wikipedia |
Date: | Tue, 22 Mar 2011 22:25:27 +0100 |
To: | bug-MediaWiki-Bot [...] rt.cpan.org |
From: | eleonora45 <eleonora45 [...] gmx.net> |
Hi,
get_pages_in_namespace gets maximum 500 names in present wikipedia,
highlimits does not work
--------------------------------------------------------------------
#!/usr/bin/perl
use MediaWiki::Bot;
use strict;
my $mw = MediaWiki::Bot->new();
$mw->set_wiki("hu.wikipedia.org", "w");
$mw->set_highlimits(100000);
my @pages;
@pages = $mw->get_pages_in_namespace(6, 100000);
my $pn = @pages;
for(my $i = 0; $i < $pn; $i++){
print "$i page:'$pages[$i]'\n";
}
-----------------------------------------------------------------------------------
If I set highlimit to 600, I also get only 500 file names.
MediaWiki::Bot Module Version: 3.2.7, freshly installed on linux debian,
mint 9.0.
What do you think?
Thanks, eleonora