20,099
edits
m (I removed this in an earlier edit by accident) |
(updated for removal of content that was moved to MediaWiki:Vector-2022.css) |
||
| Line 1: | Line 1: | ||
The purpose of [[MediaWiki:Common.css]] and [[MediaWiki:Common.js]] is to augment the MediaWiki CSS and JS code in a way that takes effect for all users. Note that changes to skin-specific pages such as MediaWiki:Vector.[ | The purpose of [[MediaWiki:Common.css]] and [[MediaWiki:Common.js]] is to augment the MediaWiki CSS and JS code in a way that takes effect for all users. Note that changes to skin-specific pages such as [[MediaWiki:Vector-2022.css]] and [[MediaWiki:Vector-2022.js]] (for our current default skin) or [[MediaWiki:Vector.css]] and [[MediaWiki:Vector.js]] (for our original default skin) or override these general changes for anyone using that particular skin. Those in turn are overridden by users' local vector.css and vector.js pages. | ||
Following are all the features of the CSS and JS pages in the order in which they occur. | Following are all the features of the CSS and JS pages in the order in which they occur. | ||
| Line 6: | Line 6: | ||
Common.css contains various small fixes borrowed from Wikipedia for shortcomings in MediaWiki's appearance or behavior. There are additional appearance customizations created by us, plus supporting markup for features added to the wiki through Common.js. The Wikipedia carry-overs are not documented below because the comments in the markup should suffice. Following are our self-made customizations: | Common.css contains various small fixes borrowed from Wikipedia for shortcomings in MediaWiki's appearance or behavior. There are additional appearance customizations created by us, plus supporting markup for features added to the wiki through Common.js. The Wikipedia carry-overs are not documented below because the comments in the markup should suffice. Following are our self-made customizations: | ||
* | *Many classes are declared for the message boxes that can be generated by [[Template:Fmbox]]. | ||
*A declared is for use with the unfinished hover table feature (see comments under Common.js below). | *A declared is for use with the unfinished hover table feature (see comments under Common.js below). | ||
| Line 25: | Line 15: | ||
*Finally, support is added for references to use letters instead of numbers, which is utilized by [[Template:Reflist]]. | *Finally, support is added for references to use letters instead of numbers, which is utilized by [[Template:Reflist]]. | ||
These changes have all been marked with a "TODO" note to port them to use the extension TemplateStyles now that we have it installed. | |||
==Common.js== | ==Common.js== | ||