EditPage refactor and improvements.
authorDaniel Friesen <dantman@users.mediawiki.org>
Wed, 2 Dec 2009 07:22:29 +0000 (07:22 +0000)
committerDaniel Friesen <dantman@users.mediawiki.org>
Wed, 2 Dec 2009 07:22:29 +0000 (07:22 +0000)
commitfa3aa9653e027e332e0a0e09bb5326642ddaa36f
treedb350d2f26b4285c75c4ec341492adcfb73f69d8
parentf78b9fa372386680130a25f37dcacd1ed1ca39bf
EditPage refactor and improvements.
- EditPage::showEditForm broken up into task specific methods
- Subclasses can indicate they can't support section mode
- Standard inputs should all be now in methods they can be grabbed from by subclasses that want to re-arange things
- Many more places to override and hook into to change behavior
- showTextbox1 parameters changed from $classes to $customAttribs and $textoverride
- showContentForm and importContentFormData added; New workflow to override the wpTextbox1 behavior to use an alternate edit form ui or handle wpTextbox1 content in an alternate way.
- getActionURL added for EditPage subclasses used in places where $this->action isn't enough (ie: EditPage on special pages)
Html::textarea added
RELEASE-NOTES
includes/EditPage.php
includes/Html.php
languages/messages/MessagesEn.php
skins/common/edit.js