* ModifyEditButtons hook added for altering the edit buttons below the edit box
authorRyan Schmidt <skizzerz@users.mediawiki.org>
Tue, 12 Feb 2008 23:50:36 +0000 (23:50 +0000)
committerRyan Schmidt <skizzerz@users.mediawiki.org>
Tue, 12 Feb 2008 23:50:36 +0000 (23:50 +0000)
RELEASE-NOTES
includes/EditPage.php

index bfbd4af..2219218 100644 (file)
@@ -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 ===
 
index 97a2031..6ee4f98 100644 (file)
@@ -1961,7 +1961,8 @@ END
                        'title'     => wfMsg( 'tooltip-diff' ).' ['.wfMsg( 'accesskey-diff' ).']',
                );
                $buttons['diff'] = wfElement('input', $temp, '');
-
+               
+               wfRunHooks( 'ModifyEditButtons', array( &$buttons ) );
                return $buttons;
        }