* (bug 12857) Patrol link on new pages should clear floats
* (bug 12968) Render redirect wikilinks in a redirect class for customization
via user/site CSS.
-* ModifyEditButtons hook added for altering the edit buttons below the edit box
+* EditPageBeforeEditButtons hook added for altering the edit buttons below the edit box
=== Bug fixes in 1.12 ===
to be echoed at the top of the edit form as wikitext. Return true without altering
$error to allow the edit to proceed.
+'EditPageBeforeEditButtons': allows modifying the edit buttons below the textarea in the edit form
+&$buttons: Array of edit buttons "Save", "Preview", "Live", and "Diff"
+
'EditSectionLink': Override the return value of Linker::editSectionLink()
$skin: Skin rendering the UI
$title: Title being linked to
);
$buttons['diff'] = wfElement('input', $temp, '');
- wfRunHooks( 'ModifyEditButtons', array( &$buttons ) );
+ wfRunHooks( 'EditPageBeforeEditButtons', array( &$buttons ) );
return $buttons;
}