Not a stupid question. Yes, that would be faster. Using the API, however, is even better, and this is exactly what is done in the rewrite. As such, I would suggest not to implement this in the trunk - the current version works, albeit slow. If this is really a problem for you, upgrade to the rewrite.
Best regards, Merlijn van Deen On 11 September 2010 16:47, Dr. Trigon <[email protected]> wrote: > Hello > > May be this is a stupid question but what about basing > 'page.isRedirectPage()' on 'getVersionHistory(revCount=1)' > instead of 'get()' because this could be faster for big > pages...? > > Thanks and Greetings! > DrTrigon > > _______________________________________________ > Pywikipedia-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l >
_______________________________________________ Pywikipedia-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
