https://bugzilla.wikimedia.org/show_bug.cgi?id=21591


Tim Starling <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX




--- Comment #4 from Tim Starling <[email protected]>  2010-01-06 05:44:10 
UTC ---
Just clear the message cache, or wait for it to expire. The issue occurs
because when $wgLanguageCode is en, the en-gb message cache stores only the
en-gb customisations, and there aren't any so it's an empty array. When you
change $wgLanguageCode to en-gb, the cache key is now meant to have all the
default customisations, without any slash in the title, but it still has the
empty array cached from before.

If you're using CACHE_DB, run the SQL query:

   sql> TRUNCATE TABLE objectcache;

If you're using CACHE_MEMCACHED:

   $ /etc/init.d/memcached restart

Alternatively, delete the problematic cache key:

   $ cd /path/to/wiki/maintenance
   $ php eval.php
   > $wgMemc->delete( "$wgDBname:messages:en-gb" );


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to