MediaWiki talk:Common.css
Documentation template
[change source]- The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Could an administrator add the code at User:Thesevenseas/vector.css to MediaWiki:Common.css as shown below?
...
table.tmbox-notice {
border: 1px solid #c0c090; /* Gray-brown */
}
[insert code here]
/* Highlight clicked reference in blue to help navigation */
...
Thanks. Set Sail For The Seven Seas 309° 8' 0" NET 20:36, 29 October 2010 (UTC)
- ...what exactly does it do? sonia♫ 07:41, 30 October 2010 (UTC)
- It makes the bottom box of Template:Documentation match the top box as it does at enwiki. Set Sail For The Seven Seas 200° 11' 0" NET 13:20, 30 October 2010 (UTC)
- A diff will be seen here as soon as User:Thesevenseas/pagediff.js is moved to MediaWiki:Common.js/pagediff.js and User:Thesevenseas/Pagediff is moved to Wikipedia:Pagediff, preferably without redirects. Set Sail For The Seven Seas 208° 6' 0" NET 13:52, 30 October 2010 (UTC)
- I don't see any problems with that. --SEPTActaMTA8235 20:10, 20 April 2011 (UTC)
- A diff will be seen here as soon as User:Thesevenseas/pagediff.js is moved to MediaWiki:Common.js/pagediff.js and User:Thesevenseas/Pagediff is moved to Wikipedia:Pagediff, preferably without redirects. Set Sail For The Seven Seas 208° 6' 0" NET 13:52, 30 October 2010 (UTC)
- Done Slight change in appearance of some boxes at the bottom of certain screens. Makes things look more uniform. Closing discussion. EhJJTALK 17:29, 25 May 2011 (UTC)
- The above discussion is preserved as an archive. Please do not change it. Subsequent comments should be made on the appropriate discussion page, such as the current discussion page. No more changes should be made to this discussion.
References
[change source]The reference lists created by the {{reflist}} template (and, I suspect, the <references /> tag) should be using a smaller font-size than regular page text. This does not occur, however, because Common.css uses the following deprecated code to apply the 90% font-size:
.references-small { font-size: 90%;}
This line should be removed, since there is no longer a class "references-small" applied to any reference list structure.
Additionally, the following block:
/* make the list of references look smaller */
ol.references {
font-size: 100%;
}
Does exactly the opposite of what its comment indicates. It actually makes the references the same size as the text.
In order to properly apply the old 90% font-size, the ol.references block should be changed to:
/* Make the list of references smaller */
ol.references,
div.reflist,
div.refbegin {
font-size: 90%; /* Default font-size */
}
div.reflist ol.references {
font-size: 100%; /* Reset font-size when nested in div.reflist */
list-style-type: inherit; /* Enable custom list style types */
}
The second CSS block is necessary so that nested inheritors of the first block will not have miniscule 90% of 90% font-sized text. (This is lifted from the English wiki, where it works as intended.)
So, in summary: first code block should be removed; second code block should be replaced with third code block. –Mûĸĸâĸûĸâĸû (blah?) 04:05, 13 August 2011 (UTC)
- I'd agree here. I always liked the smaller font for references better. Won't make the change myself as I always break such stuff. Someone else should/may do this. -Barras (talk) 14:27, 14 August 2011 (UTC)
- Fixed. Griffinofwales (talk) 22:56, 23 August 2011 (UTC)
Protocol
[change source]The recent change in the MediaWiki Core coding made this needed? https://simple.wikipedia.org/w/index.php?title=MediaWiki:Common.css&curid=18006&diff=3205611&oldid=2992198 Thank you in advance for going into it a bit more. Respectfully, Jon@talk:~$ 00:10, 5 December 2011 (UTC)
hlist update
[change source]{{editprotected}}
Please update hlist in MediaWiki:Common.css and MediaWiki:Common.js/IEFixes.js; it contains several critical fixes. Code can be found at mw:Snippets/Horizontal lists. — Edokter (talk) — 13:51, 1 December 2013 (UTC)
Category tree
[change source]You can remove the following; it is now part of core:
/* Category tree styling. Works in conjuction with [[MediaWiki:Categorytree-expand-bullet]],
[[MediaWiki:Categorytree-collapse-bullet]] and [[MediaWiki:Categorytree-empty-bullet]]. */
#mw-subcategories ul {
list-style: none none;
margin-left: 0.25em;
}
.CategoryTreeChildren {
margin-left: 1.25em;
}
— Edokter (talk) — 14:40, 1 December 2013 (UTC)
- Marking as Done. — Edokter (talk) — 16:34, 14 December 2013 (UTC)
Update for T314318
[change source]Please make changes like the following,
For more information, see mw:Parsoid/Parser_Unification/Media_structure/FAQ
Thanks, Arlolra (talk) 20:01, 2 February 2023 (UTC)
- Done in Special:Diff/8698961 ABreault (WMF) (talk) 18:34, 23 February 2023 (UTC)
- Thank you ABreault (WMF) for that. Arlolra, if necessary for future, you can use the {{editprotected}} template if you need an interface administrator to edit a page. Thanks, --Ferien (talk) 19:20, 23 February 2023 (UTC)