Page 1 of 2

GuMaxV - MW1.14 ignores MediaWiki:Common.css

Posted: April 6th, 2009, 8:25 pm
by Jonathan
I have been using your excellent GuMaxV skin for Mediawiki. Unfortunately, on upgrade to MW1.14, the MediaWiki:Common.css does not work. This may be due to this bug (https://bugzilla.wikimedia.org/show_bug.cgi?id=17613). What should I change to make the skin work fully again?

Is this also why "red" links are now blue?

Many thanks

Re: GuMaxV - MW1.14 ignores MediaWiki:Common.css

Posted: April 6th, 2009, 11:50 pm
by Paul
MediaWiki keeps changing default Skin Templates and this keeps breaking other customized skins, this is no good~! :o

Try to add a line suggested by the link, or you need to update the header of the GuMaxV.php by comparing to MonoBook.php...

I updated header for GuMaxDD, and it works...

Re: GuMaxV - MW1.14 ignores MediaWiki:Common.css

Posted: April 9th, 2009, 4:57 pm
by Jonathan
Thank you. I copied the Monobook php file up to < / head> and replaced monobook with gumaxv etc. It works! Thanks. It fixes the "red link" and "Common.css not used" problems.

Re: GuMaxV - MW1.14 ignores MediaWiki:Common.css

Posted: April 9th, 2009, 6:19 pm
by Paul
You got it right to fix it as my previous post... :D

Re: GuMaxV - MW1.14 ignores MediaWiki:Common.css

Posted: May 8th, 2009, 6:32 pm
by Bios Element
The Exact line was this.

Code: Select all

<?php $this->html('csslinks') ?>
Added here.

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="<?php $this->text('xhtmldefaultnamespace') ?>" <?php
    foreach($this->data['xhtmlnamespaces'] as $tag => $ns) {
        ?>xmlns:<?php echo "{$tag}=\"{$ns}\" ";
    } ?>xml:lang="<?php $this->text('lang') ?>" lang="<?php $this->text('lang') ?>" dir="<?php $this->text('dir') ?>">
<head>
    <meta http-equiv="Content-Type" content="<?php $this->text('mimetype') ?>; charset=<?php $this->text('charset') ?>" />
    <?php $this->html('headlinks') ?>
    <title><?php $this->text('pagetitle') ?></title>
    <?php $this->html('csslinks') ?>
    <style type="text/css" media="screen,projection">/*<![CDATA[*/
		@import "<?php $this->text('stylepath') ?>/common/shared.css?<?php echo $GLOBALS['wgStyleVersion'] ?>";
		@import "<?php $this->text('stylepath') ?>/<?php $this->text('stylename') ?>/gumax_main.css?<?php echo $GLOBALS['wgStyleVersion'] ?>";
	/*]]>*/</style>

Re: GuMaxV - MW1.14 ignores MediaWiki:Common.css

Posted: May 10th, 2009, 9:12 pm
by Paul
Bios's post is very accurate ~~ :D

Re: GuMaxV - MW1.14 ignores MediaWiki:Common.css

Posted: August 20th, 2009, 7:39 am
by constancy
CSS code to make one of those small code boxes with small fonts? Hi. I have been trying to make a small code box with small font for my layout, but I don't know the css code. Can someone please help?

Re: GuMaxV - MW1.14 ignores MediaWiki:Common.css

Posted: September 5th, 2009, 5:57 pm
by gregra
Paul,
this tweak won't work for me still.
The dead links remain blue and become red only after I click on them (as if I'm gonna create a new article) and press back.

Really need your help...

greg

Re: GuMaxV - MW1.14 ignores MediaWiki:Common.css

Posted: September 6th, 2009, 8:10 am
by Paul
The blue link is different issue, search form for the solution that is removing a few tags in gumax_template.css.

This will be fixed in next release.

Re: GuMaxV - MW1.14 ignores MediaWiki:Common.css

Posted: September 6th, 2009, 11:47 am
by gregra
OK, thanks.
Do you know which tags exactly?

greg