Page 1 of 1
Tiny preferences window!
Posted: January 16th, 2011, 3:24 pm
by daj
Hi,
I have just installed the GuMaxVN 2.0 theme on version 1.61 of MediaWiki. The Wiki installation is brand new and has had no other customisation.
When I go into user preferences (Special:Preferences) the text is absolutely tiny. See attached screen shot
- UserPreferences.png (50.56 KiB) Viewed 5369 times
I have tried it on FireFox, Chrome 8 and Safari -- all for the Mac
HELP!
Thanks
David
Re: Tiny preferences window!
Posted: January 16th, 2011, 6:07 pm
by daj
I did a little bit of rooting around and it seems to be inheriting a "font-size:0" from the visualClear class in the gumax_template.css
If I remove the font-size from the css, the preferences screen is fixed.
I'm just not sure if this will impact on anything else -- so far I have not found anything but will update here if it does
Re: Tiny preferences window!
Posted: January 16th, 2011, 9:47 pm
by Paul
Hi David, thanks for quick response... I'm just about to looking into it and it does break on new mediawiki... let me try your fix
Re: Tiny preferences window!
Posted: January 18th, 2011, 5:31 pm
by daj
Paul
In the end I had to look at alternative Skins as the one I implemented from you seemed to be missing some of the features of the core skins. The Toolbox, for example, never builds and a look through the PHP suggests it was removed from your skin.
Is there a reason for that?
Re: Tiny preferences window!
Posted: January 18th, 2011, 6:18 pm
by Paul
Nothing is removed...
The toolbar is hidden from non registered users, the suggests was never in any mediawiki skin, I use gumax skin on paulgu.com and it works..........
Re: Tiny preferences window!
Posted: January 18th, 2011, 6:37 pm
by daj
This is the code in guMaxVN skin..
Code: Select all
<!-- Navigation Menu -->
<div id="gumax-p-navigation">
<?php foreach ($this->data['sidebar'] as $bar => $cont) { ?>
<div class='gumax-portlet'>
<h5><?php $out = wfMsg( $bar ); if (wfEmptyMsg($bar, $out)) echo $bar; else echo $out; ?></h5>
<ul>
<?php foreach($cont as $key => $val) { ?>
<li id="<?php echo htmlspecialchars($val['id']) ?>"<?php
if ( $val['active'] ) { ?> class="active" <?php }
?>><a href="<?php echo htmlspecialchars($val['href']) ?>"><?php echo htmlspecialchars($val['text']) ?></a></li>
<?php } ?>
</ul>
</div>
<?php } ?>
</div>
<!-- end of Navigation Menu -->
If you look in the same section on the Monobook skin, you see code to check for each section and call the functions
Code: Select all
foreach ($sidebar as $boxName => $cont) {
if ( $boxName == 'SEARCH' ) {
$this->searchBox();
} elseif ( $boxName == 'TOOLBOX' ) {
$this->toolbox();
} elseif ( $boxName == 'LANGUAGES' ) {
$this->languageBox();
} else {
$this->customBox( $boxName, $cont );
}
}
I don't see similar code in your skin.
Here is a screen shot of me logged in using your skin -- there are no options under Toolbox
Perhaps I mis-understand how your skin builds the toolbox, but it is not showing when I am logged in
Re: Tiny preferences window!
Posted: January 18th, 2011, 7:02 pm
by Paul
The toolbar is located on the top-right.
The item in the left-bar is useless, remove them and add your own items.
Re: Tiny preferences window!
Posted: July 10th, 2011, 9:28 am
by paulwalker_92
Well this works for me.... thanks Paul