The center for all Wikitravel images!

Tech:Common.css does not work

From Wikitravel Shared
Jump to: navigation, search

What happens[edit]

CSS-classes in ru:MediaWiki:Common.css does not work e.g. in ru:Участник:Sergey kudryavtsev/Песочница.

When it happens[edit]

What should happen[edit]

How to fix it[edit]

Additional comments[edit]

For some reason this is turned off by the custom extension that does our caching. The comment there indicates that it was done "just to make sure" since some other global setting appear to have caused unspecified problems. I don't see any reason why this would cause serious problems so I've turned it on on review.

I also just talked to some people here and if we do enable this on the live version we need to lock it down to admin only access. Its possible for a malicious user to make the entire site completely unviewable (to the point where a typically user would not be able to revert changes) by editing the css. There is also the potential to vector malicious javascript to some browsers. KevinSours 15:36, 27 August 2008 (EDT)

Actually this might already be the case KevinSours 15:37, 27 August 2008 (EDT)

As far as i know a editing of any MediaWiki item (including MediaWiki:Common.css) already restricted to admin only access. What exactly you want to lock down? -- Sergey kudryavtsev 16:08, 27 August 2008 (EDT)
Just MediaWiki:Common.css. Sounds like that should be fine. KevinSours 16:15, 27 August 2008 (EDT)

Sorry, I got distracted by the server move and some other stuff. Since this doesn't appear to be causing any problems and I can't see any reason why it would, I've enabled it on the live sites. If it causes problems we may have to turn it back off KevinSours 14:30, 7 October 2008 (EDT)

Thanks, this working now. -- Sergey kudryavtsev 02:31, 8 October 2008 (EDT)
I added 'wikitable' css class to ja:MediaWiki:Common.css. It's handy for formatting wiki table. Thank you. -- Tatata 11:11, 9 October 2008 (EDT)

Kevin, one more question: is enabled a user's CSS pages (i.e. User:Name/Monobook.css)? -- Sergey kudryavtsev 05:15, 8 October 2008 (EDT)

No and for various reasons its not easy to make this work with our current setup. KevinSours 10:13, 8 October 2008 (EDT)
It's a pity... I just want test a changes in my local CSS before push them into life. -- Sergey kudryavtsev 08:16, 9 October 2008 (EDT)
Excuse my butting in. Can you turn MediaWiki:Common.js on just ja:? I'd like to try sidebar icons on ja:. That has been left for a year. -- Tatata 11:54, 8 October 2008 (EDT)

Sign below, please[edit]

-- Sergey kudryavtsev 08:25, 9 July 2008 (EDT)

See also[edit]

Variants

Actions

In other languages