Last modified: 2010-05-15 15:41:14 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 8184 - in so many crannies $wgSitename is cached
in so many crannies $wgSitename is cached
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
PC Linux
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-12-07 17:53 UTC by Dan Jacobson
Modified: 2010-05-15 15:41 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Dan Jacobson 2006-12-07 17:53:36 UTC
Just amazed at all the nooks and crannies $wgSitename is cached.
$ echo -n Project_Talk:Community_Portal|php deleteBatch.php
中車討論:Community Portal
What do you mean 中車? Months ago I changed it to 中公!,
as can be seen via Special:Export:
    <title>中公討論:Community Portal</title>
All in all, things still run OK. It's just that there are too many
scattered disturbing old $wgSitename cached places. One could
Rebuild_this and Rebuild_that but ... it's not my fault.
Comment 1 Rob Church 2006-12-09 10:18:21 UTC
Unable to reproduce the reported case. Steps taken:

1. Install a fresh checkout of MediaWiki 1.7.1
2. Verify the resolved location of Project:Community_portal
3. Change $wgSitename in LocalSettings.php
4. Verify the resolved location of Project:Community_portal

Works for me. Links in sidebar are updated, usual caches are cleared and the
page goes where I expect it to.
Comment 2 Rob Church 2006-12-09 10:21:18 UTC
Was this 1.7.1 wiki upgraded from earlier branches at any point? I recall that
some language files used to directly concatenate $wgSitename, which has the
effect that, when the MediaWiki namespace is initialised, the site name is
hardcoded into the page. This was corrected, for the most part, by replacing
this with {{SITENAME}} wherever it occurred, which causes the variable to be
saved, and corrects the behaviour.

If this *is* the case, then rebuildMessages.php would help the situation, but
you seem to be adverse to running maintenance scripts.

Note You need to log in before you can comment on or make changes to this bug.