开发者

mediawiki common css [duplicate]

This question already has answers here: Where is monobook.js stored in MediaWiki? (2 answers) Closed 7 years ago.

I installed Mediawiki on our web server and at the moment the design is lacking a bit. I am not satisfied with the layout of my tables. In short they are ugly.

I took a look a wikipedia tables and they are using the class="wikitable" in the table declaration. After some research I found the page http://www.mediawiki.org/wiki/MediaWiki:Common.css were code is provided to improve the layout. You have to create a new page in your wiki installation and add the pr开发者_JAVA百科ovided CSS-Code and save it. After reloading and emptying the Cache of your browser (SHIFT + Reload-Button for FF) you should be able to use class="wikitable" in your table definitions. It is not working for me. Does anyone know what I missed?

regards, Usurper


Look at the HTML source of your wiki pages to see if these pages are loaded at all (note that Common.js is called from ?title=-&action=raw&smaxage=0&gen=js "site js" URL. If they are called, check the content inside.

http://www.mediawiki.org/wiki/MediaWiki_talk:Common.css#Common.css_does_not_seem_to_have_any_impact

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜