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.