Manual talk:$wgSitename

Jump to: navigation, search

Can this value be safely changed in a production environment? If not, what needs to be considered if one wishes to change the value of this parameter? Is this the place to post such questions? --Dmb 06:49, 7 August 2007 (UTC)

Should be safe. Jlerner 16:13, 8 January 2009 (UTC)

It would be helpful to know, if this value can contain spaces (and other characters)?

It can contain spaces, no problem. Jlerner 16:13, 8 January 2009 (UTC)
...but obviously charcaters like í, é, ú etc cause problems.....or is there a workaround I should know?? Thanks in advance, --Horst Salzwedel 02:11, 20 August 2009 (UTC) Horst.Salzwedel (at)

If I change the Sitename, how can i transfer the content to the "new" "default" namespace?

I used a mediawiki hoster to preinstall it... How can I get to these setting pages? This is the first time I've ever operated a wiki :)

You edit the file LocalSettings.php (eg. using FTP). If you don't know where it is or arent able to edit it, ask your host. Platonides 15:44, 14 June 2009 (UTC)

When used as an array[edit]

What does it signify when $wgSitename is used as an array? E.g., in the following example, is frwiki a database name or what?

'wgSitename' => array(
    'default' => 'Wikipedia',
    'frwiki' => 'Wikipédia',

Thanks, Tisane 19:57, 29 May 2010 (UTC)

Is there a fix for unusual characters?[edit]

The site has an ' in the name but using {{SITENAME}} changes it to ' e.g. see the bottom of this page. Is there a fix for this? --Rob Kam (talk) 19:45, 28 April 2017 (UTC)

Problem of site not loading if I change $WGSitename[edit]

I have just done a standard installation of 1.30 and, in editing the sitename I omitted the ; at the end of the line. The site would not load at all - blank screen! If I omitted the line entirely it loaded with the default Mediawiki site name. Perhaps similarly dramatic effects are seen on accidental omission of the semicolon in other lines of LocalSettings but I had not come accross this before.