Semantic MediaWiki: Difference between revisions

From OLPC
Jump to navigation Jump to search
Line 18: Line 18:
==Easy Fixes (ie just edit a little bit of code)==
==Easy Fixes (ie just edit a little bit of code)==


Auto generate templates:
;Auto generate templates:
:Make template an activity and edit with form
:Make template an activity and edit with form
:Move around the <no include> tags
:Move around the <no include> tags
Line 25: Line 25:




Add new types
; Add new types
::* It's easy to add a property that has some built-in type (like <nowiki>[[Has type::Text]]</nowiki> and restrict it to certain values and maybe control its format.
::* It's possible to add a new "linear" type that converts between different units , e.g. [http://sandbox.semantic-mediawiki.org/wiki/Type:Area a Type;Area]
::* it's hard to add other kinds of types, it requires writing PHP code.
::* -- [[User:Skierpage|Skierpage]] 10:42, 31 July 2008 (UTC)
:Time duration
:Time duration
:: If you want auto-conversion between e.g. weeks and days and seconds, copy what you want from [http://semanticweb.org/wiki/Type:Time] -- [[User:Skierpage|Skierpage]] 10:42, 31 July 2008 (UTC)
:User
:User
:: Not sure what this means. If it's links to [[User:skierpage]] then maybe just create Property:User of type:page.
:Trac
:Trac
:: This could be done as Property:Ticket, of Type:URL and you use a template to fabricate the URL, or Property:Ticket of Type:Number and you use [http://semantic-mediawiki.org/wiki/Help:Service_links Service links] and templates to turn the number into a trac URL.
:Image
:Image
:: Just some property of Type:Page (the default), in most cases SMW do the right thing and display the image .
:Template?
:Template?
:: Not sure what you mean.




Make the free text box larger.
;Make the free text box larger.




When creating a template, you should be able to create properties in that window as well as use already created properties.
;When creating a template, you should be able to create properties in that window as well as use already created properties.




Way to 'prettify' links when used in SMW properties with a "Page" type.
;Way to 'prettify' links when used in SMW properties with a "Page" type.
:Example: [[Tests/Sugar_Control_Panel/About_Me/Color_Change|Color Change]] instead of [[Tests/Sugar_Control_Panel/About_Me/Color_Change]].
:Example: [[Tests/Sugar_Control_Panel/About_Me/Color_Change|Color Change]] instead of [[Tests/Sugar_Control_Panel/About_Me/Color_Change]].
:: Maybe have a "Brief name" property and display that while linking to the full page name.




Translating Property names
;Translating Property names
:Nathany on #cc
:Nathany on #cc




When making a template add a more organized presentation of properties
; When making a template add a more organized presentation of properties



==Complex fixes (ie require creating a new extension)==
==Complex fixes (ie require creating a new extension)==

Revision as of 10:42, 31 July 2008

Trivial Fixes (ie just install something/ fix something that’s already installed)

Aggregate information
{{#ask: [[Category:Deployment]] | ?language | ?keyboard | ?number_of_laptops }}
Edit with form tab
Semantic google maps
Way to embed google maps in wiki with locations of projects/deployments and with links to appropriate wiki pages.
Create a property of Type:Geographic coordinate and you get "service links" to Google maps for free (see e.g. [1], click the (?) symbol). However, displaying several such locations on one Google Map is tricky, you either need the Semantic Google Maps extension with SMW version 1.2 and/or the Google Maps extension (see example) -- Skierpage 10:26, 31 July 2008 (UTC)

Easy Fixes (ie just edit a little bit of code)

Auto generate templates
Make template an activity and edit with form
Move around the <no include> tags
But when empty it should show something
Make a tag that says this is not semantic stuff


Add new types
  • It's easy to add a property that has some built-in type (like [[Has type::Text]] and restrict it to certain values and maybe control its format.
  • It's possible to add a new "linear" type that converts between different units , e.g. a Type;Area
  • it's hard to add other kinds of types, it requires writing PHP code.
  • -- Skierpage 10:42, 31 July 2008 (UTC)
Time duration
If you want auto-conversion between e.g. weeks and days and seconds, copy what you want from [2] -- Skierpage 10:42, 31 July 2008 (UTC)
User
Not sure what this means. If it's links to User:skierpage then maybe just create Property:User of type:page.
Trac
This could be done as Property:Ticket, of Type:URL and you use a template to fabricate the URL, or Property:Ticket of Type:Number and you use Service links and templates to turn the number into a trac URL.
Image
Just some property of Type:Page (the default), in most cases SMW do the right thing and display the image .
Template?
Not sure what you mean.


Make the free text box larger.


When creating a template, you should be able to create properties in that window as well as use already created properties.


Way to 'prettify' links when used in SMW properties with a "Page" type.
Example: Color Change instead of Tests/Sugar_Control_Panel/About_Me/Color_Change.
Maybe have a "Brief name" property and display that while linking to the full page name.


Translating Property names
Nathany on #cc


When making a template add a more organized presentation of properties

Complex fixes (ie require creating a new extension)

Aggregate semantic information using a template


Something in between a list of specific allowed values and free text

I want to be able to have the equivalent of an other field


Way to automatically email users who maintain pages


Automatically populate data

ex page last updated case
Way to pull %translated from pootle