From 46738f7156ce122aca1c32782520cabaf9dc7710 Mon Sep 17 00:00:00 2001 From: Trevor Parscal Date: Fri, 29 May 2009 21:40:19 +0000 Subject: [PATCH] Added EditPageBeforeEditToolbar hook to provide a way to override the toolbar - making way for the new one the Wikipedia Usability Initiative is working on. --- includes/EditPage.php | 3 +++ 1 file changed, 3 insertions(+) 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; } -- 2.20.1