Extension talk:DynamicSkin

Changes to To Work With MediaWiki 1.19
Trying to use the DynamicSkin Extension gives two errors (so far) on MediaWiki 1.19:


 * is undefined
 * an error saying that cache cannot be disabled

The following changes fixed these problems:

Sidebar
I've been able to get dynamic skins to switch sidebars based on namespace but i am having problems with having multiple areas within the sidebar. For instance on this page there is a section for site, a section for download, a section for support etc. Usually in MediaWiki:Sidebar you can get this effect by using bulleted lists 1 * for a header above the box (*) and 2 * for items within the box (**) If i do that in a dynamicskin sidebar, the one labled navigation shows up properly but each additional header, whether before or after navigation shows up with the ascii code for < preceding the header and the ascii code for > following.

Has anyone had any success with making sidebars with multiple sections without ascii code appearing in the headers?

Kay

I'm relatively new to using MediaWiki (trying to build a large, extended-family website), and I hit this problem as well. I've looked back here a couple times to see if anyone has answered your Kay's original question, without luck. For what it's worth, I'd also be interested in an answer to this problem.

~Nathan

Doesnt work for
I mediawiki 1.14 installed. And it doesn't work.

CATEGORIES
I noticed that the code listed for the &&CATEGORIES&& pseudo-variable is incomplete. For me, if I attempted to use the variable in the sidebar or elsewhere, the page displayed an error stating that a non-object was attempting to access the getCategories function. Looking at the code, I noticed that there is no local definition in the translate_variable function for the variable &skin. In short, I simply added "$skin  = $wgUser->getSkin;" to the top of the translate_variable function, and everything worked perfectly. In sort I made it look like so:

Hope that helps!

Cheers, ~Nathan