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

2023-02-23 Thread Ayush_Anand3310
Ayush_Anand3310 added a comment. @binbot I will! TASK DETAIL https://phabricator.wikimedia.org/T328769 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ayush_Anand3310 Cc: Ayush_Anand3310, Xqt, Aklapper, pywikibot-bugs-list, binbot, Themindcoder

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

2023-02-09 Thread Ayush_Anand3310
Ayush_Anand3310 added a comment. is this how it should be? class TestLexemeForm(unittest.TestCase): def setUp(self): self.repo = 'test_repo' self.representations = {'fr': 'example'} self.claims = {'P21': ['Q8

[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] [Commented On] T305302: Provide tests for Lexeme classes

2023-02-01 Thread Ayush_Anand3310
Ayush_Anand3310 added a comment. I am thinking of writing tests using unittest module. Will that be alright? TASK DETAIL https://phabricator.wikimedia.org/T305302 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ayush_Anand3310 Cc: Ayush_Anand3310

[Pywikipedia-bugs] [Maniphest] [Commented On] T308265: Use inline re.flags in Pywikibot

2023-01-18 Thread Ayush_Anand3310
Ayush_Anand3310 added a comment. @Xqt Should I remove case_escape() from textlib.py or just leave it there and use inline flags for regex patterns wherever required? TASK DETAIL https://phabricator.wikimedia.org/T308265 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel

[Pywikipedia-bugs] [Maniphest] [Claimed] T308261: Access match object groups by item name instead of group() method

2023-01-11 Thread Ayush_Anand3310
Ayush_Anand3310 claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T308261 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ayush_Anand3310 Cc: Ayush_Anand3310, Aklapper, pywikibot-bugs-list, Xqt, Jainitbafna, Gaurav24072002, Abhinay76

[Pywikipedia-bugs] [Maniphest] [Claimed] T308265: Use inline re.flags in Pywikibot

2023-01-11 Thread Ayush_Anand3310
Ayush_Anand3310 claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T308265 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ayush_Anand3310 Cc: Ayush_Anand3310, Aklapper, pywikibot-bugs-list, Xqt, Jainitbafna, Gaurav24072002, Abhinay76

[Pywikipedia-bugs] [Maniphest] [Commented On] T305859: Solve Inconsistent return statements

2023-01-10 Thread Ayush_Anand3310
Ayush_Anand3310 added a comment. @xqt I am new to open source and would like to contribute more to Pywikibot. Can you suggest me some good resources for beginners from where I can learn more about it and start working on existing tasks? TASK DETAIL https://phabricator.wikimedia.org

[Pywikipedia-bugs] [Maniphest] [Unassigned] T308063: Pywikibot: Insufficient documentation

2023-01-07 Thread Ayush_Anand3310
Ayush_Anand3310 removed Ayush_Anand3310 as the assignee of this task. TASK DETAIL https://phabricator.wikimedia.org/T308063 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ayush_Anand3310 Cc: Ayush_Anand3310, Xqt, komla, Aklapper, TBurmeister

[Pywikipedia-bugs] [Maniphest] [Commented On] T305859: Solve Inconsistent return statements

2023-01-05 Thread Ayush_Anand3310
Ayush_Anand3310 added a comment. @Xqt Should I submit a new commit for the changes I previously made with the preferred solution i.e without using "else"? TASK DETAIL https://phabricator.wikimedia.org/T305859 EMAIL PREFERENCES https://phabricator.wikimedia.org/sett

[Pywikipedia-bugs] [Maniphest] [Commented On] T305859: Solve Inconsistent return statements

2023-01-05 Thread Ayush_Anand3310
Ayush_Anand3310 added a comment. @Xqt Should I submit a new commit for the changes I previously made with the preferred solution i.e without using "else"? TASK DETAIL https://phabricator.wikimedia.org/T305859 EMAIL PREFERENCES https://phabricator.wikimedia.org/sett

[Pywikipedia-bugs] [Maniphest] [Commented On] T305859: Solve Inconsistent return statements

2023-01-04 Thread Ayush_Anand3310
Ayush_Anand3310 added a comment. @xqt is the main branch for pywikibot repository not named master?When I initially cloned the repository, from gerrit, it was showing "switching to 'c80956c4885458f2f4012ad5c4bfb4b8ec8ec46d' ". Is it okay if I go ahead with this? TASK DETA

[Pywikipedia-bugs] [Maniphest] [Commented On] T305859: Solve Inconsistent return statements

2023-01-02 Thread Ayush_Anand3310
Ayush_Anand3310 added a comment. I have fixed the first 20 issues and will be soon submitting the first patch through gerrit. TASK DETAIL https://phabricator.wikimedia.org/T305859 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ayush_Anand3310

[Pywikipedia-bugs] [Maniphest] [Commented On] T305859: Solve Inconsistent return statements

2023-01-02 Thread Ayush_Anand3310
Ayush_Anand3310 added a comment. @Aklapper ,I will go through the provided resources and work accordingly. TASK DETAIL https://phabricator.wikimedia.org/T305859 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ayush_Anand3310 Cc: Ayush_Anand3310

[Pywikipedia-bugs] [Maniphest] [Commented On] T308063: Pywikibot: Insufficient documentation

2022-12-31 Thread Ayush_Anand3310
Ayush_Anand3310 added a comment. @Xqt So what you are saying is that I should solve each subtask individually and keep submitting it one by one? TASK DETAIL https://phabricator.wikimedia.org/T308063 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences

[Pywikipedia-bugs] [Maniphest] [Claimed] T308063: Pywikibot: Insufficient documentation

2022-12-30 Thread Ayush_Anand3310
Ayush_Anand3310 claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T308063 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ayush_Anand3310 Cc: Xqt, komla, Aklapper, TBurmeister, pywikibot-bugs-list, srishakatux, PotsdamLamb, Jyoo1011

[Pywikipedia-bugs] [Maniphest] [Commented On] T305859: Solve Inconsistent return statements

2022-12-30 Thread Ayush_Anand3310
Ayush_Anand3310 added a comment. Update: I got the github repo and have forked it and currently working to understand the codebase to make necessary changes to it. TASK DETAIL https://phabricator.wikimedia.org/T305859 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel

[Pywikipedia-bugs] [Maniphest] [Claimed] T305859: Solve Inconsistent return statements

2022-12-30 Thread Ayush_Anand3310
Ayush_Anand3310 claimed this task. Ayush_Anand3310 added a comment. @Xqt I would like to work on this task. This is my first time contributing and I have understood what has to be fixed here but I don't know from where I can access this code and make changes in it? TASK DETAIL https