Open gakada opened 7 years ago
Another thing about redirects is noredirect
in move
.
So the idea here is that .getAllPages will support whether to include, exclude, or include only redirects? This is good as it currently only allows excluding, annoying.
There is a more general problem, all functions have hard-coded params
(with only upload
having extraParams
), so one can find many issues, like this one, or https://github.com/macbre/nodemw/issues/133, or not being able to query sha1
(in revisions and image info), etc.
E.g.,
apfilterredir
ingetPagesInNamespace
andgetAllPages
(Allpages
).For example,
getAllPagesInNamespace
withall
andgetRedirectsInNamespace
withredirects
.