From: Trevor Parscal Date: Fri, 29 May 2009 21:40:19 +0000 (+0000) Subject: Added EditPageBeforeEditToolbar hook to provide a way to override the toolbar - makin... X-Git-Tag: 1.31.0-rc.0~41609 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=46738f7156ce122aca1c32782520cabaf9dc7710;p=lhc%2Fweb%2Fwiklou.git Added EditPageBeforeEditToolbar hook to provide a way to override the toolbar - making way for the new one the Wikipedia Usability Initiative is working on. --- diff --git a/includes/EditPage.php b/includes/EditPage.php index ad1c6c6683..1051c22472 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -2134,6 +2134,9 @@ END $toolbar.="/*]]>*/\n"; $toolbar.="\n"; + + wfRunHooks( 'EditPageBeforeEditToolbar', array( &$toolbar ) ); + return $toolbar; }