Last modified: 2009-12-30 10:46:35 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T23934, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 21934 - Allow extension datatypes that derive from Type:Page
Allow extension datatypes that derive from Type:Page
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Markus Krötzsch
:
Depends on:
Blocks: 21891
  Show dependency treegraph
 
Reported: 2009-12-23 17:37 UTC by Markus Krötzsch
Modified: 2009-12-30 10:46 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Markus Krötzsch 2009-12-23 17:37:34 UTC
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).
Comment 1 Markus Krötzsch 2009-12-30 10:46:35 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links