Page MenuHomePhabricator

Problems with default skin
Closed, InvalidPublic

Description

Author: vbaites

Description:
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.


Version: 1.5.x
Severity: normal
OS: Windows XP
Platform: PC

Details

Reference
bz5393

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:09 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz5393.
bzimport added a subscriber: Unknown Object (MLST).

I don't understand what you're referring to?