From: <ki...@us...> - 2023-02-15 17:10:04
|
Revision: 7384 http://sourceforge.net/p/nsis/code/7384 Author: kichik Date: 2023-02-15 17:10:02 +0000 (Wed, 15 Feb 2023) Log Message: ----------- More 1.35 fixes Modified Paths: -------------- nsisweb/trunk/mediawiki/extensions/ForumRSS.php nsisweb/trunk/mediawiki/extensions/NSISDev.php nsisweb/trunk/mediawiki/extensions/NewsRSS.php Modified: nsisweb/trunk/mediawiki/extensions/ForumRSS.php =================================================================== --- nsisweb/trunk/mediawiki/extensions/ForumRSS.php 2023-02-03 06:07:55 UTC (rev 7383) +++ nsisweb/trunk/mediawiki/extensions/ForumRSS.php 2023-02-15 17:10:02 UTC (rev 7384) @@ -9,7 +9,7 @@ function ForumRSS() { global $wgParser; - $wgParser->disableCache(); + $wgParser->getOutput()->updateCacheExpiry(0); return file_get_contents('/home/project-web/nsis/forum.rss.html'); } Modified: nsisweb/trunk/mediawiki/extensions/NSISDev.php =================================================================== --- nsisweb/trunk/mediawiki/extensions/NSISDev.php 2023-02-03 06:07:55 UTC (rev 7383) +++ nsisweb/trunk/mediawiki/extensions/NSISDev.php 2023-02-15 17:10:02 UTC (rev 7384) @@ -11,7 +11,7 @@ function getTimeStamp($file) { global $wgParser; - $wgParser->disableCache(); + $wgParser->getOutput()->updateCacheExpiry(0); return gmdate('D, d M Y, H:i', filemtime($file)) . ' GMT'; } @@ -32,7 +32,7 @@ $wgThisLink = $wgTitle->getText(); // Disable cache - $wgParser->disableCache(); + $wgParser->getOutput()->updateCacheExpiry(0); // Initialize output $output = ''; Modified: nsisweb/trunk/mediawiki/extensions/NewsRSS.php =================================================================== --- nsisweb/trunk/mediawiki/extensions/NewsRSS.php 2023-02-03 06:07:55 UTC (rev 7383) +++ nsisweb/trunk/mediawiki/extensions/NewsRSS.php 2023-02-15 17:10:02 UTC (rev 7384) @@ -9,7 +9,7 @@ function NewsRSS() { global $wgParser; - $wgParser->disableCache(); + $wgParser->getOutput()->updateCacheExpiry(0); return file_get_contents('/home/project-web/nsis/news.rss.html'); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |