Menu

#571 Force retrieval of last edit time

open
nobody
None
5
2012-10-27
2012-10-27
Andrei Cipu
No

This patch changes the Page.editTime function in order to allow the user to request a valid editTime even if the page has not yet been fetched. The API call used is theoretically much lighter than retrieving the whole page. The default behavior remains unchanged.

Discussion

  • Andrei Cipu

    Andrei Cipu - 2012-10-27

    forceEditTime.patch

     
  • Andrei Cipu

    Andrei Cipu - 2012-10-27

    As a performance optimization, line 1256 could read

    if force and not self._editTime:

    However, I wrote the patch without checking if the editTime has been fetched because "force" should imply that the value is updated

     

Log in to post a comment.