Last modified: 2014-01-03 09:30:59 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T60944, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58944 - site.mediawiki_message: support multiple messages
site.mediawiki_message: support multiple messages
Status: RESOLVED FIXED
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
core-(2.0)
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks: 58942
  Show dependency treegraph
 
Reported: 2013-12-24 18:44 UTC by Merlijn van Deen (test)
Modified: 2014-01-03 09:30 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Merlijn van Deen (test) 2013-12-24 18:44:23 UTC
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)	
)
Comment 1 Gerrit Notification Bot 2013-12-28 17:13:53 UTC
Change 104211 had a related patch set uploaded by Mpaa:
Bug 58944 - site.mediawiki_message: support multiple messages

https://gerrit.wikimedia.org/r/104211
Comment 2 Gerrit Notification Bot 2014-01-03 09:16:48 UTC
Change 104211 merged by jenkins-bot:
Bug 58944 - site.mediawiki_message: support multiple messages

https://gerrit.wikimedia.org/r/104211

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links