Index: trunk/phase3/includes/ParserCache.php |
— | — | @@ -37,7 +37,10 @@ |
38 | 38 | function save( $parserOutput, &$article, &$user ){ |
39 | 39 | global $wgMemc; |
40 | 40 | $key = $this->getKey( $article, $user ); |
41 | | - $parserOutput->setTouched( $article->getTouched() ); |
| 41 | + $touched = $article->getTouched(); |
| 42 | + $parserOutput->setTouched( $touched ); |
| 43 | + $parserOutput->mText .= "\n<-- Saved in parser cache with key $key and timestamp $touched -->\n"; |
| 44 | + |
42 | 45 | if( $parserOutput->containsOldMagic() ){ |
43 | 46 | $expire = 3600; # 1 hour |
44 | 47 | } else { |