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.
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
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l