User:Tim Starling/Proposed modularisation of client-side resources
We can organise client side resources as follows. Proposed inclusion dependency hints are in square brackets.
- Base core (OutputPage or new class)
- Header static scripts
- ajax.js [all]
- wikibits.js [all]
- jQuery [all]
- Footer static scripts
- ajaxwatch.js [user]
- mwsuggest.js [user]
- rightclickedit.js [user]
- ajaxCategories [page]
- mv_embed [all]
- Header dynamic scripts
- gen=js misc: skin=x, stylepath=x [skin]
- User:name/skinname.js [user]
- MediaWiki:Common.js [all]
- MediaWiki:Skinname.js [skin]
- Static CSS
- common/shared.css [all]
- Dynamic CSS
- media=""
- MediaWiki:Common.css [all]
- MediaWiki:Skinname.css [skin]
- Assorted preference dependent [user]
- media=handheld
- MediaWiki:Handheld.css [all]
- media=print
- MediaWiki:Print.css [all]
- media=""
- Header static scripts
- SkinTemplate
- Static CSS
- common/commonPrint.css
- Conditional head JS
- common/IEFixes.js
- Static CSS
- SkinOld proposed base
- Static CSS
- common/oldshared.css
- common/common_rtl.css
- common/wikiprintable.css
- Static CSS
- SkinStandard
- Static CSS
- common/wikistandard.css
- common/quickbar.css
- common/quickbar-right.css
- Static JS
- common/sticky.js
- Static CSS
- SkinNostalgia
- Static CSS
- common/nostalgia.css
- Static CSS
- SkinCologneBlue
- Static CSS
- common/cologneblue.css
- Static CSS
- SkinMonoBook
- Static CSS
- monobook/main.css
- $wgHandheldStyle (chick/main.css)
- monobook/IE50Fixes.css
- monobook/IE55Fixes.css
- monobook/IE60Fixes.css
- monobook/IE70Fixes.css
- monobook/rtl.css
- Static CSS
- SkinChick
- Static CSS
- chick/main.css
- chick/IE50Fixes.css
- chick/IE55Fixes.css
- chick/IE60Fixes.css
- Static CSS
- SkinModern
- Static CSS
- common/shared.css
- modern/main.css
- modern/print.css
- modern/rtl.css
- Static CSS
- SkinSimple
- Static CSS
- simple/main.css
- simple/rtl.css
- Static CSS
- SkinVector
- Static CSS
- vector/main-rtl.css
- vector/main-ltr.css
- HTML component JS
- csshover.htc
- Static CSS