Manual talk:$wgSitename

From MediaWiki.org
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) gmail.com

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)

[edit] When used as an array

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)

Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox