-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I believe Magpie also has RSS caching enabled by default. If it is on and working, you will probably find a ./cache directory under the directory containing rss.php. You can clear the cache by deleting the contents of the directory. The Magpie documentation (http://magpierss.sourceforge.net/) has info on how to disable it. I believe the default setting is to use the cached file if the age is less than one hour.
Gregory Szorc gregory.szorc@case.edu
Zain Memon wrote:
You've set the wrong extension name. In that snippet of code, you need to put the name of your extension i.e. wfExampleExtension.
You can find this at the top of extensions/rss.php as the value of $wgExtensionFunctions[].
-----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l- bounces@Wikimedia.org] On Behalf Of Brandon Sent: Thursday, July 14, 2005 2:36 PM To: MediaWiki-l@Wikimedia.org Subject: [Mediawiki-l] disabling extension caching
I am using an rss extension with wiki. (magpie rss parser) So I need the caching disabled for this extension to get current
records
to display in wiki.
I found an example on the mediawiki's help page.
global $wgParser; global $wgTitle; $dbw =& wfGetDB( DB_MASTER ); $dbw->update( 'cur', array( 'cur_touched' => $dbw->timestamp(
time()
- 120 ) ), array('cur_namespace' => $wgTitle->getNamespace(),'cur_title' =>
$wgTitle->getDBkey()), 'rss.php' );
I placed this code inside the function that uses setHook I get no errors. The problem is that the rss are still displaying the old records.
Any help would be appreciated.
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l