[Pywikipedia-bugs] [Maniphest] [Triaged] T330806: Site.watched_pages() should yield content pages

2023-02-28 Thread binbot
binbot triaged this task as "Low" priority. binbot updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T330806 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc: Aklapper, pywikibot-bugs-list, binbot, PotsdamLamb,

[Pywikipedia-bugs] [Maniphest] [Created] T330806: Site.watched_pages() should yield content pages

2023-02-28 Thread binbot
binbot created this task. binbot added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Feature summary** (what you would like to be able to do and where): `Site.watched_pages()` yileds both content and talk pages which is

[Pywikipedia-bugs] [Maniphest] [Updated] T330799: Correct documentation of site.watched_pages()

2023-02-28 Thread Maintenance_bot
Maintenance_bot added a project: Pywikibot. TASK DETAIL https://phabricator.wikimedia.org/T330799 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Maintenance_bot Cc: Aklapper, pywikibot-bugs-list, binbot, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH,

[Pywikipedia-bugs] [Maniphest] [Triaged] T330799: Correct documentation of site.watched_pages()

2023-02-28 Thread binbot
binbot triaged this task as "Low" priority. TASK DETAIL https://phabricator.wikimedia.org/T330799 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc: Aklapper, pywikibot-bugs-list, binbot, Urstrulykkr

[Pywikipedia-bugs] [Maniphest] [Created] T330799: Correct documentation of site.watched_pages()

2023-02-28 Thread binbot
binbot created this task. binbot added a project: Pywikibot-Documentation. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION - https://doc.wikimedia.org/pywikibot/master/api_ref/pywikibot.site.html#pywikibot.site._generators.GeneratorsMixin.watched_pages

[Pywikipedia-bugs] [Maniphest] [Triaged] T330786: Handle InvalidTitleError in Page.text property

2023-02-28 Thread binbot
binbot triaged this task as "Low" priority. TASK DETAIL https://phabricator.wikimedia.org/T330786 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc: Xqt, Aklapper, pywikibot-bugs-list, binbot, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH,

[Pywikipedia-bugs] [Maniphest] [Created] T330786: Handle InvalidTitleError in Page.text property

2023-02-28 Thread binbot
binbot created this task. binbot added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Steps to replicate the issue**: >>> site = pywikibot.Site('hu', 'wikipedia') >>> page=pywikibot.Page(site, 'Vita:WP:AZ') >>>

[pywikibot] Re: Error logging into Wikipedia through pywiki bot on local device

2023-02-28 Thread Merlijn van Deen (valhallasw)
Hi Ananta, Based on the error message, it looks like the username in your user-config.py has a space added to the end, i.e. usernames['wikipedia']['en'] = 'AVaishnaviM ' instead of usernames['wikipedia']['en'] = 'AVaishnaviM' If you remove that space, chances are the bot will log in

[Pywikipedia-bugs] [Maniphest] [Commented On] T330742: Cherry-pick to stable the family files updates after wiki creations (February 2023)

2023-02-28 Thread JJMC89
JJMC89 added a comment. The `stable` branch should reflect the latest release, so a new release would be needed too. TASK DETAIL https://phabricator.wikimedia.org/T330742 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: JJMC89, Xqt,

[Pywikipedia-bugs] [Maniphest] [Commented On] T330488: Logged in hiddenly

2023-02-28 Thread binbot
binbot added a comment. In T330488#8653038 , @Dalba wrote: > > site.login() # add this line, make sure username and password_file are defined in user-config.py Great, this works, thank you! So the problem is not

[Pywikipedia-bugs] [Maniphest] [Commented On] T330488: Logged in hiddenly

2023-02-28 Thread Dalba
Dalba added a comment. I'm not sure how the `login` script works, but you should be able to workaround the main issue by calling `site.login()` in your script: import pywikibot site = pywikibot.Site() site.login() # add this line, make sure username and password_file are

[Pywikipedia-bugs] [Maniphest] [Commented On] T330742: Cherry-pick to stable the family files updates after wiki creations (February 2023)

2023-02-28 Thread MarcoAurelio
MarcoAurelio added a comment. Actually there are a number of fixes merged into master that we may wish to backport to stable as well. If you'd like to repurpose this task to include further commits it works for me. TASK DETAIL https://phabricator.wikimedia.org/T330742 EMAIL PREFERENCES

[pywikibot] Re: Error logging into Wikipedia through pywiki bot on local device

2023-02-28 Thread BinĂ¡ris
See also https://phabricator.wikimedia.org/T330488 For me it is the same, but still I can save pages under my bot's name. Myterious. Try to save a page. ___ pywikibot mailing list -- pywikibot@lists.wikimedia.org Public archives at

[pywikibot] Error logging into Wikipedia through pywiki bot on local device

2023-02-28 Thread Vaishnavi Movva
Hello everyone, My name is Ananta Vaishnavi, and I'm new to the Mediawiki community. I'm reaching out today because I've encountered an issue while trying to set up pywiki bot on my local device. Despite logging in, I'm receiving an error message that says I haven't logged in to Wikipedia.

[Pywikipedia-bugs] [Maniphest] [Commented On] T330742: Cherry-pick to stable the family files updates after wiki creations (February 2023)

2023-02-28 Thread MarcoAurelio
MarcoAurelio added a comment. We may need to cherry-pick https://gerrit.wikimedia.org/r/c/pywikibot/core/+/892035 too for CI purposes. TASK DETAIL https://phabricator.wikimedia.org/T330742 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To:

[Pywikipedia-bugs] [Maniphest] [Commented On] T330742: Cherry-pick to stable the family files updates after wiki creations (February 2023)

2023-02-28 Thread gerritbot
gerritbot added a comment. Change 892423 had a related patch set uploaded (by MarcoAurelio; author: Meno25): [pywikibot/core@stable] [L10N] Update languages_by_size https://gerrit.wikimedia.org/r/892423 TASK DETAIL https://phabricator.wikimedia.org/T330742 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Updated] T330742: Cherry-pick to stable the family files updates after wiki creations (February 2023)

2023-02-28 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T330742 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: gerritbot Cc: JJMC89, Xqt, Aklapper, MarcoAurelio, pywikibot-bugs-list, Themindcoder, Adamm71,

[Pywikipedia-bugs] [Maniphest] [Commented On] T330742: Cherry-pick to stable the family files updates after wiki creations (February 2023)

2023-02-28 Thread gerritbot
gerritbot added a comment. Change 892422 had a related patch set uploaded (by MarcoAurelio; author: Zabe): [pywikibot/core@stable] Add support for azwikimedia https://gerrit.wikimedia.org/r/892422 TASK DETAIL https://phabricator.wikimedia.org/T330742 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Created] T330742: Cherry-pick to stable the family files updates after wiki creations (February 2023)

2023-02-28 Thread MarcoAurelio
MarcoAurelio created this task. MarcoAurelio added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION To allow bots using the stable codebase to run in the recently-created WMF projects, I propose to cherry-pick to stable the

[Pywikipedia-bugs] [Maniphest] [Merged] T317121: Add support for azwikimedia to Pywikibot

2023-02-28 Thread MarcoAurelio
MarcoAurelio merged a task: T330735: Add support for azwikimedia to Pywikibot. TASK DETAIL https://phabricator.wikimedia.org/T317121 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Zabe, MarcoAurelio Cc: Zabe, MarcoAurelio, Meno25, Aklapper,

[Pywikipedia-bugs] [Maniphest] [Updated] T330735: Add support for azwikimedia to Pywikibot

2023-02-28 Thread MarcoAurelio
MarcoAurelio closed this task as a duplicate of T317121: Add support for azwikimedia to Pywikibot. TASK DETAIL https://phabricator.wikimedia.org/T330735 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: MarcoAurelio Cc: Aklapper, Maintenance_bot,

[Pywikipedia-bugs] [Maniphest] [Created] T330735: Add support for azwikimedia to Pywikibot

2023-02-28 Thread Maintenance_bot
Maintenance_bot created this task. Maintenance_bot added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Per https://wikitech.wikimedia.org/wiki/Add_a_wiki once the wiki has been created TASK DETAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T328814: Login retrieves token from incorrect location

2023-02-28 Thread MarcoAurelio
MarcoAurelio added a comment. In T328814#8649703 , @Xqt wrote: > It is difficult to fix this issue without having a private wiki for tests. The patch above is more or less a guess using your api response. Are you able to test it?