-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
simetrical@svn.wikimedia.org wrote:
Revision: 23409 Author: simetrical Date: 2007-06-26 01:01:08 +0000 (Tue, 26 Jun 2007)
Log Message:
- Wrap site CSS and JavaScript in a <pre> tag, like user JS/CSS
- (bug 10196) Add classes and dir=ltr to the <pre>s on CSS and JS pages (new classes: mw-user-css, mw-user-js, mw-site-css, mw-site-js)
A little note: remember you can use multiple classes. It might be a little more consistent to be able to style *all* such items in a group.
Say, one class marks it as being low-level web source code.
Another class marks it as being CSS or JS.
A third class might define it as being specifically a per-user item or a per-site item.
Then, if additional such tools are brought in they'll get styled automatically.
- -- brion vibber (brion @ wikimedia.org)
On 6/26/07, Brion Vibber brion@wikimedia.org wrote:
A little note: remember you can use multiple classes. It might be a little more consistent to be able to style *all* such items in a group.
Say, one class marks it as being low-level web source code.
Another class marks it as being CSS or JS.
A third class might define it as being specifically a per-user item or a per-site item.
Then, if additional such tools are brought in they'll get styled automatically.
You're quite correct, of course. I've gone for "mw-code mw-css/js". If someone wants to distinguish between user and site code, they can just use the namespace class.
"Simetrical" Simetrical+wikilist@gmail.com wrote in message news:7c2a12e20706261006s78be96b5wf62ad56478f5c61d@mail.gmail.com...
On 6/26/07, Brion Vibber brion@wikimedia.org
wrote:
A little note: remember you can use multiple classes. It might be a little more consistent to be able to style *all* such items in a group.
Say, one class marks it as being low-level web source code.
Another class marks it as being CSS or JS.
A third class might define it as being specifically a per-user item or a per-site item.
Then, if additional such tools are brought in they'll get styled automatically.
You're quite correct, of course. I've gone for "mw-code mw-css/js". If someone wants to distinguish between user and site code, they can just use the namespace class.
"/" is not a valid character in class names.
- Mark Clements (HappyDog)
On 26/06/07, Mark Clements gmane@kennel17.co.uk wrote:
"/" is not a valid character in class names.
I believe he meant "I've gone for mw-css [or] mw-jss".
Rob Church
"Rob Church" robchur@gmail.com wrote in message news:e92136380706292026i6386496aq48e100f99be71962@mail.gmail.com...
On 26/06/07, Mark Clements gmane@kennel17.co.uk
wrote:
"/" is not a valid character in class names.
I believe he meant "I've gone for mw-css [or] mw-jss".
Well, that would make more sense ;-)
- Mark Clements (HappyDog)
wikitech-l@lists.wikimedia.org