3 require_once( 'commandLine.inc' );
5 if( $wgLocalDatabases ) {
6 $databases = $wgLocalDatabases;
8 $databases = array( $wgDBname );
11 foreach( $databases as $db ) {
12 echo "Deleting message cache for {$db}... ";
13 $wgMessageCache->mMemc
->delete( "{$db}:messages" );
14 if( $wgEnableSidebarCache )
15 $wgMessageCache->mMemc
->delete( "{$db}:sidebar" );