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.
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?
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/
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.
Note that you're using background-image: url(./images... whereas that should be background-image: url(/sopadepedres/images...
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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
I've been searching the web for an answer to allowing MS2007 files to be uploaded into Mediawiki. When an upload is attempted, for say a docx file, and is allowed via $wgFileExtensions in LocalSettings.php, the upload fails with the notorious "corrupt file" error. From what I've read this is due to MS2007 files essentially being zip files and the mime type not being properly set in either the Mediawiki mime.types file and/or Apache.
If anyone has a solution that is known to solve this problem I'd appreciate hearing about it.
-Jim
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
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.
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@lists.wikimedia.org