https://www.mediawiki.org/wiki/Special:Code/MediaWiki/108319
Revision: 108319
Author: ashley
Date: 2012-01-07 15:09:26 +0000 (Sat, 07 Jan 2012)
Log Message:
-----------
VoteNY: follow-up to r108076: specify oldid parameter for Article constructor
as per CR
Modified Paths:
--------------
trunk/extensions/VoteNY/VoteClass.php
Modified: trunk/extensions/VoteNY/VoteClass.php
===================================================================
--- trunk/extensions/VoteNY/VoteClass.php 2012-01-07 14:09:57 UTC (rev
108318)
+++ trunk/extensions/VoteNY/VoteClass.php 2012-01-07 15:09:26 UTC (rev
108319)
@@ -107,7 +107,7 @@
$pageTitle->purgeSquid();
// Kill parser cache
- $article = new Article( $pageTitle );
+ $article = new Article( $pageTitle, /* oldid */0 );
$parserCache = ParserCache::singleton();
$parserKey = $parserCache->getKey( $article, $wgUser );
$wgMemc->delete( $parserKey );
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs