nodemw
nodemw copied to clipboard
Allow to enumerate/include redirects
E.g., apfilterredir
in getPagesInNamespace
and getAllPages
(Allpages
).
For example, getAllPagesInNamespace
with all
and getRedirectsInNamespace
with redirects
.
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.