r43620 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r43619‎ | r43620 | r43621 >
Date:18:48, 17 November 2008
Author:mkroetzsch
Status:deferred
Tags:
Comment:
support Form custom datatypes
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_DataValueFactory.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/SMW_DataValueFactory.php
@@ -117,6 +117,7 @@
118118 '_wpg' => 'SMWWikiPageValue', // Page type
119119 '_wpp' => 'SMWWikiPageValue', // Property page type TODO: make available to user space
120120 '_wpc' => 'SMWWikiPageValue', // Category page type TODO: make available to user space
 121+ '_wpf' => 'SMWWikiPageValue', // Form page type for Semantic Forms
121122 '_num' => 'SMWNumberValue', // Number type
122123 '_tem' => 'SMWTemperatureValue', // Temperature type
123124 '_dat' => 'SMWTimeValue', // Time type
@@ -129,6 +130,7 @@
130131 '__spu' => 'SMWURIValue', // Special uri type
131132 '__sup' => 'SMWWikiPageValue', // Special subproperty type
132133 '__suc' => 'SMWWikiPageValue', // Special subcategory type
 134+ '__spf' => 'SMWWikiPageValue', // Special Form page type for Semantic Forms
133135 '__sin' => 'SMWWikiPageValue', // Special instance of type
134136 '__red' => 'SMWWikiPageValue', // Special redirect type
135137 '__lin' => 'SMWLinearValue', // Special linear unit conversion type

Status & tagging log