Last modified: 2010-05-15 15:38:04 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 5393 - Problems with default skin
Problems with default skin
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
PC Windows XP
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-03-29 20:04 UTC by trantor
Modified: 2010-05-15 15:38 UTC (History)
0 users

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


Description trantor 2006-03-29 20:04:27 UTC
When default skin is changed it appears mixed with monobook skin. Digging in to
the code I realized that the cache was not invalidated when a new skin was
loaded. This is the case when a user loads a skin and because of that this
problem is not observed.

In the file includes/User.php from line 294 you can read

		unset( $this->mSkin );
		$this->mDataLoaded = false;
		$this->mBlockedby = -1; # Unset
		$this->setToken(); # Random
		$this->mHash = false;

and I changed to 

		unset( $this->mSkin );
		$this->invalidateCache(); # VEB
		$this->mDataLoaded = false;
		$this->mBlockedby = -1; # Unset
		$this->setToken(); # Random
		$this->mHash = false;

Comment 1 Brion Vibber 2006-03-29 20:17:10 UTC
I don't understand what you're referring to?

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