jayvdb created this task.
jayvdb added subscribers: jayvdb, Ladsgroup, pywikipedia-bugs.
jayvdb added projects: pywikibot-core, Pywikibot-tests.
Restricted Application added a subscriber: Aklapper.
TASK DESCRIPTION
At Lyon we decided that before setting up automated testing against an empty test instance, we should first run the tests against a empty test instance set up on wmflabs. https://tools.wmflabs.org/pywikibot-testwiki/ was created for this purpose, and the Pywikibot-test account was created on that instance with the standard password for that account.
Permission to create accounts is not enabled, to prevent spam. However this means that Travis builds not using the 'wikimedia' github account, and thus the Pywikibot-test wiki account, cant access the wiki. We will need to alter the test system to support the user tests only for the 'wikimedia' github account, possibly by detecting that a configured test username is not present on the wiki.
TASK DETAIL
https://phabricator.wikimedia.org/T100802
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb
Cc: pywikipedia-bugs, Ladsgroup, jayvdb, Aklapper
jayvdb created this task.
jayvdb added subscribers: gerritbot, pywikipedia-bugs, Ladsgroup, jayvdb, Aklapper.
jayvdb added projects: Pywikibot-tests, pywikibot-core.
TASK DESCRIPTION
When run against an empty instance using a family file generated by the family file generator
```
ERROR: Test various methods that rely on API.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/build/jayvdb/pywikibot-core/tests/page_tests.py", line 403, in testApiMethods
self.assertIsInstance(mainpage.isDisambig(), bool)
File "/home/travis/build/jayvdb/pywikibot-core/pywikibot/page.py", line 800, in isDisambig
'disambiguationspage').split(':', 1)[1]
File "/home/travis/build/jayvdb/pywikibot-core/pywikibot/site.py", line 1955, in mediawiki_message
return self.mediawiki_messages([key])[key]
File "/home/travis/build/jayvdb/pywikibot-core/pywikibot/site.py", line 1943, in mediawiki_messages
% (self, key))
nose.proxy.KeyError: "Site pwbtest:en has no message 'disambiguationspage'"
```
https://travis-ci.org/jayvdb/pywikibot-core/jobs/64686164#L640
TASK DETAIL
https://phabricator.wikimedia.org/T100928
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb
Cc: Aklapper, jayvdb, Ladsgroup, gerritbot, pywikipedia-bugs
jayvdb created this task.
jayvdb added a subscriber: jayvdb.
jayvdb added projects: pywikibot-core, Pywikibot-pagegenerators.
Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION
The pywikibot mysql dependencies [[https://pypi.python.org/pypi/oursql|oursql]] depends on a C compiler. This is fine as an optional dependency, but we should depend on a pure python package.
https://pypi.python.org/pypi/PyMySQL
TASK DETAIL
https://phabricator.wikimedia.org/T89976
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb
Cc: pywikipedia-bugs, jayvdb, Aklapper
jayvdb created this task.
jayvdb claimed this task.
jayvdb added subscribers: pywikipedia-bugs, Aklapper, jayvdb, Legoktm.
jayvdb added a project: Pywikibot-tests.
TASK DESCRIPTION
In order for the 'wikimedia' Travis-CI builds to run tests on the beta sites, the standard test account 'Pywikibot-test' needs to exist with the same password used elsewhere.
As beta sites only use http, that means the password for the account used on real wikis needs to be used on the beta sites, and can be captured easily. It is a risk. The Pywikibot-test account could become compromised. That may not be a serious problem as the account doesnt have any special permissions. However HTTPS on beta (T50501) would be solve this problem.
TASK DETAIL
https://phabricator.wikimedia.org/T100797
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb
Cc: Legoktm, jayvdb, Aklapper, pywikipedia-bugs
Multichill created this task.
Multichill added a subscriber: Multichill.
Multichill added projects: pywikibot-core, Pywikibot-login.py, Pywikibot-compat-to-core.
Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION
Couldn't figure out why core didn't work on my wiki with LDAP login. After some debugging I found out that lgdomain doesn't seem to be set anywhere at all. See https://www.mediawiki.org/w/api.php?action=help&modules=login|query+info
If I just hardcode login_request["lgdomain"] = "mydomain" in api.py, it magically works. The login logic should look in the family file if self.ldapDomain is set and if that's the case include it in the request. Compat doesn't have this problem.
TASK DETAIL
https://phabricator.wikimedia.org/T90149
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Multichill
Cc: pywikipedia-bugs, Aklapper, Multichill, jayvdb, droid