As part of my wikidot porting, I fear I'm going to end up with a lot of unnecessary redirects, pages who's purpose has gone with the tidy up of the database I need to perform to handle case sensitivity.
Is there a simple way of selecting all orphaned pages that are redirects and deleting them? The Special:LonelyPages seems to exclude redirects. I've installed Special:UnusedRedirects, would running
delete.py -links Special:UnusedRedirects
be the way to go?
John
Hi John,
I don't know this extension, but you have an idea, so why not trying and testing it? Otherwise, it needs a little bit of programming. It is worth to get know pagegenerators.py. RedirectFilterPageGenerator with AllpagesPageGenerator and a namespece filter would do, combined with PagegetRedirectTarget().
John Bray johnbray822@gmail.com ezt írta (időpont: 2019. jan. 26., Szo, 21:48):
As part of my wikidot porting, I fear I'm going to end up with a lot of unnecessary redirects, pages who's purpose has gone with the tidy up of the database I need to perform to handle case sensitivity.
Is there a simple way of selecting all orphaned pages that are redirects and deleting them? The Special:LonelyPages seems to exclude redirects. I've installed Special:UnusedRedirects, would running
delete.py -links Special:UnusedRedirects
be the way to go?
John _______________________________________________ pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot