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: [email protected]
Reporter: [email protected]
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)
)
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l