https://bugzilla.wikimedia.org/show_bug.cgi?id=55185
Web browser: --- Bug ID: 55185 Summary: cosmetic_changes bug on citation's number and punctuation 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/1483/ Reported by: reza1615 Created on: 2012-07-02 10:01:55 Subject: cosmetic_changes bug on citation's number and punctuation Original description: class fixArabicLetters() changes Latin citation's number and punctuation (,) to Persian number and punctuation (،) and it is not correct please set it if the text around the number is in Latin do not convert numbers.
http://fa.wikipedia.org/w/index.php?title=%D8%A7%D8%B1%DB%8C%DA%A9%5C_%D8%AA...
https://bugzilla.wikimedia.org/show_bug.cgi?id=55185
--- Comment #1 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- in fa.wiki we have gadget that works fine it has function (digits () ) that convert numbers correctly my be it will useful for solving this bug
http://fa.wikipedia.org/wiki/%D9%85%D8%AF%DB%8C%D8%A7%D9%88%DB%8C%DA%A9%DB%8...
https://bugzilla.wikimedia.org/show_bug.cgi?id=55185
--- Comment #2 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- Is there any regularity for these citations e.g. "\(<en-fullmonthname> \d{2}, \d{4}\)"?
https://bugzilla.wikimedia.org/show_bug.cgi?id=55185
--- Comment #3 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- defining regularity for date or address in external urls is not simple
the best rule is when number is inside English or latin text it should be English Number and others that are in Farsi text should be convert to Farsi Numbers.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55185
--- Comment #4 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- I would like to propose disabling this function for now to avoid unintended vandalism by bots. Later, we need to translate the JS code reza1615 mentioned into python and incorporate it in the bot.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55185
--- Comment #5 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- fixArabicLetters() disabled in r10451 for now
https://bugzilla.wikimedia.org/show_bug.cgi?id=55185
--- Comment #6 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- thank you also please disable punctuation part , to ، is not correct and it needs to define many exceptions.
http://fa.wikipedia.org/w/index.php?title=%D9%81%D9%87%D8%B1%D8%B3%D8%AA%5C_...
https://bugzilla.wikimedia.org/show_bug.cgi?id=55185
Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://sourceforge.net/p/p | |ywikipediabot/bugs/1483
https://bugzilla.wikimedia.org/show_bug.cgi?id=55185
xqt info@gno.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |info@gno.de Component|General |Cosmetic changes
https://bugzilla.wikimedia.org/show_bug.cgi?id=55185
Amir Ladsgroup ladsgroup@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|Unprioritized |Low CC| |ladsgroup@gmail.com Assignee|Pywikipedia-bugs@lists.wiki |ladsgroup@gmail.com |media.org |
pywikipedia-bugs@lists.wikimedia.org