[pywikibot] Re: Login with compat

2021-06-02 Thread Bináris
ezt írta (időpont: 2021. jún. 2., Sze, 23:05): > Please be aware that other csrf tokens will be removed with mw 1.37 an can > lead the compat release to fail. > Thank you! When is 1.37 due? -- Bináris ___ pywikibot mailing list --

[Pywikipedia-bugs] [Maniphest] [Commented On] T281202: Deprecation policy

2021-06-02 Thread atagar
atagar added a comment. I amended our deprecation policy in the following ways... 1. Copy the description of semantic versioning I wrote for Tor. We now explain what version numbers convey in

[Pywikipedia-bugs] [Maniphest] [Updated] T281202: Deprecation policy

2021-06-02 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T281202 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: atagar, gerritbot Cc: JJMC89, Xqt, Aklapper, pywikibot-bugs-list, atagar, Shalomori123, Lalamarie69,

[Pywikipedia-bugs] [Maniphest] [Commented On] T281202: Deprecation policy

2021-06-02 Thread gerritbot
gerritbot added a comment. Change 697874 had a related patch set uploaded (by Damian; author: Damian): [pywikibot/core@master] [IMPR] Only use FutureWarnings https://gerrit.wikimedia.org/r/697874 TASK DETAIL https://phabricator.wikimedia.org/T281202 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Updated] T267535: Need -force on scripts/imagetransfer.py to transfer the file from Commons to another wiki

2021-06-02 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T267535 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: gerritbot Cc: Jdforrester-WMF, Xqt, Aklapper, pywikibot-bugs-list, Billinghurst, Shalomori123,

[Pywikipedia-bugs] [Maniphest] [Commented On] T267535: Need -force on scripts/imagetransfer.py to transfer the file from Commons to another wiki

2021-06-02 Thread gerritbot
gerritbot added a comment. Change 697869 had a related patch set uploaded (by Inductiveload; author: Inductiveload): [pywikibot/core@master] imagetransfer.py: allow images existing in the shared repo https://gerrit.wikimedia.org/r/697869 TASK DETAIL

[pywikibot] Re: Login with compat

2021-06-02 Thread info
Please be aware that other csrf tokens will be removed with mw 1.37 an can lead the compat release to fail. Best xqt > Am 02.06.2021 um 22:55 schrieb i...@gno.de: > > Hi, > > yes there is a manual about this: > > https://www.mediawiki.org/wiki/Manual:Pywikibot/compat-to-core_conversion >

[pywikibot] Re: Login with compat

2021-06-02 Thread info
Hi, yes there is a manual about this: https://www.mediawiki.org/wiki/Manual:Pywikibot/compat-to-core_conversion The compat2core script was archived in meantime but it can still be used. It also can restored to the supported scripts. Pleas also use the task noted there for any help. Best xqt

[pywikibot] Re: Login with compat

2021-06-02 Thread Bináris
John ezt írta (időpont: 2021. jún. 2., Sze, 16:25): > Line 236: self.site._token[index] = data['login']['lgtoken'] + "+\\" > change to: > > try: > self.site._token[index] = data['login']['lgtoken'] + > "+\\" > except: > pass > >

[pywikibot] Re: Login with compat

2021-06-02 Thread John
Line 236: self.site._token[index] = data['login']['lgtoken'] + "+\\" change to: try: self.site._token[index] = data['login']['lgtoken'] + "+\\" except: pass On Wed, Jun 2, 2021 at 10:21 AM Bináris wrote: > Is there a manual to

[pywikibot] Re: Login with compat

2021-06-02 Thread Bináris
Is there a manual to rewrite comat scripts to Pywikibot? ___ pywikibot mailing list -- pywikibot@lists.wikimedia.org To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org

[Pywikibot-commits] [Gerrit] ...core[master]: [tests] Fix deleting page._bot_may_edit cache

2021-06-02 Thread Xqt (Code Review)
Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/697732 ) Change subject: [tests] Fix deleting page._bot_may_edit cache .. [tests] Fix deleting page._bot_may_edit cache Change-Id:

[Pywikipedia-bugs] [Maniphest] [Closed] T283990: Avoid cosmetic changes within /

2021-06-02 Thread matej_suchanek
matej_suchanek closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T283990 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, matej_suchanek Cc: Xqt, Aklapper, pywikibot-bugs-list, matej_suchanek, Shalomori123, Jyoo1011,

[Pywikipedia-bugs] [Maniphest] [Updated] T283990: Avoid cosmetic changes within /

2021-06-02 Thread Maintenance_bot
Maintenance_bot removed a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T283990 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, Maintenance_bot Cc: Xqt, Aklapper, pywikibot-bugs-list, matej_suchanek, Shalomori123,

[Pywikipedia-bugs] [Maniphest] [Commented On] T283990: Avoid cosmetic changes within /

2021-06-02 Thread gerritbot
gerritbot added a comment. Change 697610 **merged** by jenkins-bot: [pywikibot/core@master] [IMPR] Handle / tags as aliases https://gerrit.wikimedia.org/r/697610 TASK DETAIL https://phabricator.wikimedia.org/T283990 EMAIL PREFERENCES

[Pywikibot-commits] [Gerrit] ...core[master]: [IMPR] Handle / tags as aliases

2021-06-02 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/697610 ) Change subject: [IMPR] Handle / tags as aliases .. [IMPR] Handle / tags as aliases Bug: T283990 Change-Id:

[pywikibot] Re: Login with compat

2021-06-02 Thread info
Hi Binaris, login2.py wasn’t shipped with compat. The login implementation looks like MediaWiki 1.27 and the current one has changed a lot. Probably it does not work anymore with compat. Best xqt Von meinem iPhone gesendet > Am 02.06.2021 um 07:14 schrieb Bináris : > >  > Hi John, > I

[Pywikipedia-bugs] [Maniphest] [Commented On] T281202: Deprecation policy

2021-06-02 Thread JJMC89
JJMC89 added a comment. +1 We should already be using semantic versioning since 4.0, but releases are apparently not following it with respect to breaking changes bumping the major version. The `DeprecationWarning`s are effectively meaningless since they aren't seen. TASK DETAIL

[Pywikibot-commits] [Gerrit] ...core[master]: [bugfix] botMayEdit has no function cache_clear()

2021-06-02 Thread Xqt (Code Review)
Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/697622 ) Change subject: [bugfix] botMayEdit has no function cache_clear() .. [bugfix] botMayEdit has no function cache_clear() After dopping