New mediawiki.page modules
authorKrinkle <krinkle@users.mediawiki.org>
Wed, 22 Jun 2011 21:27:12 +0000 (21:27 +0000)
committerKrinkle <krinkle@users.mediawiki.org>
Wed, 22 Jun 2011 21:27:12 +0000 (21:27 +0000)
commit95173d11f1e9048b2d9b761d469d15622d53315f
treec33530dcd4abc620fc743cf1f1008d9e49402743
parent0de8d5299d8adb4968f13cdf2869f25a8d0c2a7b
New mediawiki.page modules

First step towards cleaning up mw.util.init and removing bugus dependancies on mediawiki.util which are just added there in order to load them on every page and do something on-load.

Introducing mediawiki.page.startup (in the head) and mediawiki.page.ready (on the bottom)

Moved the following to them:
* document.ready from jquery.cient
 -- Shouldn't have been in the plugin itself in the first place
* jquery.placeholder
* jquery.makeCollapsible
* mediawiki.action.view.tablesorting
* jquery.checkboxShiftClick

(This also solves part of bug 26799)
includes/OutputPage.php
resources/Resources.php
resources/jquery/jquery.client.js
resources/mediawiki.action/mediawiki.action.view.tablesorting.js [deleted file]
resources/mediawiki.page/mediawiki.page.ready.js [new file with mode: 0644]
resources/mediawiki.page/mediawiki.page.startup.js [new file with mode: 0644]
resources/mediawiki/mediawiki.util.js
tests/qunit/index.html