Manual talk:$wgSitename

From mediawiki.org
Jump to navigation Jump to 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)

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)

I would like to know also! I need a "é" in the sitename!

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. — Preceding unsigned comment added by PMcMVet (talkcontribs) 1 February 2018

Identifying the grammatical forms[edit]

The example showing how to set up different grammatical forms is kinda useless if you don't know Polish and/or what the codes 'D.lp', 'C.lp', 'B.lp', 'N.lp', 'MS.lp', 'W.lp', 'M.lm', 'D.lm', 'C.lm', 'B.lm', 'N.lm', 'MS.lm', and 'W.lm' refer to. I assume these are at least somewhat specific to Polish, but I can't find any information about what they mean, and what other codes might be used for other languages (besides the "genitive" example at Manual:$wgGrammarForms, which seems unnecessarily artificial ["car"? really?]). This should be addressed somewhere obvious (i.e., on this page, or linked to from this page). - dcljr (talk) 20:20, 7 September 2020 (UTC)