Dalba updated the task description. (Show Details)
Herald added a subscriber: Cyberpower678.

CHANGES TO TASK DESCRIPTION
...
Original description:
In In `categories\(\)()` from class `Page`, if there is LEFT-TO-RIGHT MARK or other hidden characters in "\[\`[[Category:"`, pywikibot will fail to capture this category. I noticed that in constructor of class Page, there is the code for stripping many hidden characters. So why don't we apply this code with category and others \(I'm not sure if there are other things which need stripping hidden characters. Interwiki link? At least, I see many regular expressions for capturing links, these actions can fail with hidden character too.\)

Pywikipedia trunk/pywikipedia/ \(r11014, 2013/01/28, 20:55:48, ok\)
Python 2.7.3 \(default, Sep 26 2012, 21:53:58\)
\[GCC 4.7.2\]
...
use\_api = True
use\use_api\_login = True
...

TASK DETAIL
https://phabricator.wikimedia.org/T57155

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Dalba
Cc: Cyberpower678, Nullzero, Legoktm, jayvdb, Ricordisamoa, pywikibot-bugs-list, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to