Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki

common.css ignored after upgrading?

 

 

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded


dvd at enlloc

Oct 7, 2009, 3:25 AM

Post #1 of 9 (1188 views)
Permalink
common.css ignored after upgrading?

Hi;

After upgrading from 1.12 to 1.15.1 the styles defined on
'MediaWiki:Common.css' seems to be ignored.

It works in other 1.15.1 new installations in the same server.

What's the matter?

Any idea?

-dvdgmz.


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Platonides at gmail

Oct 8, 2009, 2:55 PM

Post #2 of 9 (1119 views)
Permalink
Re: common.css ignored after upgrading? [In reply to]

david wrote:
> Hi;
>
> After upgrading from 1.12 to 1.15.1 the styles defined on
> 'MediaWiki:Common.css' seems to be ignored.
>
> It works in other 1.15.1 new installations in the same server.
>
> What's the matter?
>
> Any idea?
>
> -dvdgmz.

In case you changed $wgCapitalLinks to false, you'd need to edit
MediaWiki:common.css
There could be some error loading the styles...
Is that wiki publicly viewable?


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


dvd at enlloc

Oct 9, 2009, 7:10 AM

Post #3 of 9 (1115 views)
Permalink
Re: common.css ignored after upgrading? [In reply to]

El dj 08 de 10 de 2009 a les 23:55 +0200, en/na Platonides va escriure:
> > After upgrading from 1.12 to 1.15.1 the styles defined on
> > 'MediaWiki:Common.css' seems to be ignored.
> In case you changed $wgCapitalLinks to false, you'd need to edit
> MediaWiki:common.css

No, $wgCapitalLinks it's not changed.

> There could be some error loading the styles...
> Is that wiki publicly viewable?

Yes, here it is:
http://enlloc.net/sopadepedres/


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Platonides at gmail

Oct 9, 2009, 3:03 PM

Post #4 of 9 (1106 views)
Permalink
Re: common.css ignored after upgrading? [In reply to]

david escribió:
> El dj 08 de 10 de 2009 a les 23:55 +0200, en/na Platonides va escriure:
>>> After upgrading from 1.12 to 1.15.1 the styles defined on
>>> 'MediaWiki:Common.css' seems to be ignored.
>> In case you changed $wgCapitalLinks to false, you'd need to edit
>> MediaWiki:common.css
>
> No, $wgCapitalLinks it's not changed.
>
>> There could be some error loading the styles...
>> Is that wiki publicly viewable?
>
> Yes, here it is:
> http://enlloc.net/sopadepedres/


You seem to have $wgUseSiteCss = false;

I also recommend you to avoid giving a 404 if accessing as www.enlloc.net

PS:http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fenlloc.net%2F
56 Errors, 1 warning.


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Platonides at gmail

Oct 9, 2009, 3:08 PM

Post #5 of 9 (1113 views)
Permalink
Re: common.css ignored after upgrading? [In reply to]

Note that you're using
background-image: url(./images...
whereas that should be background-image: url(/sopadepedres/images...


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


dvd at enlloc

Oct 14, 2009, 3:08 AM

Post #6 of 9 (1054 views)
Permalink
Re: common.css ignored after upgrading? [In reply to]

ENGLISH ------------

Hi Platonides;
Thank you for the advices about "enlloc.net". I Attempt to follow them
and I have already corrected partialy.

I had not written "$wgUseSiteCss = false;" in "Localsettings.php"
But now I have written "$wgUseSiteCss = true;" in it and it continues
not working.

I have another wiki in the same server where "MediaWiki:Commons.css"
works.
http://enlloc.net/hkp/w
The difference between both wikis is that "sopadepedres" is an update
from 1.12 and for "hkp/w" I installed version 1.15.1 directly.

I can't understand what is happening

ESPAÑOL ------------

Gracias por los consejos sobre 'enlloc.net', intento seguirlos y ya he
corregido una parte.

Yo no tenía "$wgUseSiteCss = false;" en el "Loacalsettings.php" de este
wiki. De todas formas he escrito "$wgUseSiteCss = true;" en él, por si
acaso. Pero sigue sin funcionar ignorando los estilos de la página.

Tengo otro wiki en el mismo servidor en el cual "MediaWiki:Commons.css"
sí funciona.
http://enlloc.net/hkp/w
La diferencia entre estos dos wikis es sólo que "sopadepedres" fue
actualizado a la versión "1.15.1" desde la "1.12". En cambio "hkp/w" es
una instalación nueva, directamente en "1.15.1".

No consigo entender qué está pasando.

Otra cosa. Veo que en Mediawiki.org en "MediaWiki:Common.css" el texto
se pinta en colores según su sintaxis. Esto no pasa en mis wikis. Tenéis
idea de por qué.

Gracias de nuevo; un saludo.
Greetings;


- dvdgmz


El ds 10 de 10 de 2009 a les 00:03 +0200, en/na Platonides va escriure:
> david escribió:
> > El dj 08 de 10 de 2009 a les 23:55 +0200, en/na Platonides va escriure:
> >>> After upgrading from 1.12 to 1.15.1 the styles defined on
> >>> 'MediaWiki:Common.css' seems to be ignored.
> >> In case you changed $wgCapitalLinks to false, you'd need to edit
> >> MediaWiki:common.css
> >
> > No, $wgCapitalLinks it's not changed.
> >
> >> There could be some error loading the styles...
> >> Is that wiki publicly viewable?
> >
> > Yes, here it is:
> > http://enlloc.net/sopadepedres/
>
>
> You seem to have $wgUseSiteCss = false;
>
> I also recommend you to avoid giving a 404 if accessing as www.enlloc.net
>
> PS:http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fenlloc.net%2F
> 56 Errors, 1 warning.
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Platonides at gmail

Oct 14, 2009, 9:40 AM

Post #7 of 9 (1044 views)
Permalink
Re: common.css ignored after upgrading? [In reply to]

david wrote:
> ENGLISH ------------
>
> Hi Platonides;
> Thank you for the advices about "enlloc.net". I Attempt to follow them
> and I have already corrected partialy.
>
> I had not written "$wgUseSiteCss = false;" in "Localsettings.php"
> But now I have written "$wgUseSiteCss = true;" in it and it continues
> not working.
>
> I have another wiki in the same server where "MediaWiki:Commons.css"
> works.
> http://enlloc.net/hkp/w
> The difference between both wikis is that "sopadepedres" is an update
> from 1.12 and for "hkp/w" I installed version 1.15.1 directly.
>
> I can't understand what is happening

It's strange, since it looks exactly that $wgUseSiteCss is disabled..

Did you add $wgUseSiteCss at the bottom of the file? (just in case some
include changed it)
Did you modify the skin ?

Looking at it , you probably didn't overwrite all 1.12 files with the
1.15.1 ones. It is loading shared.css and main.css as @imports inside an
<style>, in a way which is not done since 1.14.
But to not incldue a reference to MediaWiki:Common.css there you would
need to have to be using a Skin.php file from MediaWiki 1.5


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


dvd at enlloc

Oct 15, 2009, 1:32 AM

Post #8 of 9 (1039 views)
Permalink
Re: [solved] common.css ignored after upgrading? [In reply to]

El dc 14 de 10 de 2009 a les 18:40 +0200, en/na Platonides va escriure:
> Looking at it , you probably didn't overwrite all 1.12 files with the
> 1.15.1 ones. It is loading shared.css and main.css as @imports inside an
> <style>, in a way which is not done since 1.14.
> But to not incldue a reference to MediaWiki:Common.css there you would
> need to have to be using a Skin.php file from MediaWiki 1.5

Ah! The problem was here!
I had re-written the contents of "skins" folder with the new version
files. What I have made now is to throw away all of them and to
substitute them for the new ones.
Maybe some file had remained in the old version.

"MediaWiki.css" is not ignored any more and it's working fine.

Thanks a lot.
Muchas gracias por la ayuda!

David.


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Platonides at gmail

Oct 15, 2009, 1:36 PM

Post #9 of 9 (1037 views)
Permalink
Re: [solved] common.css ignored after upgrading? [In reply to]

david wrote:
> El dc 14 de 10 de 2009 a les 18:40 +0200, en/na Platonides va escriure:
>> Looking at it , you probably didn't overwrite all 1.12 files with the
>> 1.15.1 ones. It is loading shared.css and main.css as @imports inside an
>> <style>, in a way which is not done since 1.14.
>> But to not incldue a reference to MediaWiki:Common.css there you would
>> need to have to be using a Skin.php file from MediaWiki 1.5
>
> Ah! The problem was here!
> I had re-written the contents of "skins" folder with the new version
> files. What I have made now is to throw away all of them and to
> substitute them for the new ones.
> Maybe some file had remained in the old version.
>
> "MediaWiki.css" is not ignored any more and it's working fine.
>
> Thanks a lot.
> Muchas gracias por la ayuda!
>
> David.

O_O
For an upgrade you need to exchange the whole folder with the new one
(except LocalSettings.php and image/ folder).


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.