Page MenuHomePhabricator

Allow extension datatypes that derive from Type:Page
Closed, ResolvedPublic

Description

SMW already allows extensions to register new datatypes, based on custom implementations for parsing/processing data inputs. However, currently all such types are stored as "attributes" that are represented as a single string, possibly with a unit of measurement. This restricts the possible extensions, since types that derive from Type:Page require a different handling (e.g. to enable querying by namespace and using sortkeys properly). SMW should be extended so that extension datatypes can determine the desired handling (by referring to an existing type).


Version: unspecified
Severity: enhancement

Details

Reference
bz21934

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:46 PM
bzimport set Reference to bz21934.

SMW has been extended to recognize extension datatypes of Type:Page now, based on whether or not they are subclasses of SMWWikiPageValue. this should suffice for now, and especially it allow Bug 21891 to be addressed.