r98689 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98688‎ | r98689 | r98690 >
Date:16:40, 2 October 2011
Author:mkroetzsch
Status:deferred
Tags:
Comment:
set name of #subobject parser function as claimed in previous commit message; final name will be discussed on the mailing lists before this becoms stable
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_Setup.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/SMW_Setup.php
@@ -622,7 +622,7 @@
623623 $magicWords['ask'] = array( 0, 'ask' );
624624 $magicWords['show'] = array( 0, 'show' );
625625 $magicWords['info'] = array( 0, 'info' );
626 - $magicWords['setobject'] = array( 0, 'setobject' );
 626+ $magicWords['subobject'] = array( 0, 'subobject' );
627627 $magicWords['concept'] = array( 0, 'concept' );
628628 $magicWords['set'] = array( 0, 'set' );
629629 $magicWords['set_recurring_event'] = array( 0, 'set_recurring_event' );
@@ -675,7 +675,7 @@
676676 $parser->setFunctionHook( 'ask', array( 'SMWAsk', 'render' ) );
677677 $parser->setFunctionHook( 'show', array( 'SMWShow', 'render' ) );
678678 $parser->setFunctionHook( 'info', array( 'SMWInfo', 'render' ) );
679 - $parser->setFunctionHook( 'setobject', array( 'SMWSubobject', 'render' ) );
 679+ $parser->setFunctionHook( 'subobject', array( 'SMWSubobject', 'render' ) );
680680 $parser->setFunctionHook( 'concept', array( 'SMWConcept', 'render' ) );
681681 $parser->setFunctionHook( 'set', array( 'SMWSet', 'render' ) );
682682 $parser->setFunctionHook( 'set_recurring_event', array( 'SMWSetRecurringEvent', 'render' ) );