Regression from
3ad9e41be9. Prior, $action was also passed to HTMLFileCache.
Change-Id: Ie0f1c8b73d306bc710c346ad97868c53fb59809d
HTMLFileCache::useFileCache( $this->context, HTMLFileCache::MODE_OUTAGE )
) {
// Try to use any (even stale) file during outages...
- $cache = new HTMLFileCache( $context->getTitle(), 'view' );
+ $cache = new HTMLFileCache( $context->getTitle(), $action );
if ( $cache->isCached() ) {
$cache->loadFromFileCache( $context, HTMLFileCache::MODE_OUTAGE );
print MWExceptionRenderer::getHTML( $e );