Last modified: 2012-04-12 13:56:10 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 T27748, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25748 - action=parse doesn't use cached version when oldid is used, even fetching latest version
action=parse doesn't use cached version when oldid is used, even fetching lat...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.16.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-11-02 02:24 UTC by Rob Lanphier
Modified: 2012-04-12 13:56 UTC (History)
4 users (show)

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


Attachments

Description Rob Lanphier 2010-11-02 02:24:24 UTC
Fetching an identical revision using the API takes longer when using oldid, since it appears not to use the cache.

Example:
This page loads relatively quickly:
http://en.wikipedia.org/w/api.php?action=parse&page=The%20Beatles

...and produces the following XML output:
<?xml version="1.0"?>
<api>
  <parse displaytitle="The Beatles" revid="xxx">
(...etc)

However, taking the same revid, and fetching it using the oldid parameter:
http://en.wikipedia.org/w/api.php?action=parse&oldid=xxx

...takes much longer.  (note: replace "xxx" with the latest revision id)

(Priyanka is currently planning to fix this)
Comment 1 Bryan Tong Minh 2010-11-02 07:36:28 UTC
Was already fixed some days ago in trunk.

r75334
Comment 2 Sam Reed (reedy) 2010-11-02 13:36:52 UTC
Yup, I did it in DC =)

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


Navigation
Links