https://bugzilla.wikimedia.org/show_bug.cgi?id=25748

           Summary: action=parse doesn't use cached version when oldid is
                    used, even fetching latest version
           Product: MediaWiki
           Version: 1.16
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: API
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]


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)

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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

Reply via email to