[Pywikipedia-bugs] [Maniphest] [Commented On] T200357: UnicodeDecodeError (py2) or RuntimeError (py3) on .getRedirectTarget() with page « Ꜫ »

2023-08-20 Thread gerritbot
gerritbot added a comment. Change 950801 **merged** by jenkins-bot: [pywikibot/core@master] [IMPR] Add unidata.py script to mainenance scripts https://gerrit.wikimedia.org/r/950801 TASK DETAIL https://phabricator.wikimedia.org/T200357 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T200357: UnicodeDecodeError (py2) or RuntimeError (py3) on .getRedirectTarget() with page « Ꜫ »

2023-08-20 Thread gerritbot
gerritbot added a comment. Change 950801 had a related patch set uploaded (by Xqt; author: Xqt): [pywikibot/core@master] [IMPR] Add unidata.py script to mainenance scripts https://gerrit.wikimedia.org/r/950801 TASK DETAIL https://phabricator.wikimedia.org/T200357 EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T200357: UnicodeDecodeError (py2) or RuntimeError (py3) on .getRedirectTarget() with page « Ꜫ »

2018-09-04 Thread gerritbot
gerritbot added a comment. Change 457494 abandoned by Xqt: [bugfix] Handle getRedirectTarget() exception smoothly Reason: see T130911 https://gerrit.wikimedia.org/r/#/c/pywikibot/core/ /279589/ https://gerrit.wikimedia.org/r/457494TASK DETAILhttps://phabricator.wikimedia.org/T200357EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T200357: UnicodeDecodeError (py2) or RuntimeError (py3) on .getRedirectTarget() with page « Ꜫ »

2018-09-04 Thread Xqt
Xqt added a comment. In T200357#4553994, @Dalba wrote: That sounds like a different issue (not a pywikibot normalization). Yes. That issue is T130911.TASK DETAILhttps://phabricator.wikimedia.org/T200357EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Dalba,

[Pywikipedia-bugs] [Maniphest] [Commented On] T200357: UnicodeDecodeError (py2) or RuntimeError (py3) on .getRedirectTarget() with page « Ꜫ »

2018-09-03 Thread Dalba
Dalba added a comment. That sounds like a different issue (not a pywikibot normalization). https://tg.wikipedia.org/wiki/%D0%92%D0%B8%D0%B6%D0%B0:DoubleRedirects has the following entry: Лоиҳа:Тоҷикистон (edit) →‎ Википедиа:Лоиҳа:Тоҷикистон →‎ Лоиҳа:Тоҷикистон Naturally pywikibot is looking for

[Pywikipedia-bugs] [Maniphest] [Commented On] T200357: UnicodeDecodeError (py2) or RuntimeError (py3) on .getRedirectTarget() with page « Ꜫ »

2018-09-03 Thread gerritbot
gerritbot added a comment. Change 457494 had a related patch set uploaded (by Xqt; owner: Xqt): [pywikibot/core@master] [bugfix] Handle getRedirectTarget() exception smoothly https://gerrit.wikimedia.org/r/457494TASK DETAILhttps://phabricator.wikimedia.org/T200357EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T200357: UnicodeDecodeError (py2) or RuntimeError (py3) on .getRedirectTarget() with page « Ꜫ »

2018-08-18 Thread gerritbot
gerritbot added a comment. Change 452187 merged by jenkins-bot: [pywikibot/core@master] pywikibot.tools: Add exceptions for first_upper https://gerrit.wikimedia.org/r/452187TASK DETAILhttps://phabricator.wikimedia.org/T200357EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T200357: UnicodeDecodeError (py2) or RuntimeError (py3) on .getRedirectTarget() with page « Ꜫ »

2018-08-12 Thread gerritbot
gerritbot added a comment. Change 452187 had a related patch set uploaded (by Dalba; owner: dalba): [pywikibot/core@master] pywikibot.tools: Add a set of characters as exceptions for first_upper https://gerrit.wikimedia.org/r/452187TASK DETAILhttps://phabricator.wikimedia.org/T200357EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T200357: UnicodeDecodeError (py2) or RuntimeError (py3) on .getRedirectTarget() with page « Ꜫ »

2018-07-25 Thread Dalba
Dalba added a comment. It's happening within first_upper function. def first_upper(string): """ Return a string with the first character capitalized. Empty strings are supported. The original string is not changed. Warning: Python 2 and 3 capitalize "ß" differently.

[Pywikipedia-bugs] [Maniphest] [Commented On] T200357: UnicodeDecodeError (py2) or RuntimeError (py3) on .getRedirectTarget() with page « Ꜫ »

2018-07-25 Thread Dalba
Dalba added a comment. Apparently pywikibot is normalizing the redirect title into it's target internally: >>> '\ua72b' == Page(Site('fr', 'wikipedia'), '\ua72b').title() FalseTASK DETAILhttps://phabricator.wikimedia.org/T200357EMAIL