>>>>> "ND" == Nicolas Dumazet <[email protected]> writes:
ND> There's no efficient way to write such a SQL query.
First I admit I don't even know how to spell "SQL", but
working on how to export all or several namespaces with one
API query, wouldn't
SELECT page_id FROM page; or
SELECT page_id FROM page WHERE page_namespace IN (1,2,3);
be efficient at the core of generators?
Ordering isn't important for our exports.
They would be called by something like
$ GET api.php?...&xxexport&xxexportns=all #or 1,2,3 > file.sql

_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to