Jump to content

MediaWiki:Common: Difference between revisions

→‎Common.css: brought over standard media icons from other MW installations
(→‎Common.js: hasClass() has been replaced by built-in JavaScript)
(→‎Common.css: brought over standard media icons from other MW installations)
Line 13: Line 13:
*Next are several icon customizations:
*Next are several icon customizations:
**A custom [http://www.example.com external link arrow] is defined; it's the original arrow minus the box element, making it visually less cluttered and easier to read.
**A custom [http://www.example.com external link arrow] is defined; it's the original arrow minus the box element, making it visually less cluttered and easier to read.
**External links which use HTTPS are modified to use the [http://www.example.com same arrow] as HTTP links instead of the distracting and unnecessary padlock icon.
**External links which use HTTPS are modified to use the [https://www.example.com same arrow] as HTTP links instead of the distracting and unnecessary padlock icon.
**External links to other subdomains on Oni2.net get a [http://iritscen.oni2.net sideways arrow].
**External links to other subdomains on Oni2.net get a [http://iritscen.oni2.net sideways arrow].
**External links that specifically go to movie files get a [http://www.example.com/example.mov movie icon].
**External links that specifically go to sound files get a [http://www.example.com/example.mp3 sound icon].
**Interwiki links get a [[wp:Green_Arrow|green arrow]] to show that they point to a fellow wiki (by default MediaWiki shows no outbound arrow at all for interwiki links, ambushing the reader).
**Interwiki links get a [[wp:Green_Arrow|green arrow]] to show that they point to a fellow wiki (by default MediaWiki shows no outbound arrow at all for interwiki links, ambushing the reader).
**Links formatted as if they're external, but which point back to this wiki, get a looping arrow [http://wiki.oni2.net/Main_Page like this].
**Links formatted as if they're external, but which point back to this wiki, get a looping arrow [http://wiki.oni2.net/Main_Page like this].