I created T324000 for cookie improvements.
Best
xqt
> Am 28.11.2022 um 21:52 schrieb Bináris :
>
>
> I made a workaround so that I don't heve to log in all the time. :-)
> swap.bat is:
> ren other.lwp temp.lwp
> ren pywikibot.lwp other.lwp
> ren temp.lwp pywikibot.lwp
> del temp.lwp
>
> So
Thank you!
How does pwb work for you without .py?
___
pywikibot mailing list -- pywikibot@lists.wikimedia.org
To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org
Ah, I've got this. The problem is that pywikibot.Site isn't a class, it's a
factory function that returns cached instances of APISite. It looks like if
you want to mock Site, you need to do:
mock_Site = mocker.patch('pywikibot.site.APISite', autospec=True)
or this works too (and is
This is Windows driven where .py is associated with Python.exe which was set
during installation.
Von meinem iPhone gesendet
> Am 29.11.2022 um 16:38 schrieb Bináris :
>
>
> Thank you!
> How does pwb work for you without .py?
> ___
> pywikibot
OK, thank you, that's a correct answer, and means that the question was
valid. :-)
___
pywikibot mailing list -- pywikibot@lists.wikimedia.org
To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org
I did not tell anything like this. The question mark indacates that it was
a question. You personally were mislead by this capitalization, and I am
thankful that you discovered this for us, and others don't have to suffer.
I just want to understand things.
Russell Blau ezt írta (időpont: 2022.
That's a good observation, thanks, but fixing that doesn't change anything.
This:
def test_ip(mocker):
mock_IPv4Address = mocker.patch('ipaddress.IPv4Address', autospec=True)
ip = mock_IPv4Address('1.2.3.4')
assert ip.xxyyzz
fails in exactly the same way.
> On Nov 28, 2022, at
Roy Smith ezt írta (időpont: 2022. nov. 29., K, 17:26):
> Ah, I've got this. The problem is that pywikibot.Site isn't a class, it's
> a factory function that returns cached instances of APISite.
>
Should it not have a lower case name in this case?
Oh yes. Please, please break every single script written by every user, just so we can have perfect capitalization style.
From: Bináris Sent: Tuesday, November 29, 2022 11:32 AMTo: Pywikibot discussion list Subject: [pywikibot] Re: pywikibot is making a
KBach added a comment.
Added changes intended to unify the usage of headline syntax in the docs. The
rules I tried to apply are:
- Every index page should use the headline syntax in the following order:
1. `#` with overline
2. `*` with overline
3. `=`
4. `-`
5. `^`
Xqt triaged this task as "Medium" priority.
TASK DETAIL
https://phabricator.wikimedia.org/T324000
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Tgr, Aklapper, binbot, Xqt, pywikibot-bugs-list, PotsdamLamb, Jyoo1011,
JohnsonLee01, SHEKH,
Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-login.py.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
**Feature summary**:
We can have multiple accounts with pywikibot but if a user is changed, the
session access authoization
gerritbot added a comment.
Change 861831 had a related patch set uploaded (by KBach; author: KBach):
[pywikibot/core@tests] [doc] Clean up content structure and unify headline
syntax
https://gerrit.wikimedia.org/r/861831
TASK DETAIL
https://phabricator.wikimedia.org/T323812
gerritbot added a project: Patch-For-Review.
TASK DETAIL
https://phabricator.wikimedia.org/T323812
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: KBach, gerritbot
Cc: whym, pywikibot-bugs-list, Aklapper, binbot, Xqt, Dvorapa, KBach, Adamm71,
Xqt added a subtask: T324000: Password from cookies is lost when a user changes.
TASK DETAIL
https://phabricator.wikimedia.org/T71283
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Huji, Xqt
Cc: Xqt, Stanglavine, Urbanecm, Dvorapa, Huji, Dalba,
Xqt added a parent task: T71283: dualism between user and sysop needs to be
overtaken.
TASK DETAIL
https://phabricator.wikimedia.org/T324000
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Dalba, Tgr, Aklapper, binbot, Xqt,
gerritbot added a comment.
Change 861831 **merged** by jenkins-bot:
[pywikibot/core@tests] [doc] Clean up content structure and unify headline
syntax
https://gerrit.wikimedia.org/r/861831
TASK DETAIL
https://phabricator.wikimedia.org/T323812
EMAIL PREFERENCES
Maintenance_bot removed a project: Patch-For-Review.
TASK DETAIL
https://phabricator.wikimedia.org/T323812
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: KBach, Maintenance_bot
Cc: whym, pywikibot-bugs-list, Aklapper, binbot, Xqt, Dvorapa, KBach,
gerritbot added a comment.
Change 861895 had a related patch set uploaded (by Xqt; author: Xqt):
[pywikibot/core@master] [IMPR] Create a cookie file for each account
https://gerrit.wikimedia.org/r/861895
TASK DETAIL
https://phabricator.wikimedia.org/T324000
EMAIL PREFERENCES
gerritbot added a project: Patch-For-Review.
TASK DETAIL
https://phabricator.wikimedia.org/T324000
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt, gerritbot
Cc: Dalba, Tgr, Aklapper, binbot, Xqt, pywikibot-bugs-list, Adamm71, Jersione,
Xqt added a comment.
Behaviour after this change:
D:\pwb\GIT\core>pwb shell
Welcome to the Pywikibot interactive shell!
>>> s1 = pywikibot.Site(user='Xqtest')
>>> s2 = pywikibot.Site(user='Xqtools')
>>> s2.login()
WARNING: No user is logged in on site wikipedia:de
Xqt claimed this task.
Xqt changed the task status from "Open" to "In Progress".
TASK DETAIL
https://phabricator.wikimedia.org/T324000
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Dalba, Tgr, Aklapper, binbot, Xqt, pywikibot-bugs-list,
Xqt has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/861479 )
Change subject: [doc] fix documentation of generate_user_files
..
[doc] fix documentation of generate_user_files
Change-Id:
23 matches
Mail list logo