[Pywikipedia-bugs] [Maniphest] [Edited] T142269: login.py should show a sensible error message when some tries to use it with OAuth

2016-08-22 Thread Tgr
Tgr edited the task description. (Show Details) EDIT DETAILStl;dr: Pywikibot uses the `usernames` global for assertions, even when authentication happens via OAuth. Setting `authenticate` but not `usernames` will result in errors like `NoUsername: Logged in on lang:family via OAuth as UserName,

[Pywikipedia-bugs] [Maniphest] [Commented On] T143594: Add unit support to WbQuantity

2016-08-22 Thread Lokal_Profil
Lokal_Profil added a comment. One thing which could help would be if entity_prefix was added to siteinfo (cf. articlepath). That way we could at least easily construct entity references (cf. BasePage.full_url()) for items in (known) wikibase repositories.TASK

[Pywikipedia-bugs] [Maniphest] [Commented On] T143594: Add unit support to WbQuantity

2016-08-22 Thread Lokal_Profil
Lokal_Profil added a comment. In T143594#2572898, @gerritbot wrote: Change 306037 had a related patch set uploaded (by Lokal Profil): Support adding units to WbQuantity through the entity url https://gerrit.wikimedia.org/r/306037 This only adds the ability to add the entity url directly

[Pywikipedia-bugs] [Maniphest] [Commented On] T143594: Add unit support to WbQuantity

2016-08-22 Thread gerritbot
gerritbot added a comment. Change 306037 had a related patch set uploaded (by Lokal Profil): Support adding units to WbQuantity through the entity url https://gerrit.wikimedia.org/r/306037TASK DETAILhttps://phabricator.wikimedia.org/T143594EMAIL

[Pywikipedia-bugs] [Maniphest] [Updated] T143594: Add unit support to WbQuantity

2016-08-22 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T143594EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: gerritbot, Ladsgroup, Aklapper, Lokal_Profil, pywikibot-bugs-list, Lewizho99, Mdupont, JJMC89,

[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T143594: Add unit support to WbQuantity

2016-08-22 Thread Lokal_Profil
Lokal_Profil added a subscriber: Ladsgroup.Lokal_Profil added a comment. In T112130#1628026, @Ladsgroup wrote: [...] we need to discuss on how we want to handle units, we can have Entity class and subclass ItemPage and other pages (alongside with Page) OR we can have unit, calender model and

[Pywikipedia-bugs] [Maniphest] [Created] T143594: Add unit support to WbQuantity

2016-08-22 Thread Lokal_Profil
Lokal_Profil created this task.Lokal_Profil added projects: Pywikibot-core, Pywikibot-Wikidata.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONBack in T112130 we ensured that pywikibot no longer crashes when it encounters an item with units. However we still don't support

[Pywikipedia-bugs] [Maniphest] [Commented On] T110856: Convert all scripts to TWN i18n

2016-08-22 Thread gerritbot
gerritbot added a comment. Change 282195 had a related patch set uploaded (by Xqt): [i18n] use i18n from twn for image.py https://gerrit.wikimedia.org/r/282195TASK DETAILhttps://phabricator.wikimedia.org/T110856EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To:

[Pywikipedia-bugs] [Maniphest] [Commented On] T139749: password_file in user-config does not respect -dir flag

2016-08-22 Thread Lokal_Profil
Lokal_Profil added a comment. Don't think it is due to this patch since the code is only triggered when you have password_file in your user-config.py. When I try python pwb.py login I get a normal login prompt so most likely it is something local on your machine which has changed. If not then I'd

[Pywikipedia-bugs] [Maniphest] [Created] T143545: Welcome.py welcomes autocreated accounts even if -sul option is not in use

2016-08-22 Thread Vituzzu
Vituzzu created this task.Vituzzu added a project: Pywikibot-Other-scripts.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONPer title, people started complaining (meh I don't see such a big problem) about being welcomed when autocreating.TASK