https://bugzilla.wikimedia.org/show_bug.cgi?id=55161
Web browser: --- Bug ID: 55161 Summary: pageform file and cosmetic changes Product: Pywikibot Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: legoktm.wikipedia@gmail.com Classification: Unclassified Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1545/ Reported by: jandudik Created on: 2012-11-28 10:51:03 Subject: pageform file and cosmetic changes Original description: I tried to made several redirects: pagefromfile.py -start:XXX -end:XXX -file:hsb.txt -notitle -lang:hsb
where hsb.txt contained XXX '''Carex dioica''' #REDIRECT[[dwójna rězna]] YYY ...
But bot imported article with cosmetic chages and there isn't #REDIRECT but # REDIRECT http://hsb.wikipedia.org/w/index.php?title=Carex%5C_dioica&oldid=274441
https://bugzilla.wikimedia.org/show_bug.cgi?id=55161
--- Comment #1 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- the easiest way is to switch off cosmetic_changes when creating redirect pages. If cc is enabled by default you can use pagefromfile.py -start:XXX -end:XXX -file:hsb.txt -notitle -lang:hsb -cc
If the page already exists that changes will not be made.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55161
--- Comment #2 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- - **priority**: 5 --> 3
https://bugzilla.wikimedia.org/show_bug.cgi?id=55161
--- Comment #3 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- Disabling of a feature always solves problems with it. But it would be nice to fix cosmetic changes module so that it doesn't add a whitespace after # in magic words and parser functions.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55161
--- Comment #4 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- I aggree. But disabling that feature is the most easiest way to solve it ;)
https://bugzilla.wikimedia.org/show_bug.cgi?id=55161
Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://sourceforge.net/p/p | |ywikipediabot/bugs/1545
https://bugzilla.wikimedia.org/show_bug.cgi?id=55161
Ricordisamoa ricordisamoa@live.it changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ricordisamoa@live.it Component|General |Cosmetic changes Summary|pageform file and cosmetic |do not insert a space |changes |between "#" and "REDIRECT"
https://bugzilla.wikimedia.org/show_bug.cgi?id=55161
--- Comment #5 from Ricordisamoa ricordisamoa@live.it --- CosmeticChangesToolkit.putSpacesInLists() seems to be concerned.
pywikipedia-bugs@lists.wikimedia.org