Merge "Introduce mediawiki.router for handling hash fragment navigation"
[lhc/web/wiklou.git] / includes / page / WikiPage.php
index 06785b7..040a6f3 100644 (file)
@@ -2115,7 +2115,13 @@ class WikiPage implements Page, IDBAccessObject {
                        : '';
                $edit->pst = $edit->pstContent ? $edit->pstContent->serialize( $serialFormat ) : '';
 
+               if ( $edit->output ) {
+                       $edit->output->setCacheTime( wfTimestampNow() );
+               }
+
+               // Process cache the result
                $this->mPreparedEdit = $edit;
+
                return $edit;
        }