Hi,
Thanks last year for the assistance in correcting some programming issues with the Memento Extension. We've been conducting performance testing in the interim and have been addressing issues as they've been discovered. For the most part, we've been pleased with the results, mostly due to feedback from this group.
The extension looks for the presence of an 'Accept-Datetime' header in the HTTP request and, if present, constructs a 302 HTTP response redirecting the visitor to the closest, but not over, oldid page to the time they've requested.
Currently the extension starts its processing using the ArticleViewHeader hook. If we are going to construct a 302 response because an 'Accept-Datetime' header was detected, then it appears that some of the data loaded never gets used, wasting processing time.
Is there an earlier hook in the page rendering process that can provide the name (title) of the page being requested and an OutputPage object so we can look at the request and construct the response?
We are avoiding all globals, like $wgOut, to comply with MediaWiki coding standards.
Thanks in advance,
Shawn M. Jones
Graduate Research Assistant
Department of Computer Science
Old Dominion University