[Pywikipedia-bugs] [Maniphest] [Commented On] T273386: newitem.py has very long start

2021-02-03 Thread gerritbot
gerritbot added a comment. Change 660809 **merged** by jenkins-bot: [pywikibot/core@master] [IMPR] Create a SiteLink with __getitem__ method https://gerrit.wikimedia.org/r/660809 TASK DETAIL https://phabricator.wikimedia.org/T273386 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T273386: newitem.py has very long start

2021-02-02 Thread Xqt
Xqt added a comment. Creating a Site object does not require any api request. Calling get() method with a ImagePage instance lodes the content from wikibase. With the current implementation all sitelinks are parsed and therefore siteinfo is needed for every site. With the patch above the

[Pywikipedia-bugs] [Maniphest] [Commented On] T273386: newitem.py has very long start

2021-02-02 Thread Bugreporter
Bugreporter added a comment. Most bots does not have account on all wikis, and when fetching skipping templates, all sitelinks of Template:Delete is fetched, which contains sitelinks to various sites the bot does not have accounts. This will make the script unusable. TASK DETAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T273386: newitem.py has very long start

2021-02-01 Thread Xqt
Xqt added a comment. In T273386#6792344 , @Bugreporter wrote: > When fixing this, make sure you test it with a **new** account (specifically, not attached on all possible projects). Could you explain? What is the reason for a new

[Pywikipedia-bugs] [Maniphest] [Commented On] T273386: newitem.py has very long start

2021-02-01 Thread Bugreporter
Bugreporter added a comment. When fixing this, make sure you test it in a **new** account (specificly, not attached on all possible projects). TASK DETAIL https://phabricator.wikimedia.org/T273386 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To:

[Pywikipedia-bugs] [Maniphest] [Commented On] T273386: newitem.py has very long start

2021-02-01 Thread gerritbot
gerritbot added a comment. Change 660809 had a related patch set uploaded (by Xqt; owner: Xqt): [pywikibot/core@master] [IMPR] Create a SiteLink with __getitem__ method https://gerrit.wikimedia.org/r/660809 TASK DETAIL https://phabricator.wikimedia.org/T273386 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T273386: newitem.py has very long start

2021-02-01 Thread Bugreporter
Bugreporter added a comment. Note most of WMF sites are never relevant to most bot workers. When retrieving skipping templates, only one sitelink is useful. TASK DETAIL https://phabricator.wikimedia.org/T273386 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T273386: newitem.py has very long start

2021-01-31 Thread Xqt
Xqt added a comment. @JAnD: can you please provide the complete command line. It might be easier tho reproduce this issue. TASK DETAIL https://phabricator.wikimedia.org/T273386 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt,