Page MenuHomePhabricator

DRTRIGON-55 Async preload
Closed, ResolvedPublic

Description

This issue was converted from https://jira.toolserver.org/browse/DRTRIGON-55.
Summary: Async preload
Issue type: Sub-task - The sub-task of the issue
Priority: Major
Status: Closed
Assignee: drtrigon <dr.trigon@surfeu.ch>


From: drtrigon <dr.trigon@surfeu.ch>

Date: Tue, 14 Sep 2010 19:36:39

Enable async preload of getVersionHistory (thus it will resolve a lot faster, since it is buffered) in non-API mode. Since API mode has some problems still.

patch: http://lists.wikimedia.org/pipermail/pywikipedia-l/attachments/20100914/8f018e3c/attachment.txt


Version: unspecified
Severity: major

Details

Reference
bz59553

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:39 AM
bzimport set Reference to bz59553.

From: drtrigon <dr.trigon@surfeu.ch>

Date: Tue, 14 Sep 2010 19:45:34

When this goes upstream, the 'VersionHistoryGenerator' can be removed from 'dtbext.pagegenerators'.


From: drtrigon <dr.trigon@surfeu.ch>

Date: Wed, 15 Sep 2010 13:43:20

Done in r8562. Thanks xqt! (also for the extra effort!)

https://fisheye.toolserver.org/changelog/pywikipedia/?cs=8562

To use it use 'page.getVersionHistory(revCount=1)'.

http://lists.wikimedia.org/pipermail/pywikipedia-l/2010-September/006413.html


From: drtrigon <dr.trigon@surfeu.ch>

Date: Fri, 17 Sep 2010 00:28:33

This patch caused some problem for python 2.4.3, look at
http://sourceforge.net/tracker/index.php?func=detail&aid=3066934&group_id=93107&atid=603138


From: drtrigon <dr.trigon@surfeu.ch>

Date: Sun, 19 Sep 2010 19:09:16

Solved again in r8566: https://fisheye.toolserver.org/changelog/pywikipedia/?cs=8566


From: drtrigon <dr.trigon@surfeu.ch>

Date: Mon, 20 Sep 2010 18:43:45

(switch close <-> resolve management)

This bug was imported as RESOLVED. The original assignee has therefore not been
set, and the original reporters/responders have not been added as CC, to
prevent bugspam.

If you re-open this bug, please consider adding these people to the CC list:
Original assignee: dr.trigon@surfeu.ch
CC list: dr.trigon@surfeu.ch