Initial work so far porting Wikia's monaco to vanilla mediawiki
Bulk stuff
- missing parseItem for toolbox
- clear out one or two wikia-specific shared- stuff
- full attributions for body attrs
- a fixme on printAdditoinalHead use
- erase the replaced </head> and <body>
- start tweaking the footer, we won't have any fancy ratings so actions simply go on the right now
- kill spotlights
- kill sidebar_1 since we won't have a full widget system
TODO notes
Add the code you can use to add the extra loggedout and mainpage body classes.
Add OutputPageBodyAttributes.patch for MediaWiki 1.16 and the readme.
Remove more junk, sidebar and before page hooks, make page inside shrinkwrap more generic so subskins can add extra page islands
Add $wgMonacoTheme support so that themes can at least be used as defaults.
Bulk improvements
Reorganize code, now you install in skins/monaco/ and use `require_once("$IP/skins/monaco/monaco.php");`.
Also added i18n messages and changed the ones in the footer to work right.
Droped one or two pieced of dead code, and changed the pile of improper uses of wfMsg to wfMsgHtml (they weren't being properly html escaped).
On second thought these are edit urls, the nofollow is justified.
deal with global $wg var junk.
Switch Title:: creation using NS_SPECIAL with a proper SpecialPage::getTitleFor call. Also make a tweak to dynamilinks' use of wfMsg* and html escaping.
Fix up dynamic links:
- Make sure Special:CreatePage actually exists, if it doesn't don't create urls pointing to it
- Fix semantics of create page button, don't display it if we're already logged in and don't have permission to edit.
- Fix semantics of upload button to take $wgUploadNavigationUrl, upload permissions, and anon/loggedin into account.
Drop junk in Monaco.skin.php related to Wikia's tracker.
drop code related to a bunch of the bad Wikia $wg variables inside Monaco.
Make proper use of the User object instead of mimicing it's functionality.
Use the linker to create the user link in the footer and build the icon using Html:: calls.
Drop rel=nofollow on a pile of stuff MediaWiki does not put nofollow on.
Dump AjaxLogin junk.
Drop hardcoded .wikia.com urls in stylesheet fail...
Fix remaining absolute url.