Content Management
Jump to navigation
Jump to search
DRAFT - DRAFT - DRAFT
the objective of this page is to explain how the content of the wiki page could be structured using Semantic for Mediawiki (SMW) to build a scalable and object-based wiki (for search and relation-building aspects) and still keeping the freedom for authors to create their content. There needs to be a trade-off to be found between freedom and structure.
Principles
SMW uses multiple notions. They are key to be used properly for good use.
Object | Usage | Naming Convention | Example |
---|---|---|---|
Property | defines a relation between 2 objects, or assign an attribute to an object | UpperCamelCase.DestinationObjectType or UpperCamelCase.DestinationAttributeType | FoundIn.Page
HasWeight.Qty |
Template | defines which properties shall be defined at the creation of an object. Not all pages must be created using templates, but objects which have relations between themselves are best created using templates. | T/UpperCamelCase.OutputFormat | T/Connector.Infobox
T/Battery.Table |
Form | A Form is an helper for the author to create a templated object. The form allows to create a consistent visual structure to pages | F/UpperCamelCase - the Form refers to a corresponding Template, but the output format will not be referred to in the form name.
A form can also call mulitple templates |
F/Connector
F/Battery |