r67662 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r67661‎ | r67662 | r67663 >
Date:19:37, 8 June 2010
Author:yaron
Status:deferred
Tags:
Comment:
Added 2nd parameter for 'sfSetTargetName' hook, by request of jdpond
Modified paths:
  • /trunk/extensions/SemanticForms/specials/SF_FormEdit.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/specials/SF_FormEdit.php
@@ -30,7 +30,7 @@
3131 $form_name = isset( $queryparts[0] ) ? $queryparts[0] : '';
3232 $target_name = isset( $queryparts[1] ) ? $queryparts[1] : '';
3333 }
34 - wfRunHooks( 'sfSetTargetName', array( &$target_name ) );
 34+ wfRunHooks( 'sfSetTargetName', array( &$target_name, $query ) );
3535
3636 $alt_forms = $wgRequest->getArray( 'alt_form' );
3737

Status & tagging log