Wikipedia talk:Skin

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Wikipedia Help Project  
WikiProject icon This page is within the scope of the Wikipedia Help Project, a collaborative effort to improve Wikipedia's help documentation for readers and contributors. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks. To browse help related resources see the Help Menu or Help Directory. Or ask for help on your talk page and a volunteer will visit you there.
 ???  This page does not require a rating on the project's quality scale.
 ???  This page has not yet received a rating on the project's importance scale.
 

Maintenance[edit]

Is anyone maintaining the alternate skins? I just noticed that Cologne Blue doesn't have a link for admins to protect deleted pages. I'd fix it myself but I'm not up to speed on CSS. More generally, is anyone keeping the alternate skins up to date as new capabilities are implement on Wikipedia? ·:· Will Beback ·:· 22:22, 7 October 2008 (UTC)

I doubt it. This is not the first glitch that I saw in these 3 older skins ((Classic, Cologne Blue and Nostalgia). —AlexSm 12:26, 8 October 2008 (UTC)
Right, only the MonoBook and Vector skins are currently actively maintained. The other ones just get occasional fixes when someone is in the mood.
--David Göthberg (talk) 04:10, 19 February 2010 (UTC)

Purpose[edit]

Do some skins have specific purposes other than look? I notice that chicken has the purpose to be useable on low-res devices, avoiding the usual 2-column layout. Any other special purposes? --G.Hagedorn (talk) 03:17, 27 October 2008 (UTC)

Provide skins as alternates[edit]

At least the Firefox browser supports “alternate stylesheets”, <link rel="alternate stylesheet" href="cologneblue.css" type="text/css" title="CologneBlue" /> to switch skins directly, without having to go through Preferences and Preview. Perhaps this could be implemented in WP? j.engelh (talk) 10:45, 25 November 2008 (UTC)

User-creatable stylesheets[edit]

It would be nice if users could use their own .css file with WP. When they are logged in, the default stylesheet gets pulled in from a remote URL (by means of WP issuing a <link rel="stylesheet" href="http://yourdomain.com/wikipedia.css" /> for every retrieved page). It may not do everything right the first time in light of the Javascripts, but as an initial experiment this would be really cool. How about it? j.engelh (talk) 10:45, 25 November 2008 (UTC)

Well, users can make changes to their stylesheet- you can edit yours by clicking this link: Special:Mypage/monobook.css... L'Aquatique[talk] 06:37, 26 November 2008 (UTC)


Skins[edit]

How would you create new skin that people could choose in their preferences page?--Glas (talk) 19:36, 3 May 2009 (UTC)

A non-Wikipedia-space page redirects here[edit]

monobook.js, monobook.

So should an admin delete them, or what?

7h3 0N3 7h3 \/4Nl)4L5 Pl-l34R ( t / c) 06:37, 30 May 2009 (UTC)

Update[edit]

Please update this page. A new skin "Vector" has released. The Junk Police (reports|works) 10:21, 3 July 2009 (UTC)

Pictogram voting keep.svg Fixed - I see that someone has fixed it. Note that you could have done the edit yourself. --David Göthberg (talk) 04:15, 19 February 2010 (UTC)

Notes Section[edit]

I fixed some spelling and grammar on the first point under the "Notes" section. Even so, it is still confusing since it states that the page must be in all lowercase letters and then contradicts itself within the same sentence Twentyseven (talk) 07:11, 15 November 2009 (UTC)

Pictogram voting keep.svg Fixed - --David Göthberg (talk) 04:06, 19 February 2010 (UTC)

Skin usage statistics[edit]

I asked about stats and was answered at Wikipedia:Village pump (technical)/Archive 74#Skin usage statistics: There is a Toolserver issue request is at https://jira.toolserver.org/browse/TS-592 Just noting here for future reference. -- Quiddity (talk) 19:09, 30 April 2010 (UTC)

Current thread at Wikipedia:Vpt#Skin stats. -- Quiddity (talk) 17:18, 17 July 2010 (UTC)

Vector screenshot[edit]

I added a screenshot for the Vector skin, but, since it is still in beta, a new one might be required when it's updated. How do I know if/when my screenshot is outdated? Rchard2scout (talk) 19:21, 3 May 2010 (UTC)

MonoBook no longer default[edit]

Should this page be edited to reflect that? "you can only use the default skin, MonoBook" to "you can only use the default skin, Vector", removing "(default)" after Monobook in the previews, etc. --76.195.210.125 (talk) 19:19, 13 May 2010 (UTC)

Fixed. Gandalf61 (talk) 11:03, 14 May 2010 (UTC)

Changing colours[edit]

I use Vector. I have checked the others, and I'm still using Vector.

The default colour for interwiki links is a shade of blue which is subtly different from other shades of blue on the page.

I'm in the midst of translating some English pages into other languages, so it would be convenient if interwiki links displayed in green, or plaid, or something really obvious.

I will experiment, but perhaps someone knows what to do off the top of his head.

Thanks, Varlaam (talk) 18:48, 18 October 2010 (UTC)

You can change the colour of links using CSS. I have a line in my file (User:Will Beback/vector.css) that specifies:
  • a.interwiki, a.external { color: #0044CC; }
You can copy and paste my file as a starter. You could split out the IWs and give them a different color in yours. I'm the least knowledgeable persona about CSS, but I know that'll work.   Will Beback  talk  20:36, 18 October 2010 (UTC)
You are not the least knowledgeable one. That honour belongs to me, and I'm claiming it.
Thanks a lot. I'll give it a go. Varlaam (talk) 21:29, 18 October 2010 (UTC)

Problems with skin changing back to Classic something[edit]

File:Show changes at Bradley Manning.JPG
What I see in edit mode when I click on "show changes"
File:Strange layout.JPG
What I see in read mode
File:Strange layout more.JPG
More in read mode

This is probably not the right place to ask for help, but I've asked on the PUMP with no luck. I'm having problems getting Monobook to remain stable; it keeps switching to Classic, both in read and edit mode. I opened two other accounts with default and almost-default preferences, but it's happening there too. And it happened today for the first time with Vector. No one responded at PUMP, so I assume I'm the only person experiencing this. Can anyone guess what might be causing it? It started toward the end of February. SlimVirgin TALK|CONTRIBS 20:20, 14 March 2011 (UTC)

Just to make sure there is no misunderstanding: "Classic" is an exact skin name in preferences that has yellowish background (an example). Some elements in Classic skin might look similar to Vector or Monobook skin with their main CSS file missing (not delivered correctly from the server). You can check the skin of the page by opening HTML source in your browser and looking for the body tag which looks like this:
<body class="mediawiki ltr ns-5 ns-talk page-Wikipedia_talk_Skin skin-vector"> - Vector skin
or like this:
<body class="mediawiki ltr ns-5 ns-talk page-Wikipedia_talk_Skin skin-standard"> - Classic skin
AlexSm 21:26, 14 March 2011 (UTC)
Alex, I uploaded screenshots of what I see in edit mode and read mode. I was assuming it's Classic, but I don't know that for sure. SlimVirgin TALK|CONTRIBS 21:33, 14 March 2011 (UTC)
The left menu in Classic skin is really different from Vector/Monobook, that alone should be enough to identify the skin (and screenshots are not really helpful since you cut off the left menu). And I already suggested to check the body tag in HTML page source: right-click on any empty space on the page and choose "View page source". — AlexSm 21:45, 14 March 2011 (UTC)
It says <body class="mediawiki ltr ns-0 ns-subject page-Bradley_Manning skin-monobook">
What is the left menu? SlimVirgin TALK|CONTRIBS 21:50, 14 March 2011 (UTC)
In case you mean the navigation, toolbox etc, it's not on the left, but at the end of the page. See third screenshot. SlimVirgin TALK|CONTRIBS 21:58, 14 March 2011 (UTC)
For some reason your browser doesn't receive main.css from bits.wikimedia.org, it's hard to say why; but this is not "MediaWiki suddenly switching you to Classic skin". I would suggest trying other browsers and trying "Restore all default settings" in preferences. — AlexSm 22:11, 14 March 2011 (UTC)
I've experienced it for around three weeks with Firefox and Chrome, with two computers, two operating systems, and three accounts (two set up for this purpose), one of which had default preferences. It's mostly when I try to edit with Monobook that I get this strange layout, but today it happened when I was in Vector too, so editing has become very difficult. SlimVirgin TALK|CONTRIBS 22:15, 14 March 2011 (UTC)

Fixed width[edit]

Hi. I wonder how to make Wikipedia appear with a fixed width. For us with widescreen monitors the text lines become too wide to read smooth. I found this script which is exactly what I need, but it's old and doesn't seem to work with the current version of Wikipedia. Help would be greatly appreciated! /Caelus sv (talk) 16:07, 9 April 2011 (UTC)

the script you link to is for monobook skin. Below should work with new vector skin, but it will fix the screen to 970px, and wiki will display on the left on a big screen. I hope someone will help me make a max-width one, and it will be great if content is shown on the center other than on the left.
/* upper blue line */
#mw-head-base {
  width: 970px !important;
}
/* lower blue line + footer content */
#footer {
  width: 940px !important;
}
/* main content */
div#content {
  width: 940px;
}
/* personal tools and right navigation */
div#mw-head {
  right: auto !important;
  left: 0;
  width: 940px;
}

--Superxain (talk) 05:56, 27 April 2012 (UTC)

Is there any way to centre the web page? Currently the resulting web page is align to the left. Fangfufu (talk) 13:49, 25 April 2015 (UTC)

default javascript[edit]

If I put javascript in my "common.js" file, will it work for any skin I choose or must I move my javascript file whenever I change skins? Banaticus (talk) 22:36, 18 April 2011 (UTC)

Nobody knows? It seems to work to me, but is this how it really works? Banaticus (talk) 23:18, 5 January 2012 (UTC)
Special:Mypage/common.js works for all skins; preferences page makes it pretty obvious. — AlexSm 23:34, 5 January 2012 (UTC)
Except for the mobile skin; that one only seems to load the jquery and mobile|mobile.references modules. Neither common.js nor mobile.js gets loaded in the mobile view; is there another way to add custom .js into the mobile site? sn‾uǝɹɹɐʍɯ (talk) 02:27, 15 August 2012 (UTC)

Common.js[edit]

Just to make sure I am clear, if I put everything from my vector.js skin into common.js, it would work no matter which skin I choose to use on Wikipedia? Ryan Vesey (talk) 15:26, 21 May 2011 (UTC)

Wow, show's how much attention I was paying. The same question was asked directly above me. Ryan Vesey (talk) 15:27, 21 May 2011 (UTC)

MonoBook[edit]

I don't know who's been messing about with the MonoBook skin, but the new look, with huge gaps between sections in the left-hand navigation bar, is truly horrible. -- Necrothesp (talk) 11:25, 5 October 2011 (UTC)

Monobook seems to be messed up as of today. –anemoneprojectors– 17:54, 4 December 2012 (UTC)

Please see WP:VPT#What just happened to the UI? --Redrose64 (talk) 18:06, 4 December 2012 (UTC)
Thanks. I had no idea where to go about this. –anemoneprojectors– 18:15, 4 December 2012 (UTC)

View deleted edits?[edit]

Why is it that in "Cologne Blue" when I view a page that was deleted it doesn't show me the "view deleted edits" option? Hyacinth (talk) 23:56, 28 May 2013 (UTC)

I also have confirmed this issue, and I've filed a bug report. The Anonymouse (talk) 14:45, 29 May 2013 (UTC)

Limit Article Width for Readability[edit]

Here's some custom CSS I created so that articles retain a readable line-length in wide windows:

#firstHeading, #bodyContent {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

And here's a link to a Gist: http://git.io/NTBykg

I hope Wikipedia will implement a more responsive and readable default skin in the near future. — Preceding unsigned comment added by Andybrice (talkcontribs) 13:46, 16 April 2014 (UTC)

New flat skin?[edit]

There should be this flat skin that goes with the flat design of the latest version of iOS, Android, and Windows. It should also be the new default. UpsandDowns1234 (Talk to me) (My Contribs) 06:01, 16 April 2017 (UTC)

It should not be the new default, we don't all use mobile devices. --Redrose64 🌹 (talk) 07:06, 17 April 2017 (UTC)
So, macOS Sierra, Windows 10, and the latest version of Chrome OS all use flat design. UpsandDowns1234 (🗨) (My Contribs) 16:21, 23 April 2017 (UTC)
We don't all use those either. --Redrose64 🌹 (talk) 23:38, 23 April 2017 (UTC)
Maybe implement version detection that will automatically adapt the skin if it detects a new version of the above. Either way, the skeuomorphic elements do not look nice in Microsoft Edge. UpsandDowns1234 (🗨) (My Contribs) 17:55, 27 April 2017 (UTC)