More skin system improvements; Create a new BaseTemplate class extended from QuickTem...
authorDaniel Friesen <dantman@users.mediawiki.org>
Mon, 6 Dec 2010 17:47:53 +0000 (17:47 +0000)
committerDaniel Friesen <dantman@users.mediawiki.org>
Mon, 6 Dec 2010 17:47:53 +0000 (17:47 +0000)
commit55f0903c0b619fd53e1620e6ace0ee3d1a98092f
tree17e2f5485ef5854ad547837a69dc0c391475d51f
parent4d3788c0ff72d18494bcf7c3c33dc05770bc4168
More skin system improvements; Create a new BaseTemplate class extended from QuickTemplate, this class will house helper methods that interact with QuickTemplate data set by SkinTemplate to help cut down on boilerplate for common uses of that data.
For the first helper in this class add a helper to use in generating a toolbox. Include a list item and link generating method that can be used to generate most of our sidebar links with minimal code.
Eventually this toolbox code will be used in code abstracting common sidebar generating code away into common helpers. For now make MonoBook and Vector and the skins based off of them use this method of generating toolboxes and sidebar links.
docs/hooks.txt
includes/SkinTemplate.php
skins/MonoBook.php
skins/Vector.php