Skip to content

Commit 6ac383c

Browse files
committed
Include redirects by default
Change-Id: I4514cad16d293dc0f92d38a9df9cf4a861d59cef
1 parent 533d1f0 commit 6ac383c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/htmldump.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function getArticles (options, res) {
2929
}
3030
var next = res.next || '';
3131

32-
var url = options.apiURL + '?action=query&generator=allpages&gapfilterredir=nonredirects'
32+
var url = options.apiURL + '?action=query&generator=allpages'
3333
+ '&gaplimit=500&prop=revisions&gapnamespace='
3434
+ options.ns + '&format=json&gapcontinue=' + encodeURIComponent( next );
3535
//console.log(url);

0 commit comments

Comments
 (0)