Give skin more control of OutputPage modules
authorjrobson <jrobson@wikimedia.org>
Mon, 13 May 2013 22:09:33 +0000 (15:09 -0700)
committerGerrit Code Review <gerrit@wikimedia.org>
Tue, 28 May 2013 16:50:49 +0000 (16:50 +0000)
commitaa015eba2667830b007a98b9af75187e308aaf33
tree55b066bff36107807f065ea9f414f537143af089
parent166480799d4db612dacdf783541ef2dc4e73ed1c
Give skin more control of OutputPage modules

Remove addDefaultModules from OutputPage
Instead only enforce mediawiki.page.startup

Add a method getDefaultModules which groups modules
by type allowing a skin to tweak

Change-Id: I89d529f0378d90af0fe0a5adea5d5dbdca83a86e
includes/OutputPage.php
includes/Skin.php