r86695 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r86694‎ | r86695 | r86696 >
Date:09:46, 22 April 2011
Author:mkroetzsch
Status:deferred
Tags:
Comment:
add some more special property types that would otherwise be unknown when the SQLStore2 initializes its fixed index of predefined properties
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/dataitems/SMW_DI_Property.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/dataitems/SMW_DI_Property.php
@@ -331,6 +331,13 @@
332332 '_ERRP' => array( '_wpp', false ), // "has improper value for"
333333 '_LIST' => array( '__tls', true ), // "has fields"
334334 '_SKEY' => array( '__key', true ), // sort key of a page
 335+ '_SF_DF' => array( '__spf', true ), // Semantic Form's default form property
 336+ '_SF_AF' => array( '__spf', true ), // Semantic Form's alternate form property
 337+ '_1' => array( '__err', true ), // properties for encoding (short) lists, these do not really have a type (may be used internally for diverse types)
 338+ '_2' => array( '__err', true ),
 339+ '_3' => array( '__err', true ),
 340+ '_4' => array( '__err', true ),
 341+ '_5' => array( '__err', true ),
335342 );
336343 wfRunHooks( 'smwInitProperties' );
337344 }

Status & tagging log