Le dimanche 10 mai 2009 à 14:40 +0200, Roan Kattouw a écrit : > 2009/5/10 Colonna Francois <[email protected]>: > > Hello > > > > To export 100 pages starting at "D" I tried to use the following > > command : > > > > api.php?action=query&generator=allpages&gapfrom=D&gaplimit=100&export > > > > this has the same result as > > > > api.php?action=query&generator=allpages&gapfrom=D&gaplimit=100 > > > No it doesn't, the latter has a list of the pages *and* the export > data below it (scroll down). > > > How can I make the export command work ? > > i.e. get an Xml file similar to that obtained with Special:Export ? > > > If you want to get just the export XML, use &export&exportnowrap . > > Roan Kattouw (Catrope) >
I am sorry, but api.php?action=query&generator=allpages&gapfrom=D&gaplimit=100 api.php?action=query&generator=allpages&gapfrom=D&gaplimit=100&export api.php?action=query&generator=allpages&gapfrom=D&gaplimit=100&export&exportnowrap give exactly the same result and there is no file dumped. May be I missed to set some parameter on in LocalSettings or whatever else place ? Thanks for helping. _______________________________________________ Mediawiki-api mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
