https://bugzilla.wikimedia.org/show_bug.cgi?id=73085
Bug ID: 73085 Summary: states_redirect should not create redirects for every matching title Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: enhancement Priority: Unprioritized Component: Other scripts Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: jayvdb@gmail.com Web browser: --- Mobile Platform: ---
e.g. Elections_in_Dakota,_Maine is not a title that should have a redirect Elections_in_Dakota,_ME as that type of redirect isnt likely to be a direct data entry, and it clutters the search results / suggestions lists.
The script currently does create any article which has a state suffix, as that is what the compat us-states.py script did.
https://test.wikipedia.org/w/index.php?title=Elections_in_Dakota,_ME&red...
If the script used pagegenerators, it would probably be possible to filter out undesirable titles to be created, or maybe that depends on bug 54537.