[Pywikipedia-bugs] [Maniphest] [Commented On] T323851: Timestamp.fromtimestampformat() class method is failing

2022-11-27 Thread Mpaa
Mpaa added a comment. Weird. Could you give an example where MW outputs a timestamp on 12 digits? See https://www.mediawiki.org/wiki/Manual:WfTimestamp TASK DETAIL https://phabricator.wikimedia.org/T323851 EMAIL PREFERENCES

[Pywikibot-commits] [Gerrit] ...core[master]: Retrieve only one match

2022-11-27 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/860501 ) Change subject: Retrieve only one match .. Retrieve only one match Change-Id: I2e35bcc2e690d3fc0640dcf5e37928ef9d26087a --- M

[Pywikibot-commits] [Gerrit] ...core[master]: [IMPR] Simplify code

2022-11-27 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/860955 ) Change subject: [IMPR] Simplify code .. [IMPR] Simplify code Change-Id: I9f53e97e85bce11e5015431c03e9fa3a91097d96 --- M

[Pywikipedia-bugs] [Maniphest] [Commented On] T323852: pywikibot: Support non-global login

2022-11-27 Thread RPI2026F1
RPI2026F1 added a comment. Thanks, that is really helpful. The final piece of the puzzle that would help is if I could provide the password to `site.login()` (for example if I collected it from a form). That would allow non-interactive logins of users unknown at initial launch. TASK DETAIL

[Pywikibot-commits] [Gerrit] ...core[master]: [doc] Update documentation about protection

2022-11-27 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/860985 ) Change subject: [doc] Update documentation about protection .. [doc] Update documentation about protection Change-Id:

[Pywikipedia-bugs] [Maniphest] [Updated] T323812: Improve content structure and navigation

2022-11-27 Thread Maintenance_bot
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,

[Pywikipedia-bugs] [Maniphest] [Commented On] T323812: Improve content structure and navigation

2022-11-27 Thread gerritbot
gerritbot added a comment. Change 860982 **merged** by jenkins-bot: [pywikibot/core@master] [docs] Improve basic content structure and navigation https://gerrit.wikimedia.org/r/860982 TASK DETAIL https://phabricator.wikimedia.org/T323812 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Updated] T323812: Improve content structure and navigation

2022-11-27 Thread gerritbot
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,

[Pywikipedia-bugs] [Maniphest] [Commented On] T323812: Improve content structure and navigation

2022-11-27 Thread gerritbot
gerritbot added a comment. Change 860982 had a related patch set uploaded (by Xqt; author: KBach): [pywikibot/core@master] [docs] Improve basic content structure and navigation https://gerrit.wikimedia.org/r/860982 TASK DETAIL https://phabricator.wikimedia.org/T323812 EMAIL

[pywikibot] Re: Page protection for limited time

2022-11-27 Thread Bináris
Thank you! Dalba ezt írta (időpont: 2022. nov. 27., V, 14:49): > Hi Bináris! > Time can be passed through the `kwargs` as `expiry` keyword to > APISite.protect > > . > >> Expiry of

[pywikibot] Re: Page protection for limited time

2022-11-27 Thread Dalba
Hi Bináris! Time can be passed through the `kwargs` as `expiry` keyword to APISite.protect . > Expiry of protections can be set via kwargs, see Site.protect() for > details. > On Sun,

[Pywikipedia-bugs] [Maniphest] [Commented On] T323852: pywikibot: Support non-global login

2022-11-27 Thread Xqt
Xqt added a comment. pywikibot.Site() already has some functionality you required, you can give the user account with it and login after it: D:\pwb\GIT\core>pwb shell Welcome to the Pywikibot interactive shell! >>> site = pywikibot.Site('wikipedia:de', user='xqt') >>>

[pywikibot] Re: Can't log in as admin

2022-11-27 Thread Bináris
Storno, I had to run login.py directly. But I still have the question: if I edit pages with my regular bot account, and one of them is protected, what will happen? Can I switch to my sysop account? Bináris ezt írta (időpont: 2022. nov. 27., V, 13:42): > python pwb.py -nolog -user:Bináris

[Pywikipedia-bugs] [Maniphest] [Updated] T243200: Move PAWS to OAuth 2.0

2022-11-27 Thread Xqt
Xqt added a parent task: T192237: Support administrative actions in PAWS. TASK DETAIL https://phabricator.wikimedia.org/T243200 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, Stang, Daniel_Mietchen, Bstorm, Dvorapa, MarcoAurelio,

[pywikibot] Can't log in as admin

2022-11-27 Thread Bináris
python pwb.py -nolog -user:Bináris userpageprotect.py python pwb.py -nolog -user:"Bináris" userpageprotect.py Neither asks for my password when the script wants to protect a page. (The script is own development.) Instead I get: pywikibot.exceptions.UserRightsError: User "None" does not have

[pywikibot] Re: Page protection for limited time

2022-11-27 Thread Bináris
Of course I meant protect, not block. Bináris ezt írta (időpont: 2022. nov. 27., V, 13:23): > Hi, > in > https://doc.wikimedia.org/pywikibot/master/api_ref/pywikibot.page.html#page.BasePage.protect > I don't see the time. Can we block for infinity only? > > -- > Bináris > -- Bináris

[pywikibot] Page protection for limited time

2022-11-27 Thread Bináris
Hi, in https://doc.wikimedia.org/pywikibot/master/api_ref/pywikibot.page.html#page.BasePage.protect I don't see the time. Can we block for infinity only? -- Bináris ___ pywikibot mailing list -- pywikibot@lists.wikimedia.org To unsubscribe send an

[Pywikipedia-bugs] [Maniphest] [Updated] T323851: Timestamp.fromtimestampformat() class method is failing

2022-11-27 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T323851 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, gerritbot Cc: Aklapper, Mpaa, Xqt, pywikibot-bugs-list, Adamm71, Jersione, Hellket777,

[Pywikipedia-bugs] [Maniphest] [Commented On] T323851: Timestamp.fromtimestampformat() class method is failing

2022-11-27 Thread gerritbot
gerritbot added a comment. Change 860978 had a related patch set uploaded (by Xqt; author: Xqt): [pywikibot/core@master] [IMPR] create a timestamp even if hours, minutes or seconds are missing https://gerrit.wikimedia.org/r/860978 TASK DETAIL

[Pywikipedia-bugs] [Maniphest] [Updated] T323851: Timestamp.fromtimestampformat() class method is failing

2022-11-27 Thread Xqt
Xqt removed a project: Regression. Xqt added a comment. The old implementation also failed by giving a wrong result. TASK DETAIL https://phabricator.wikimedia.org/T323851 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, Mpaa,

[Pywikipedia-bugs] [Maniphest] [Started] T323851: Timestamp.fromtimestampformat() class method is failing

2022-11-27 Thread Xqt
Xqt changed the task status from "Open" to "In Progress". TASK DETAIL https://phabricator.wikimedia.org/T323851 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, Mpaa, Xqt, pywikibot-bugs-list, Susie413113, PotsdamLamb, Jyoo1011,

[Pywikipedia-bugs] [Maniphest] [Claimed] T323851: Timestamp.fromtimestampformat() class method is failing

2022-11-27 Thread Xqt
Xqt claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T323851 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, Mpaa, Xqt, pywikibot-bugs-list, Susie413113, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra,