https://bugzilla.wikimedia.org/show_bug.cgi?id=58944
Web browser: --- Bug ID: 58944 Summary: site.mediawiki_message: support multiple messages Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: valhallasw@arctus.nl Blocks: 58942 Classification: Unclassified Mobile Platform: ---
Archivebot currently directly calls the API to get 'january'-'december' and 'jan'-'dec' messages. There should be a function to get (and cache) a large number of mediawiki messages in a single API request.
Currently used code in Archivebot:
qg = pywikibot.data.api.QueryGenerator( site=self.site, meta="allmessages", ammessages='|'.join(months_long + months_short) )
https://bugzilla.wikimedia.org/show_bug.cgi?id=58944
--- Comment #1 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 104211 had a related patch set uploaded by Mpaa: Bug 58944 - site.mediawiki_message: support multiple messages
https://gerrit.wikimedia.org/r/104211
https://bugzilla.wikimedia.org/show_bug.cgi?id=58944
Gerrit Notification Bot gerritadmin@wikimedia.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |PATCH_TO_REVIEW
https://bugzilla.wikimedia.org/show_bug.cgi?id=58944
--- Comment #2 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 104211 merged by jenkins-bot: Bug 58944 - site.mediawiki_message: support multiple messages
https://gerrit.wikimedia.org/r/104211
https://bugzilla.wikimedia.org/show_bug.cgi?id=58944
xqt info@gno.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|PATCH_TO_REVIEW |RESOLVED CC| |info@gno.de Resolution|--- |FIXED
pywikipedia-bugs@lists.wikimedia.org