Last modified: 2011-04-30 01:21:44 UTC
Created attachment 7242 [details] Unix Diff of Change getSkinName() doesn't work with $wgAllowUserSkin=false, bug fix attached
The problem is that for SkinTemplate-based skins you need to call initPage() before getSkinName() so that the member "skinname" is set correctly, $wgAllowUserSkin won't change that.
Sorry but my debug session with $wgAllowUserSkin set to true and false does in fact change this function's output. I wouldn't have posted this if I didn't have the problem.
Marking this as FIXED; in 1.16 you can call this function when you want since the skinname member is set when creating the object.