--- updaters.inc.old	2006-11-23 01:39:24.000000000 +0100
+++ updaters.inc	2006-11-23 01:00:31.000000000 +0100
@@ -890,6 +890,8 @@
 	do_backlinking_indices_update(); flush();
 
 	initialiseMessages(); flush();
+
+	purge_objectcache(); flush();
 }
 
 function archive($name) {
@@ -902,6 +904,19 @@
 	}
 }
 
+## purge objectcache to avoid weird display problems
+## Nov. 2006 - by Manuel Schneider <manuel.schneider@wikimedia.ch>
+function purge_objectcache() {
+	global $wgDatabase;
+        $fname = "Update script: purge_objectcache()";
+ 
+	echo( "Purging object cache...\n" );
+	$objectcache = $wgDatabase->tableName( 'objectcache' );
+	$sql = "TRUNCATE TABLE $objectcache;";
+	$rows = $wgDatabase->query( $sql, $fname );
+	echo "...<b>done</b>.\n";
+}
+
 function do_postgres_updates() {
 	global $wgDatabase, $wgVersion, $wgDBmwschema;
 
