Jump to content

MediaWiki:Common: Difference between revisions

removing mentions of XEB, as that code has been deleted
(→‎Common.css: brought over standard media icons from other MW installations)
(removing mentions of XEB, as that code has been deleted)
Line 19: Line 19:
**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].
*Finally, the styling is defined for the popup windows provided by [[XEB]] for creating [[BSL]] variable and function pages.


==Common.js==
==Common.js==
*Common.js allows for a user to add an "&withJS=MediaWiki:__.js" to a URL in order to view that page with a custom JS file that normally does not load for you (untested, so this documentation may be incorrect).
*Common.js allows for a user to add an "&withJS=MediaWiki:__.js" to a URL in order to view that page with a custom JS file that normally does not load for you (untested, so this documentation may be incorrect).


*Next, it looks at whether we're editing a page, and if so, it imports the code from [[MediaWiki:Common.js/edit.js]] for customizations to the editing interface. It does the same for the search page with [[MediaWiki:Common.js/search.js]].
*Next, it looks at whether we're on the advanced search page, and if so, it imports the code from [[MediaWiki:Common.js/search.js]] for customizing the page (i.e., adding a dropdown menu that lets one pick another search engine besides MW's).


*More fixes for Internet Explorer.
*More fixes for Internet Explorer.