Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Ive changed settings in LocalSettings.php, such as $wgSitename, but they don show up in my browser. Why not?

0
10 Posted

Ive changed settings in LocalSettings.php, such as $wgSitename, but they don show up in my browser. Why not?

0

(Note: As always, first ensure that you’re not viewing a cached page – perform a “hard refresh”, clear the browser cache, or view a page that didn’t exist before the change.) There was a bug in versions of MediaWiki prior to 1.3.6 where variables, such as $wgSitename, were interpolated into user interface messages at install, rather than when the message was requested (Bugzilla:296). The result was that any later changes to these variables would have no effect on these messages, since the software simply saw them as plain text; all UI messages can be reset to their defaults (with the new variable values) by running the maintenance/rebuildMessages.php script. If you upgrade to the latest version of MediaWiki first, these will include dynamic references to the variables (e.g. {{SITENAME}}) and should therefore reflect future configuration changes. Some language files incorrectly set $wgSitename to a local transliteration of “Wikipedia”. If this happens, you need to edit the language file

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123