GuMaxV - MW1.14 ignores MediaWiki:Common.css

If you are having problems with GuMax, post here.
User avatar
Jonathan
Rank 6
Rank 6
Posts: 33
Joined: April 6th, 2009, 8:19 pm

GuMaxV - MW1.14 ignores MediaWiki:Common.css

Post 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
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

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

Post 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...
User avatar
Jonathan
Rank 6
Rank 6
Posts: 33
Joined: April 6th, 2009, 8:19 pm

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

Post 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.
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

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

Post by Paul »

You got it right to fix it as my previous post... :D
User avatar
Bios Element
Rank 0
Rank 0
Posts: 1
Joined: May 8th, 2009, 6:31 pm

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

Post 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>
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

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

Post by Paul »

Bios's post is very accurate ~~ :D
User avatar
constancy
Rank 0
Rank 0
Posts: 1
Joined: August 19th, 2009, 6:13 am

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

Post 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?
User avatar
gregra
Rank 1
Rank 1
Posts: 6
Joined: June 27th, 2009, 5:22 pm

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

Post 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
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

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

Post 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.
User avatar
gregra
Rank 1
Rank 1
Posts: 6
Joined: June 27th, 2009, 5:22 pm

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

Post by gregra »

OK, thanks.
Do you know which tags exactly?

greg
Post Reply