Conversion to utf-8
From Wikitech
(Difference between revisions)
m (Robot: Adding Category:How-To) |
|||
| (3 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| + | {{old}} | ||
| + | |||
To clear messages cache in memcached : | To clear messages cache in memcached : | ||
* cd /home/wikipedia/common/php-new/maintenance | * cd /home/wikipedia/common/php-new/maintenance | ||
| Line 15: | Line 17: | ||
} | } | ||
</pre> | </pre> | ||
| − | |||
| − | |||
Latest revision as of 22:09, 29 August 2012
To clear messages cache in memcached :
- cd /home/wikipedia/common/php-new/maintenance
- php mcc.php
- delete eswiki:messages
- quit
To invalidate the client cache, parser cache and anonymous file cache, set $wgCacheEpoch to the current date in /home/wikipedia/common/php-new/InitialiseSettings.php, for the converted wiki only.
The squid cache must be marked with the correct expiry time in advance. Something along these lines should work:
$dday = strtotime('July 10');
if ( $wgDBname == 'dewiki' && time() < $dday ) {
$wgSquidMaxage = $dday - time();
}