[Pywikipedia-bugs] [Maniphest] [Commented On] T184712: Page.title(asUrl=True) should encode also slashes

2018-10-31 Thread Xqt
Xqt added a comment. Maybe we should use Page.urlname() method with additional parameter(s) like safe parameter for encoding here to allow different results?TASK DETAILhttps://phabricator.wikimedia.org/T184712EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To:

[Pywikipedia-bugs] [Maniphest] [Declined] T208463: _tkinter in PAWS

2018-10-31 Thread zhuyifei1999
zhuyifei1999 changed the task status from "Resolved" to "Declined". TASK DETAILhttps://phabricator.wikimedia.org/T208463EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Vodenbot, zhuyifei1999Cc: valhallasw, zhuyifei1999, Vodenbot, pywikibot-bugs-list, Wenyi,

[Pywikipedia-bugs] [Maniphest] [Closed] T208463: _tkinter in PAWS

2018-10-31 Thread Vodenbot
Vodenbot closed this task as "Resolved".Vodenbot claimed this task. TASK DETAILhttps://phabricator.wikimedia.org/T208463EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: VodenbotCc: valhallasw, zhuyifei1999, Vodenbot, pywikibot-bugs-list, Wenyi, R96340,

[Pywikipedia-bugs] [Maniphest] [Commented On] T208463: _tkinter in PAWS

2018-10-31 Thread Vodenbot
Vodenbot added a comment. Hi, thanks a lot for the reply and the idea. Actually with -always I can avoid GUI validation - it's a workaround not to use graphical interface (which will require from me to install pywikibot on my PC - which I want to avoid as it is a workstation) And if I set a cat

[Pywikipedia-bugs] [Maniphest] [Commented On] T208463: _tkinter in PAWS

2018-10-31 Thread valhallasw
valhallasw added a comment. imagecopy.py displays a graphical interface to verify which images should be transferred. As PAWS is a web based environment, this interface cannot be displayed. imagecopy.py does have a mode where no verification is requested (using the -always flag). If you

[Pywikipedia-bugs] [Maniphest] [Commented On] T208463: _tkinter in PAWS

2018-10-31 Thread zhuyifei1999
zhuyifei1999 added a comment. As I understand, Tkinter is for making GUIs, but there is no way currently to forward GUI to the browser client.TASK DETAILhttps://phabricator.wikimedia.org/T208463EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: zhuyifei1999Cc:

[Pywikipedia-bugs] [Maniphest] [Edited] T208463: _tkinter in PAWS

2018-10-31 Thread JJMC89
JJMC89 updated the task description. (Show Details) CHANGES TO TASK DESCRIPTION...I receive an error: `ImportError: No module named '_tkinter', please install the python3-tk package` ``` @PAWS:~$ pwb.py imagecopy.py -lang:az -cat:"Fayllar:Azad fayllar"...@PAWS:~$ ``` my settings: ``` @PAWS:~$

[Pywikipedia-bugs] [Maniphest] [Commented On] T200399: Make Pywikibot remove disambiguation bracket in labels to created new items for articles in Wikidata

2018-10-31 Thread Framawiki
Framawiki added a comment. Ok, although preferring the index option I chose the regex version for its simplicity. We can always create a task for change later on to have a cleaner code, even if it already seems very good to me. Patch is ready for review.TASK

[Pywikipedia-bugs] [Maniphest] [Commented On] T203395: (Re)move unused code reported by Vulture

2018-10-31 Thread gerritbot
gerritbot added a comment. Change 470848 restored by Pipix: Remove Unused Code https://gerrit.wikimedia.org/r/470848TASK DETAILhttps://phabricator.wikimedia.org/T203395EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: gerritbot, Liuxinyu970226,

[Pywikipedia-bugs] [Maniphest] [Commented On] T203395: (Re)move unused code reported by Vulture

2018-10-31 Thread gerritbot
gerritbot added a comment. Change 470848 abandoned by Pipix: Remove Unused Code https://gerrit.wikimedia.org/r/470848TASK DETAILhttps://phabricator.wikimedia.org/T203395EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: gerritbot, Liuxinyu970226,

[Pywikipedia-bugs] [Maniphest] [Commented On] T200399: Make Pywikibot remove disambiguation bracket in labels to created new items for articles in Wikidata

2018-10-31 Thread gerritbot
gerritbot added a comment. Change 470627 had a related patch set uploaded (by Shreyasminocha; owner: Shreyasminocha): [pywikibot/core@master] Strip disambiguation parens from articles https://gerrit.wikimedia.org/r/470627TASK DETAILhttps://phabricator.wikimedia.org/T200399EMAIL

[Pywikipedia-bugs] [Maniphest] [Updated] T200399: Make Pywikibot remove disambiguation bracket in labels to created new items for articles in Wikidata

2018-10-31 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T200399EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Shreyasminocha, gerritbotCc: gerritbot, D3r1ck01, Liuxinyu970226, revi, jayvdb, JAnD, Framawiki, matej_suchanek,

[Pywikipedia-bugs] [Maniphest] [Commented On] T203395: (Re)move unused code reported by Vulture

2018-10-31 Thread gerritbot
gerritbot added a comment. Change 470848 restored by Pipix: Remove Unused Code https://gerrit.wikimedia.org/r/470848TASK DETAILhttps://phabricator.wikimedia.org/T203395EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: gerritbot, Liuxinyu970226,

[Pywikipedia-bugs] [Maniphest] [Commented On] T203395: (Re)move unused code reported by Vulture

2018-10-31 Thread gerritbot
gerritbot added a comment. Change 470848 abandoned by Pipix: Remove Unused Code https://gerrit.wikimedia.org/r/470848TASK DETAILhttps://phabricator.wikimedia.org/T203395EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: gerritbot, Liuxinyu970226,

[Pywikipedia-bugs] [Maniphest] [Commented On] T203395: (Re)move unused code reported by Vulture

2018-10-31 Thread gerritbot
gerritbot added a comment. Change 470848 had a related patch set uploaded (by Pipix; owner: Pipix): [pywikibot/core@master] Remove Unused Code https://gerrit.wikimedia.org/r/470848TASK DETAILhttps://phabricator.wikimedia.org/T203395EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T200399: Make Pywikibot remove disambiguation bracket in labels to created new items for articles in Wikidata

2018-10-31 Thread Xqt
Xqt added a comment. Since all of you recommend doing it the index way Oh, I am fine with regex which might be less complex than index search implementation here.TASK DETAILhttps://phabricator.wikimedia.org/T200399EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T200399: Make Pywikibot remove disambiguation bracket in labels to created new items for articles in Wikidata

2018-10-31 Thread Shreyasminocha
Shreyasminocha added a comment. @Framawiki Would it suffice if I handle only: 1. Georgia (Country) 2. Georgia (Something) (Country) // here it would remove both with the index approach? The following will break stuff: 3. Georgia ((Country)) 4. Georgia (Country 5. Georgia Country) Are any of