Help talk:User style

From Meta, a Wikimedia project coordination wiki
(Redirected from Talk:User styles)
Jump to: navigation, search

Thumbnail background[edit]

My skin has a dark background, so when there's an image thumbnail in an article, i can see the white border. I tried copying the thumbnail CSS parts from Common.css, putting them in myskin.css, and changing them, which worked for the messageboxes, but it won't work for thumbnails. Any ideas?

Middle East
Can you show a screenshot? You mean like the white border around this? You can get rid of that with:
div.thumb { 
    border-color: transparent;
}
— Omegatron 16:04, 5 February 2006 (UTC)
That did it, thanks

I tried that, however, I still have a tiny white border:

http://wolsung.wikia.com/wiki/Maszyna_r%C3%B3%C5%BCnicowa

Can you tell me what to edit? It seems to be in a div that's got not class, only specified width. Or is it the image border? --Silencer 21:11, 12 May 2006 (UTC)

No article background colour[edit]

I'm trying to setup my css file so that the main article doesn't have a background colour, so that the body background image can be seen. Which part do I need to edit?

Css in user subpages vs. css in a local file[edit]

Under this heading, I had expected to find an explanation of how people editing/writing pages can set a stylesheet to a page ("user subpage"?). For the life of me, I was not able to understand from the text how this is done?

a stylesheet is normally not set for a page (uniformity is better), but one can specify it for oneself for all pages in a project, or all pages on the web.--Patrick 07:54, 15 Oct 2004 (UTC)

In the paragraph just above the section title (same title as what I've put for this Talk), it says:

For "MySkin" there is no main.css applicable. However, confusingly, MediaWiki:Monobook.css is imported. The applicable personal css page is User:username/ myskin.css (all lowercase!).

Does this mean that I should be able to find a css called myskin.css in a directory with my Username?

You can make such a page, e.g. User:Rbiggs/monobook.css .--Patrick 07:54, 15 Oct 2004 (UTC)

Perhaps the section heading set expectations it was never meant to. Is there a way to embed a stylesheet on an article page? How does one set "a local CSS ... on the browser"?

Rbiggs 22:44, 14 Oct 2004 (UTC)

Depends on the browser.--Patrick 07:54, 15 Oct 2004 (UTC)

I don't understand the bit about 'Special:Mypage/monobook.css'. Should that be "User:Username/monobook.css" or does it refer to something else? - Tarquin 10:38, 23 April 2007 (UTC)

What is meant is the page you arrive at when you follow the link Special:Mypage/monobook.css, so yes, "User:Username/monobook.css".--Patrick 11:04, 23 April 2007 (UTC)

transclusion in user/css subpages[edit]

Hi, while adjusting my personal version of monobook.css, I came across the question whether our transclusion mechanism also works in the user/css subpages? If so, we could create something like a specialised part of the MediaWiki-namespace and use it for css personalization, i.e. if you want rounded corners or move the user area or whatever, you could include something like

{{css-rounded-corners}} {{css-move-user-area}}

instead of copying it manually (with the burden to actualize if something changes). -- Tillwe 12:18, 30 May 2004 (UTC)

Very interesting. I'll probably try it if nobody else has. -- Cyrius 18:47, 30 May 2004 (UTC)
It doesn't work. -- Cyrius 19:27, 30 May 2004 (UTC)

Pity -- Tillwe 20:03, 31 May 2004 (UTC)

Well, there's certain risks of having the CSS out in the open for everyone to edit. -- Cyrius 23:09, 31 May 2004 (UTC)
Try something like
 @import url(/w/index.php?title=User:Angela/monobook.css&action=raw&ctype=text/css);
in your user css to import Angela's styles. Disclaimer: This is unsafe if you use IE as it allows javascript in stylesheets! -- Gwicke 16:31, 1 Jun 2004 (UTC)
Found a useful application for this ;-) -- you can import your own css form own language wikipedia to an other if you give the full URL. -- Tillwe 20:35, 1 Jun 2004 (UTC)

Ooh, very nice indeed. After a little tinkering I found a JS equivalent:

 document.write('<SCRIPT SRC="/w/wiki.phtml?title=User:Angela/monobook.js&action=raw&ctype=text/javascript"><\/SCRIPT>');

That seems to work well with Tillwe's "full URL" trick, too. (I'm using that to keep all my styles consistent between here and en.) - jredmond 05:53, 4 Jun 2004 (UTC)

Ok, i really don't know if i understand this feature right, but is the following possible:

  • Create a CSS page under your User page. Let's say User:Hoehrer/mystyles.css (e.g there is a class defined with the name dummyclass)
  • Use the styles (without tweaking the php files or other 'internal' stuff like that) in a normal wiki-page. (e.g before mentioned dummyclass style) So everybody else can see this style.

(So for short : IS it possible to use (wikipage) styles sitewide for every user?)
I hope i made myself clear. Thanks for every answer. --Hoehrer 17:24, 22 September 2005 (UTC)

Changing text style in diff[edit]

Is there any way to change the formatting on the text itself in the diff view? I can find plenty of documentation on changing diff background colors, but nothing on altering the way the text itself is displayed. If it's at all possible, I'd like to have diff text show up underlined; I can't always tell the red from the black. - jredmond 02:58, 4 Jun 2004 (UTC)

OK, so I did a little digging, and it looks like diff text is formatted by
<font color="red">diff text goes here</font>
so changing my css wouldn't really affect how diff is rendered. Alas. - jredmond 06:01, 4 Jun 2004 (UTC)

Excerpting from monobook/main.css:

/*
** Diff rendering
*/
table.diff { background:white; }
td.diff-otitle { background:#ffffff; }
td.diff-ntitle { background:#ffffff; }
td.diff-addedline { background:#ccffcc; }
td.diff-deletedline { background:#ffffaa; }
td.diff-context { background:#eeeeee; }

You can replace stuff between {} to add to or replace the style of the diff elements. I found that adding font-size: 123%; helps a lot.

I saw that, but changing the background colors won't help. However, changing the font-size attribute could help quite a bit - I'll have to give it a try. Thanks! - jredmond 16:10, 4 Jun 2004 (UTC)
Realize that you don't have to mention the background at all unless you actually want to change it. You can change any element of the style, it's all additive. If you need a list of style elements that can be changed, look for css docs on the net. (Do we have a wiki page somewhere on it or do we need to write one?) --Ssd 11:20, 5 Jun 2004 (UTC)
I've added the font size increase for all text, but how do I increase the diff text exactly? Dori | Talk 12:34, 5 Jun 2004 (UTC)
/*
** Diff rendering
*/
td.diff-addedline { background:#ccffcc;  font-size: 120%;}
td.diff-deletedline { background:#ffffaa;  font-size: 120%;}
td.diff-context { background:#eeeeee;  font-size: 120%;}

--Patrick 12:48, 5 Jun 2004 (UTC)

Ah, thank you. Dori | Talk 13:08, 5 Jun 2004 (UTC)


OK - I think I got it, sort of. Because the diff text is formatted with <font color="red">, I tried this first in my monobook.css:

font {text-decoration: underline; }

Unfortunately, that didn't work. However, going bold with the red text does work:

font {font-weight: bold; }

This only affects text that is different from one revision to the next, because those are the only bits of text modified by <font>. (Theoretically, the "Remember that this is a preview..." line would also be affected, since it's also modified by a <font> tag, but that's already bolded so it's no different than before.) Appended paragraphs, diff-context, regular article text, and standard page components all display normally.

Thanks for the suggestions! - jredmond 01:19, 6 Jun 2004 (UTC)

I've removed that font thing an replaced it with <span class="diffchange">. The font size is also reduced in css now instead of hard-coded <small> tags. Happy styling. -- Gwicke 02:05, 12 Jun 2004 (UTC)
Thanks, Gabriel. For the record, there were some questions about this over at the en.Village pump, and in response I'm posting a link to here. (I've also taken out the "font" line from my monobook.css and replaced it with a .diffchange {text-decoration:underline;}, and IMHO it works even better than boldface. hooray!) - jredmond 04:40, 12 Jun 2004 (UTC)

Woah...what happened to the red part though??? This new way is totally useless because it matches the previous way of spacing changes (which I usually disregarded). Please bring back the red font for changes by default. Dori | Talk 13:18, 12 Jun 2004 (UTC)

The red colour is in the default css, please do a forced reload. -- Gwicke 22:50, 13 Jun 2004 (UTC)

Classic skin CSS?[edit]

I use the classic skin in my prefs. Can I edit the css for that somewhere? 13:28, 13 Jun 2004 (UTC)

Yes, User:Lupin/standard.css should work now (added this feature last week) -- Gwicke 22:06, 13 Jun 2004 (UTC)
Hmmm.... this doesn't appear to work for me. I can preview the changes on that page (this one, to be precise) and they show up, but it doesn't seem to affect anything else even after a forced-reload. Is this borked or and I doing something wrong? Lupin 08:01, 14 Jun 2004 (UTC)
Hm, there was a typo in the code (the .css extension got lost somehow), should work now. -- Gwicke 08:53, 14 Jun 2004 (UTC)
Thanks -- seems to be working now. Lupin 09:51, 14 Jun 2004 (UTC)

Can I add links to the Sidebar?[edit]

If I want to add a personal link to the sidebar or the personal link list, can I do it with css or js? I'd like to replace the my talk link or perhaps the Help link with a link to a personal subpage. Can I do it? ✏ Sverdrup 12:33, 14 Jun 2004 (UTC)

Yes, you can do it in js. See http://meta.wikipedia.org/style/wikibits.js (especially function tabbedprefs) and http://www.quirksmode.org for examples. -- Gwicke 18:00, 14 Jun 2004 (UTC)
Hey, I'd like to do this as well but I don't really get what you mean? Could you elaborate a bit on just HOW to do this? I'm no expert in JS but i can get the gist of it. But I understand if you don't have time to explain. 68.1.106.199 21:38, 15 Jun 2004 (UTC)

Adding links to personal bar[edit]

I'm not an expert in css: Can I add custom links to my personal bar (where "my talk" etc. is)? If yes, how? :-) --Conti 13:04, 1 Jul 2004 (UTC)

Yes, you can do this with js. An example might be en:User:Angela/Monobook.js. -- Gwicke 15:44, 1 Jul 2004 (UTC)
Hmm, the page is empty, also is en:User:Angela/monobook.js. --Conti 6:30, 1 Jul 2004 (UTC)

Moving the personal tools to a sidebar[edit]

Why do the links un-underline when you hover over them, but the other links in the sidebar do not? - Omegatron 17:30, 7 Aug 2004 (UTC)

Setting Default Skin in my Wiki[edit]

Where can I get info on setting up a default skin for my own wiki? I can't seem to find it in the documentation I got with the MediaWiki software. I want this skin to be the one that all users see. I'm a complete novice when it comes to CSS and any kind of coding so something as non technical as possible would be extremely helpful. I'm willing to learn CSS along the way but don't want to be baffled by it from the outset.

mandrill 19:38, 25 Aug 2004 (UTC)

I don't know if this is exactly what you're looking for, but: Go to a page on your wiki, and view the source. You should see a "style" tag near the top that references something like "/skins/monobook/main.css". Edit that file to change the skin's CSS.

I have no idea how to set which skin is the default, but presumably there *is* some kind of default skin already; so you could just edit that, assuming you can make all the changes you want using only CSS and Javascript.

--203.32.87.50 11:46, 14 Dec 2004 (UTC)

border color[edit]

Is it possible to change the border color not only in the search box? How?

Move an article part to the sidebar[edit]

If a part of the article is wrapped in a div with an unique class, can I move it to the sidebar? With CSS alone? --Pjacobi 22:37, 2004 Oct 16 (UTC)

Move footer/create top title graphic?[edit]

Which section(s) do I need to change in the monobook main.css to move along the footer with the main section and page cactions of the layout? I want to insert a title graphic over the main section of the page, next to the logo, and therefore needs everything moved a tad down on the page. I successfully managed to move the main section by manipulating the positions in the main.css, only to discover the page now completely covered up the footer. Is there a way to make the footer position relative to the position of the main section?

Where would be the best place to insert the title graphic and any html/php which might come with it? I'd be most grateful for any advice :-) --Morten Blaabjerg 22:41, 8 Dec 2004 (UTC)


bottom tabs stopped working[edit]

something caused the bottom tabs to stop working. anyone figure out why? - Omegatron 19:55, 3 Feb 2005 (UTC)


Floating sidebar[edit]

I don't know anything about css, but is there a way to get the floating (rather than fixed) sidebar functionality with a custom style? - Omegatron 21:07, 11 Jun 2004 (UTC)

This is hard to do with monobook (most likely destroys the tabs, long language list etc). I tried a bit before and didn't succeed, you'd need a fair bit of css knowledge and time at least. Should be much easier if you employ some js to move the tabs physically on top of the content area, then they aren't affected by sidebar styling. Guess sooner or later somebody will post something along these lines, you'll just have to wait a bit ;-) -- Gwicke 22:10, 13 Jun 2004 (UTC)
See User:Lupo/monobook.js, function topTabsToRightPlace(). -- Gwicke 18:04, 14 Jun 2004 (UTC)
What exactly would I do with that file, and what exact effects would it have? - Omegatron 18:26, 16 Jun 2004 (UTC)

Kludgy but working version[edit]

I don't understand what Gwicke said, but I did figure out a kludgy version of the fixed sidebar. Add these:

/* TRYING TO MAKE A FLOATING SIDEBAR */
#p-logo     { position:fixed; }
#p-personal { position:fixed;  top:0em;}
#p-nav      { position:fixed;  top:9em; }
#p-search   { position:fixed;  top:19em; }
#p-tb       { position:fixed;  top:24em; z-index:3; }
#p-tbx      { position:fixed;  top:20em; z-index:3; }
#p-lang     { position:fixed;  top:31em; z-index:3; }
#footer     { display:none; }

Notice that the footer gets screwed up and ends up at the top of the page behind everything, so I just turned it off for now. I would like each "portlet" to be aligned to the coordinates of the other portlets, instead of to fixed em heights, but I don't know how to do that. If you add

border: 1px solid red; 

to each one, you can see the area each box has and how they overlap. Theoretically they should all position relative to each other instead of to fixed heights. Making them float ruined whatever relative heights were in there originally. Maybe they can all be put in a single floating div thing and remain the way they were inside it?

Also, what is the difference between p-tb and p-tbx? I am very new to css and I only see p-tbx in the main.css file.

Also, it makes it impossible to see language links if there are a lot of them. It would be nicer if the toolbar or just the language section could become like another "frame" and you could scroll it independently if necessary. Losing the language links doesn't bother me, but it certainly would bother others.

You could also turn the language links into a drop-down box.

Can anyone help me do these things? - Omegatron 21:37, 22 Jan 2005 (UTC)

*bump*
...
anyone?
Bueller?
*sigh* - Omegatron 21:12, 26 Mar 2005 (UTC)
Omegatron (or anyone else who is wondering the same thing), I'm no expert but I think p-tbx may have been an older usage now replaced by p-tb. I've been redoing the skin to my wiki and was unable to get the toolbox to change, until I came across this page and tried switching p-tbx to p-tb, and now it works fine. Zach 21:17, 5 March 2006 (UTC)
  • I don't know what was so hard about the instructions above, but it worked for me. You can also make your "auto TOC" floating using the same technique. Just edit the #toc section. I made all changes in /wiki/skins/monobook/main.css
Jctong 00:17, 23 Jun 2005 (UTC)
  1. The footer's screwed up.
  2. The location of each box is set by em instead of stacking them up on top of each other, so if a menu item is added or subtracted the menu boxes still stay in exactly the same place, overlapping or leaving empty space. The values all have to be changed when the software is changed, etc.
  3. The languages are hidden beyond the bottom of the screen and aren't scrollable. - Omegatron 23:47, 29 Jun 2005 (UTC)

If you change p-nav to p-navigation and leave out p-tbx, it works fine. Also make sure you have a scrollbar for the language box:

 #p-lang .pBody ul { height: 5em; overflow: auto; }

Vildricianus 13:03, 31 March 2006 (UTC)

I just played a bit with the Monobook CSS and found this approach useful:
inside the PHP/HTML-Code move p-personal and p-cactions from column-one into column-content and in the CSS define #column-one { position: fixed; ... }
--> the left-hand portlets are stacked as usual, but the whole column-one is fixed
This might be considered a bad hack, because I let my layout influence the structure of the document (p-cactions becomes part of content just because they should be displayed with it). But on the other hand the partition column-one, content, footer seems just as arbitrary to me.
"Disclaimer": I have no experience with MediaWiki and do not now if my approach breaks other thing. The problem with the footer remains as well (maybe someone finds a way to solve it with CSS).
Martin - 00:51, 10 October 2005 (UTC)

Removing "upload file" link[edit]

I'd like to hide or otherwise obscure my upload link on everything except commons to remind myself to put things there. How do I do it? - Omegatron 21:12, 26 Mar 2005 (UTC)

Figgered it out m'self. Thanks fer nuthin'. - Omegatron 01:04, 16 Jun 2005 (UTC)
/* Reminder to upload to Commons instead */
li#t-upload { text-decoration: line-through; }

Default style fr vs. en[edit]

Every time I come back from the french wikipedia I wonder why the English wiki (and other) do not look as good in the default style. BTW is there a reason why the French use a different stylesheet? Do you prefer the default or the French default style?

css in Templates[edit]

It would be nice if we could transclude into our user css instead of copying and pasting code from this page, so that we could have "bug fixes" and the like automatically synchronizing from a single source. - Omegatron 00:44, 16 Jun 2005 (UTC)

Main File[edit]

I'm having trouble with my main Monobook.css file (located here) - I'm trying to get links not to be underlined, but then to be underlined when you hover your mouse over them. How is this achived? -- Super Sam 12:37, 28 Jun 2005 (UTC)

Never mind, it's just my browser. -- Super Sam 13:37, 28 Jun 2005 (UTC)

Activating User Styles[edit]

I see that I can use a personal user style on this wiki (by creating a page named Tdoyle/monobook.css and placing appropriate commands there). What I cannot figure out is how to get this to work on my own wiki. Was this feature added or was it always available? What in the minimum MediaWiki version needed for this to work? Is there something in the configuration that is needed to activate this feature?

Thank you!

Tdoyle 20:34, 26 August 2005 (UTC)


I've got the same problem here. I can make a user style on Wikipedia, but not on my own installation of MediaWiki. I am using MediaWiki 1.5rc4.

80.202.218.183 09:36, 30 September 2005 (UTC)

Finally found the solution! You need to add "$wgAllowUserJs = true;" and "$wgAllowUserCss = true;" to your LocalSettings.php file...

But how do you do that? 68.35.251.41 23:44, 12 January 2006 (UTC)

Disabling an ALT command[edit]

Sometimes when I mean to hit ALT-P for preview, I hit ALT-O accidentally logging myself out. Can I specifically disable the ALT-O action? --217.140.228.11 12:11, 20 September 2005 (UTC)


Using Inline <style> Tags[edit]

Is it possible to use <style> tags to insert local CSS directives directly? (It seems like my naive attempt to do so simply results in the raw text being inserted into the document.) I would like to do this, for example, to style all cells within a table; e.g., <style>table#mytable td { valign: top; }</style>. --Chris Waterson 19:42, 25 January 2006 (UTC)

Cleanup request[edit]

There are red links to Template:Phh:User style and Template:Ph:User style at the top and bottom of the page, and in the footer, that don't make any obvious sense (at en:Help:User style).

Also i'd like to suggest a merge of the tiny bits of scattered information at Help:Preferences#Skin and Help:Preferences#Providing your own CSS and Help:User style and en:Wikipedia:Customisation to a single location. thanks :) --24.68.132.132 03:25, 7 March 2006 (UTC) (and updated at --24.68.132.132 00:47, 8 March 2006 (UTC))

Phh is local Wikipedia stuff (should be okay now) not used on Meta, and Meta's Ph is unrelated to Wikipedia's Ph: that's for specific details wrt the project (Meta, Wikipedia, Wiktionary, etc.) sharing the same master help page. -- Omniplex (w:t) 06:57, 25 April 2006 (UTC)

Changing the character used as the divider between categories in category box[edit]

I didn't spot any (presumably CSS) code for this in the article, so if this is possible and anyone reading this knows the necessary code to add to my user .css file, I'd be grateful if you'd add it here. Thanks, David Kernow 19:35, 15 March 2006 (UTC)

Page categorization[edit]

This page is currently categorized as help for "Readers", but it seems to be written with Administrators as an audience. I was attempting to use it on the English Wikipedia, and was very confused about how to find LocalSettings.php, for example. Would there be any objections to me writing an end-user-focused page on this topic for the Reader section of the handbook, and moving the current page to the System Admin section? -- Creidieki 20:06, 15 April 2006 (UTC)

Please do that. --Archelon 2006.04.19

Maybe add something from w:Wikipedia:Customisation for the user page (?) -- Omniplex (w:t) 07:01, 25 April 2006 (UTC)

special:Mypage[edit]

The link was formerly User:YourUserName/monobook.css which goes to a locked page. Picked up the Special:Mypage/monobook.css trick experimenting with {{subst:navpop}} in my monobook.js MaxEnt 03:44, 27 April 2006 (UTC)

navigation bar problem[edit]

On Wiktionary I've used Javascript to add to my navigation bar. For one entry I have two links, for another I have three. The problem is that each link is appearing on a separate line even though there is just one bullet. My CSS knowledge is not sufficient to understand why.

This is what I wanted:

*Random (en) (es)
*Requests (cat)

This is what I see:

*Random
 (en)
 (es)
*Requests
 (cat)

Can anybody help me please? — Hippietrail 03:06, 28 April 2006 (UTC)

In case anyone is interested, it turned out that #p-navigation a had width set to 100%. Setting it back to auto solved the problem. — Hippietrail 15:30, 30 April 2006 (UTC)
Followup. The above only solved the problem for IE. To also work with Firefox and Opera, you also have to set display to inline. — Hippietrail 00:11, 11 May 2006 (UTC)

Wikipedia[edit]

On wikipedia, how do you make the "edit this page" tab just say "edit"? And how do you put the "move" tab on the side? --User:GeorgeMoney w:User:GeorgeMoney 00:34, 6 May 2006 (UTC)

disabling alt-d[edit]

all my web searches pointed to the same ineffective solution on this page, so i figured it out on my own.

go to /var/www/html/wiki/skins/common open the file wikibits.js

find this function and edit so it looks like this: (just one line change)

this disables all those alt-access keys since the test case never becomes true (length of id is never negative), so it always goes to the else statement which is harmless. Borg 21:14, 7 August 2006 (UTC)

function akeytt() {
    if(typeof ta == "undefined" || !ta) return;
    pref = 'alt-';
    if(is_safari || navigator.userAgent.toLowerCase().indexOf( 'mac' ) + 1 ) pref = 'control-';
    if(is_opera) pref = 'shift-esc-';
    for(id in ta) {
        n = document.getElementById(id);
        if(n){
            a = n.childNodes[0];
            if(a){
                //I CHANGED THE LINE BELOW, this is what it was: if(ta[id][0].length > 0) {
                if(ta[id][0].length < 0) {
                    a.accessKey = ta[id][0];
                    ak = ' ['+pref+ta[id][0]+']';
                } else {
                    ak = '';
                }
                a.title = ta[id][1]+ak;
            } else {
                if(ta[id][0].length > 0) {

Implementation problem with border-collapse property[edit]

Generally this property is not fully implemented in many browsers. I use Firefox1.5 mostly and check with Opera9 and IE6. In large "wikitables", the vertical lines don't always display in Firefox fully. I have no problem with the others. I was trying to make a style within a table without the border-collapse property, but can't make cells inherit the border properties of the table. Am I permitted to create a new style in MediaWiki:Common.css? Hoverfish 23:35, 21 November 2006 (UTC)

Are these changes possible with CSS?[edit]

Can I make these changes to my Wikipedia CSS file?

  • I would like to have all text outside edit boxes and <pre> boxes be in the "Times New Roman" font.
  • I installed code that made some links have underscores, but not all. The code I found is at Wikipedia:User:Will Pittenger/monobook.css#Always Underline Links. (You may need to manually purge the page to get the section link to work.) Currently, links I have yet to visit are underlined, but not visited links.

Will (Talk - contribs) 08:24, 10 January 2007 (UTC)

Check out wikia:klingon:MediaWiki:Monobook.css. for the serif question. Splarka 09:09, 18 January 2007 (UTC)
For the font, body { font-family: 'Times New Roman'; } should do the trick. To get links underlined, I suggest you go to your preferences and change the "Underline links" option (last tab) to "Always". I never managed to make that work using just my monobook.css... --Dapeteばか 10:20, 18 January 2007 (UTC)

The suggestions that Dapete made are working fine. I wonder why I never saw the underline option before. Will (Talk - contribs) 07:32, 19 January 2007 (UTC)

Wikipedia[edit]

Over on Wikipedia I think I messed up my monobook profile or something. Now when I highlight a section while editing it pops up above the edit section area in a blue tinted version. Also it's very hard to highlight a section as it always includes other irrelevant paragraphs and pops them up above the edit section box. How do I turn this off? Quadzilla99 05:53, 17 February 2007 (UTC)

Color printings?[edit]

Can someone please explain to me how I can print an article incolors? IE I want not only the images to be in color, but the tables as well. When I print an article, every table will be in grayscale! The links can still be black as they are when I print them. Thanks.

YES!

User Scripts[edit]

Where are the user scripts for the meta-wiki monobook.js file, it was easy to find it on the wikipedia site, but this is my first time going on meta-wiki and i don't know where to look. →Yun-Yuuzhan 22:30, 30 December 2007 (UTC)

adding a template to a .js custom style[edit]

Is it possible to use a .js file to have a template automatically display in page views? Specifically, I would like to see the UTC time on pages I view so I don't have to open a specific time to check the time (when looking at a page history or whatnot). The specific template I was thinking of was w:Template:Time-UTC-Banner-plain.

Thanks. - w:User:Revolving Bugbear 20:41, 14 January 2008 (UTC)

Where are the accesskey pages???[edit]

From the page: "To disable or change the global access keys for the 'power user editing shortcuts', you must edit the six (protected) pages starting with the Accesskey prefix in the MediaWiki namespace."

Which pages are these??? There's no obvious search function in Mediawiki that'll tell me. Google doesn't help without knowing whole words. This whole accesskey thing has cost me three hours, trying to find out how to turn them off. (They conflict with emacs habits, destroying work irretrievably with every goto-end-of-line Ctrl-e.) Cphoenix 06:15, 11 February 2008 (UTC)

What if MediaWiki:Common.css does not show any effect?[edit]

Hello, since a couple of weeks the edits of WikiMedia:Commons.css and WikiMedia:Common.js does not show any effect. I added for example the CSS Style for the Extension:Simple Calendar (this already worked, but now the style does not work) and i added into common.js the script for additional toolbar-buttons.

What needs to be done, if these pages do not have any impact on the stlye of the pages?

kind regards --TurboKanne 15:16, 19 February 2008 (UTC)

Javascript designed on another Wiki[edit]

I use javascript on Wikipedia, but when I copy it here, it doesn't work properly. Can someone help? The javascript I wish to copy to meta is located here. Thanks --Philosopher Let us reason together. 23:16, 6 April 2008 (UTC)

Unfortunately some scripts will only work on that particular wiki, it maybe possible to get it to work on this wiki but you'll probably be required to ask the user who made the scripts. However to import the wanted script into your monobook try the following:
// User:Lupin/popups.js
document.write('<script type="text/javascript" src="' 
            + 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js' 
            + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

And insert this into your monobook.js file, it may work but it may not be 100% since it wasn't designed for Meta-Wiki. Dark Mage 12:44, 24 September 2008 (UTC)

Search box position?[edit]

Another wiki that I am a member of (Lostpedia) has a skin that puts the search box on the top right of the page. Is it possible to do that on my monobook file on Wikipedia? Here is a screenshot. File:Clipboard01(temporary).jpg--Connor401 03:35, 3 July 2008 (UTC)

Layered image[edit]

Hi all, I'm trying to give a Wikipedia Portal section a background watermark. I've managed to put an image in the intro box, but it won't stay in there, instead it overlaps onto the parent page if it is sized too big. It's at -removed-, and the intro section is at -removed-. Any ideas on how I can make it the background image of the intro section, but not make it overlap or enlarge the section? Many thanks --Joowwww 11:30, 17 July 2008 (UTC)

Never mind, done it --Joowwww 21:20, 8 August 2008 (UTC)

Adding style elements to monobook for all users[edit]

Hello,

if I understood correctly, if I save changes in Special:Mypage/monobook.css this only affects the CSS for me. That is, if I write a page using this custom CSS, other users (especially anonymous users) won't see the intended formatting, right? So if I want other people to get the same formatting, do I have to directly edit Monobook's main.css file, or is there a way via the Wiki? --Mzapf 20:15, 21 July 2008 (UTC)

Firefox 3 ignores system js[edit]

Ever since I've upgraded the browser on my laptop to Firefox 3, I've noticed that items I've included in MediaWiki:Common.js and MediaWiki:Monobook.js don't display or don't work. Things like removing the "Main Page" title on the main page, additional buttons on the edit toolbar, or a View Source tab at the top of all pages are the sort of things affected. These elements work perfectly fine in Firefox 2 and IE7, but Firefox 3 either doesn't show them or doesn't load them at all. I was able to get the View Source tab to work in Firefox 3 by copying the code for it into my user/monobook.js, but when viewed in IE7 (haven't tested in FF2) there then appears two View Source tabs. I then removed the code from there, and tried placing it into MediaWiki:Monobook.js, and it did not work there.

I know it's not a problem with just that computer, because it happens on all computers I've tested using Firefox 3, where it displayed fine in Firefox 2 previously.

Creating a new clean profile in Firefox 3 also does not solve it, excluding any sort of cached files or installed extensions from causing it.

I also know it's not just a problem with my wiki config, because I run 3 wikis, one personal, one for my work, and one for a friend and all three have different configs, aside from those specifc items that do not work correctly in Firefox 3 but do in the other browsers. Besides, a bad wiki config would result in the elements not working across all browsers, which is clearly not the case.

It's also not a problem with the User Agent string in Firefox, because I've tried changing that to say 2.0.0.16 instead of 3.0.1 and there was no change in behavior.

Maybe this is a Firefox bug and not a MediaWiki bug, but if so then wouldn't it also be presenting problems for people using Wikipedia or Mediawiki.org, both of which work fine. Could this then be a bug in 1.13 but not in the 1.14alpha that those sites run?

Any ideas? Anything I might be missing or overlooked? I'm more than a little surprised that I haven't seen any other people asking about this since Firefox is such a popular browser and version 3 has been out since June.

--Mrkorb 22:24, 28 August 2008 (UTC)

User file name?[edit]

Is there a "global" file like User:Username/monobook.css that will be loaded for ALL skins, not just monobook? -Deriksmith 12:27, 24 September 2008 (UTC)

You can find some skins in my preferences --> skin in the top right corner and in Gallery of user styles - as with a global monobook unfortunately wikimedia doesn't have one yet as far as I know so you'll have to insert the skin manually. Dark Mage 12:37, 24 September 2008 (UTC)

personnal bar add subpages link[edit]

I would like to edit my commons.js file to make it so that there is a link to each user's sub pages in the personal bar. I'm using the custom modification of sidebar function to add the link. this is what I came up with however it won't work with both a text and a variable in the url spot

function CustomizeModificationsOfSidebar() {
    //adds unpatrolled edits link to toolbox
    ModifySidebar("add", "personal", "home", "http://www.aiowiki.com/wiki/Special:PrefixIndex/User:"wgUserName );
}

Is there anyway to make this work? Redekopmark 05:43, 8 October 2008 (UTC)

Alter the user font[edit]

I'm caleb from the English and Old English wikis. I would like to know if there's a way we can change the user font to show a 'w' as the Old English 'wynn' character, a dotted 'g' as the character 'yogh', and have the user be able to select those in his own user preferences. There's a style vote going on there, and I think this is the best solution to the whole thing.--CalebGuitarman 22:05, 3 January 2009 (UTC)

GFDL or CC-BY-SA- 3.0[edit]

The text states that "when this feature is used on Wikipedia, the custom style sheet becomes publicly viewable, and the user is agreeing to release it under the GFDL."

I guess "GFDL" should be changed to "CC-BY-SA-3.0", as it is the current license in Wikipedia.--Pere prlpz (talk) 23:51, 18 May 2012 (UTC)

Updated. Ruslik (talk) 08:43, 28 August 2012 (UTC)