Re: [Mediawiki-api] Need some help in a simple exportscript

2010-04-14 Thread Roan Kattouw
2010/4/12 Claes Lindvall : > But if I run it from my webbrowser I get the result: > > api.php?action=query&generator=categories&titles=Page1 > > > > > > > > > > > The Script: > use MediaWiki::API; > binmode STDOUT, ':utf8'; > my $mw = MediaWiki::API->new(); > $mw->{config}

[Mediawiki-api] Need some help in a simple exportscript

2010-04-12 Thread Claes Lindvall
Hi I admit I'm not the sharpest perlprogrammer in the world, so I need some help here. I'm trying to automate some things and I want to use MediaWiki::API. My final goal is to write an exportscript that export all pages in some categories and then an importscript that import the xml-file on