[Mediawiki-l] change interface language
wilson.jim.r at gmail.com
Thu May 17 19:55:25 UTC 2007
Good call Rob! (I didn't know about the namespace aliasing - that's a good
one to know)
Regarding purging - if you want a quick way to purge everything (assuming
you're using MySQL and no squid/memcache) is to issue the command "truncate
objectcache" against the database instance you're using for MW.
On 5/17/07, Rob Church <robchur at gmail.com> wrote:
> On 17/05/07, Klaus Becker <colonius at free.fr> wrote:
> > that's why I put this question: I first installed MW 1.9.3 in german,
> but the
> > final version has to be french. So for image location, I wrote "Bild"
> and I
> > want "Image" instead now. I hoped a script would do this for me, but
> > changing $wgLanguageCode in french, there is always "Bild" and images
> are not
> > found of course. Must I really change every "Bild" in "Image" manually ?
> Add the following line to LocalSettings.php:
> $wgNamespaceAliases["Bild"] = NS_IMAGE;
> You'll need to purge the cache of affected pages, but with a
> LocalSettings.php file generated with a modern version of MediaWiki,
> this will be done when editing that file.
> Rob Church
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
More information about the MediaWiki-l