r51168 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r51167‎ | r51168 | r51169 >
Date:21:40, 29 May 2009
Author:tparscal
Status:ok
Tags:
Comment:
Added EditPageBeforeEditToolbar hook to provide a way to override the toolbar - making way for the new one the Wikipedia Usability Initiative is working on.
Modified paths:
  • /trunk/phase3/includes/EditPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/EditPage.php
@@ -2134,6 +2134,9 @@
21352135
21362136 $toolbar.="/*]]>*/\n</script>";
21372137 $toolbar.="\n</div>";
 2138+
 2139+ wfRunHooks( 'EditPageBeforeEditToolbar', array( &$toolbar ) );
 2140+
21382141 return $toolbar;
21392142 }
21402143

Status & tagging log