[Pywikipedia-bugs] [Maniphest] [Commented On] T305302: Provide tests for Lexeme classes

2023-02-04 Thread Ayush_Anand3310
Ayush_Anand3310 added a comment. I have to write these tests in wikibase_tests.py, right? TASK DETAIL https://phabricator.wikimedia.org/T305302 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ayush_Anand3310 Cc: Ayush_Anand3310, matej_suchanek,

[Pywikipedia-bugs] [Maniphest] [Updated] T284577: Cannot login to private wiki using BotPassword

2023-02-04 Thread Nirvanchik
Nirvanchik added a comment. user-config.py, user-password.py are configured, wiki family class is generated. Pywikibot is a fresh master 33803553adc3f1afa0e950f20fa6756619cbb459 Some info about Wiki

[Pywikipedia-bugs] [Maniphest] [Commented On] T284577: Cannot login to private wiki using BotPassword

2023-02-04 Thread Nirvanchik
Nirvanchik added a comment. I also suffer of this problem :( TASK DETAIL https://phabricator.wikimedia.org/T284577 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, Nirvanchik Cc: Nirvanchik, Xqt, Mpaa, Dvorapa, pywikibot-bugs-list, RhinosF1,

[pywikibot] Re: How to ignore all the non-visible stuff?

2023-02-04 Thread BinĂ¡ris
from pywikibot.textlib import removeDisabledParts print(removeDisabledParts(text)) This makes something similar, but just the noinclude tag is not included. Bot if you follow the source from https://doc.wikimedia.org/pywikibot/master/api_ref/textlib.html#textlib.removeDisabledParts, you can

[pywikibot] How to ignore all the non-visible stuff?

2023-02-04 Thread Roy Smith
[[:en:Template:Did you know/Queue/NextPrep]] contains: > 4 > {{documentation|content=This number indicates the next DYK prep set to move > into the queue.}} > What I want to get is just the "4". Is Page.extract() what I'm looking for? Experimentally, it does what I want, but it's not clear

[Pywikipedia-bugs] [Maniphest] [Created] T328846: pwb login -autocreate may not be working with OAuth credentials

2023-02-04 Thread MarcoAurelio
MarcoAurelio created this task. MarcoAurelio added projects: Pywikibot, Pywikibot-login.py. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Steps to replicate the issue** My bot has a fully unified global account and uses OAuth to authenticate.

[Pywikipedia-bugs] [Maniphest] [Triaged] T328769: Enhance Pywikibot.Page with is_person method

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

[Pywikipedia-bugs] [Maniphest] [Triaged] T328811: pywikibot.Claim method to recursively copy a claim

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

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

2023-02-04 Thread Xqt
Xqt added a comment. > should be changed to: > > login_request[ > self. Keyword('token')] = response['token'] this proposal does not work because no token is given with the response: {'code': 'badtoken', 'info': 'Invalid CSRF token.', 'other': {'help': 'See

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

2023-02-04 Thread Xqt
Xqt added projects: Pywikibot-login.py, TestMe. TASK DETAIL https://phabricator.wikimedia.org/T328814 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, chiefgeek157, pywikibot-bugs-list, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH,

[Pywikibot-commits] [Gerrit] ...core[master]: [feat] clean_sandbox: Configure script for some projects

2023-02-04 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/886411 ) Change subject: [feat] clean_sandbox: Configure script for some projects .. [feat] clean_sandbox: Configure script for some

[Pywikipedia-bugs] [Maniphest] [Closed] T219093: protect.py should provides option to choose level for protect

2023-02-04 Thread Xqt
Xqt closed this task as "Invalid". Xqt added a comment. as noted above. TASK DETAIL https://phabricator.wikimedia.org/T219093 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, Ciencia_Al_Poder, Framawiki, Aklapper, Kizule,

[Pywikipedia-bugs] [Maniphest] [Updated] T219093: protect.py should provides option to choose level for protect

2023-02-04 Thread Ciencia_Al_Poder
Ciencia_Al_Poder added a comment. I think this request is invalid because it already supports those parameters (they existed before the task was created, as they are mentioned in rPWBCac834c998a from 2014)