https://bugzilla.wikimedia.org/show_bug.cgi?id=55222
Web browser: --- Bug ID: 55222 Summary: cosmetic_changes.py and <code> 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/1393/ Reported by: ganz-ru Created on: 2012-01-14 17:37:31 Subject: cosmetic_changes.py and <code> Original description: Here: http://ru.wikipedia.org/w/index.php?diff=40245627&oldid=39731202 http://ru.wikipedia.org/w/index.php?diff=40765267&oldid=39425330 cosmetic_changes.py replaced the internal internal html-text of <code>...</code> with unicode symbols. That's not good, since the tag <code> is for an original representation of codes, including the html-code. So, I propose to add this tag to the elist of exceptions.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55222
--- Comment #1 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- - **assigned_to**: nobody --> xqt - **status**: open --> open-accepted
https://bugzilla.wikimedia.org/show_bug.cgi?id=55222
--- Comment #2 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- As I see, it just necessary to add this tag into arrays of exceptions and it does not requir editing of any other parts of code. So please accelerate the processing of of this bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55222
--- Comment #3 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- Feel free to submit a patch.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55222
--- Comment #4 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- @ganz-du: unfortunatelly this part of code does not use replaceExcept() and we have no exceptions list where to add that tag.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55222
--- Comment #5 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- - **assigned_to**: xqt --> nobody
https://bugzilla.wikimedia.org/show_bug.cgi?id=55222
--- Comment #6 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- duplicated by bug #3530791 raising prio.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55222
--- Comment #7 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- - **priority**: 5 --> 6
https://bugzilla.wikimedia.org/show_bug.cgi?id=55222
--- Comment #8 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- CosmeticChangesToolkit.resolveHtmlEntities() deactivated in pyrev:10438 due to this bug
https://bugzilla.wikimedia.org/show_bug.cgi?id=55222
--- Comment #9 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- - **priority**: 6 --> 7
https://bugzilla.wikimedia.org/show_bug.cgi?id=55222
--- Comment #10 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- - **priority**: 7 --> 5
https://bugzilla.wikimedia.org/show_bug.cgi?id=55222
Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://sourceforge.net/p/p | |ywikipediabot/bugs/1393
https://bugzilla.wikimedia.org/show_bug.cgi?id=55222
Amir Ladsgroup ladsgroup@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|Unprioritized |Normal CC| |ladsgroup@gmail.com Component|General |Cosmetic changes
--- Comment #11 from Amir Ladsgroup ladsgroup@gmail.com --- It happens because of the html2unicode function, it can be fixed either in textlib or cosmetic_changes.py
pywikipedia-bugs@lists.wikimedia.org