On 13/04/06, a@kid <a(a)kid632.org> wrote:
Is there any way to invalidate the cache for the
related pages when
the content is updated on the special page?
Update the timestamp in page.page_touched for each affected page:
$dbw =& wfGetDB( DB_MASTER );
$dbw->update( 'page', array( 'page_touched' => $dbw->timestamp()
),
array( 'page_id' => $id ) );
where $id is the $id of a single page; or do a fancier update using
WHERE page_id IN ( set ) to touch multiple pages.
Rob Church