From 9a2ae568b41ee1b8a9b54d85d680df0c8c54e225 Mon Sep 17 00:00:00 2001 From: Ryan Schmidt Date: Tue, 12 Feb 2008 23:50:36 +0000 Subject: [PATCH] * ModifyEditButtons hook added for altering the edit buttons below the edit box --- RELEASE-NOTES | 1 + includes/EditPage.php | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index bfbd4affc0..2219218a18 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -161,6 +161,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (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 === Bug fixes in 1.12 === diff --git a/includes/EditPage.php b/includes/EditPage.php index 97a2031d45..6ee4f9888c 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -1961,7 +1961,8 @@ END 'title' => wfMsg( 'tooltip-diff' ).' ['.wfMsg( 'accesskey-diff' ).']', ); $buttons['diff'] = wfElement('input', $temp, ''); - + + wfRunHooks( 'ModifyEditButtons', array( &$buttons ) ); return $buttons; } -- 2.20.1