Page MenuHomePhabricator

Special:Export does not offer history for large article as the exported XML file is larger than the server can handle (PHP fatal error: request has exceeded memory limit).
Closed, DeclinedPublic

Description

Event Timeline

TTO subscribed.

This happens because the full history of the India article is massive, and the exported XML file is larger than the server can handle (PHP fatal error: request has exceeded memory limit).

If you require the entire history, the API might be a better way to go. This query will give you the first 50 revisions of the "India" article: https://en.wikipedia.org/w/api.php?action=query&format=json&prop=revisions&titles=India&rvprop=user|comment|timestamp|content&rvlimit=50 And you can use the rvcontinue parameter to get the rest of the revisions.

See https://www.mediawiki.org/wiki/API:Main_page#A_simple_example for more API documentation.

I don't really think there is much we can do to fix this issue as far as Export is concerned, so I'm marking it "Declined".

Aklapper renamed this task from Issue with special:export to Special:Export does not offer history for large article as the exported XML file is larger than the server can handle (PHP fatal error: request has exceeded memory limit)..Jun 13 2017, 8:59 AM