r35650 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r35649‎ | r35650 | r35651 >
Date:14:07, 31 May 2008
Author:btongminh
Status:old
Tags:
Comment:
Remove the AlternateEdit hook from the API: it is a hook meant to show a different EditForm which is not what we want to do.
Modified paths:
  • /trunk/phase3/includes/api/ApiEditPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiEditPage.php
@@ -75,9 +75,6 @@
7676 $articleObj = new Article($titleObj);
7777 $ep = new EditPage($articleObj);
7878
79 - if ( !wfRunHooks( 'AlternateEdit', array( &$ep ) ) )
80 - $this->dieUsageMsg(array('hookaborted'));
81 -
8279 // EditPage wants to parse its stuff from a WebRequest
8380 // That interface kind of sucks, but it's workable
8481 $reqArr = array('wpTextbox1' => $params['text'],

Status & tagging log