From: Ryan Schmidt Date: Tue, 12 Feb 2008 23:50:36 +0000 (+0000) Subject: * ModifyEditButtons hook added for altering the edit buttons below the edit box X-Git-Tag: 1.31.0-rc.0~49503 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/gestion/rappel_supprimer.php?a=commitdiff_plain;h=9a2ae568b41ee1b8a9b54d85d680df0c8c54e225;p=lhc%2Fweb%2Fwiklou.git * ModifyEditButtons hook added for altering the edit buttons below the edit box --- 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; }