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.
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
(Replying again, but to the whole list)
Hi xqt,
Here https://ast.wiktionary.org/wiki/Especial:RedireccionesRotas is an example. Those users were renamed, so they have user page redirects. The user pages of the new username are displayed via GlobalUserpage. In theory the page does not exist locally, so the system list it in Special:BrokenRedirects; but the page do exist indeed, and bots edit it https://es.wikipedia.org/?diff=93129785.
Maybe we should fix Special:Double/Brokenredirects instead?
Best regards, M.
(PS.: I've reported https://phabricator.wikimedia.org/T144048)
2016-08-25 17:41 GMT+02:00 info@gno.de:
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