git/contrib/mw-to-git
Benoit Person 1d905f74fd git-remote-mediawiki: bugfix for pages w/ >500 revisions
Mediawiki introduces a new API for queries w/ more than 500 results in
version 1.21. That change triggered an infinite loop while cloning a
mediawiki with such a page.

The latest API renamed and moved the "continuing" information in the
response, necessary to build the next query. The code failed to retrieve
that information but still detected that it was in a "continuing
query". As a result, it launched the same query over and over again.

If a "continuing" information is detected in the response (old or new),
the next query is updated accordingly. If not, we quit assuming it's not
a continuing query.

Reported-by: Benjamin Cathey
Signed-off-by: Benoit Person <benoit.person@gmail.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2013-09-24 12:42:21 -07:00
..
bin-wrapper git-remote-mediawiki: add a git bin-wrapper for developement 2013-07-08 08:55:53 -07:00
Git git-remote-mediawiki: add preview subcommand into git mw 2013-07-08 08:56:14 -07:00
t git-remote-mediawiki: bugfix for pages w/ >500 revisions 2013-09-24 12:42:21 -07:00
.gitignore git-remote-mediawiki: ignore generated git-mw 2013-08-13 09:52:22 -07:00
.perlcriticrc git-remote-mediawiki: add a .perlcriticrc file 2013-06-14 09:02:18 -07:00
git-mw.perl git-remote-mediawiki: add preview subcommand into git mw 2013-07-08 08:56:14 -07:00
git-remote-mediawiki.perl git-remote-mediawiki: bugfix for pages w/ >500 revisions 2013-09-24 12:42:21 -07:00
git-remote-mediawiki.txt git-remote-mediawiki: new wiki URL in documentation 2013-04-04 09:54:38 -07:00
Makefile git-remote-mediawiki: add git-mw command 2013-07-08 08:56:08 -07:00