Last modified: 2010-05-15 15:38:04 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T7393, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 5393 - Problems with default skin
Problems with default skin
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.5.x
PC Windows XP
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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;

VEB.
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.


Navigation
Links