Hi,
redirect.py doesn't support any namespace filtering and you'll get a warning "unknown argument -ns" when you try it. On the other hand I didn't find any wrong broken redirects from transcluded sites. Could you give an example?
Regards xqt
----- Original Nachricht ---- Von: MarcoAurelio strigiwm@gmail.com An: pywikibot@lists.wikimedia.org Datum: 24.08.2016 21:28 Betreff: [pywikibot] redirect.py - does it support namespace exclusion?
Hello,
With global userpages, some pages appear at Special:BrokenRedirects. They seem broken, but their content is parsed from the user page at Meta-Wiki.
I wonder if redirect.py does support -ns/-namespaces or if it could be added a variable for excluding some namespaces from its operative to avoid this issues, which happen frequently to me. I'd rather not have my bot blocked for this.
Since I have no idea of how to code in python, I'm asking here, because it seems this list gets more attention than Phabricator :-)
Thank you in advance for any help. And yep, I've tried already pwb.py redirect br -family:xxx -lang:yyy -ns: and it always says that that parameter is not recognized. Maybe I did something wrong?
Best regards, M.
pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot