Difference between revisions of "Wishlist"

From its-wiki.no
Jump to: navigation, search
(Wishlist)
(export and import of data)
Line 123: Line 123:
  
 
== export and import of data ==
 
== export and import of data ==
The dump was created with:  
+
The dump from the Aifb portal was created with:  
 
  http://www.mediawiki.org/wiki/Manual:DumpBackup.php
 
  http://www.mediawiki.org/wiki/Manual:DumpBackup.php
 
So you should be able to easily import it in a "German" MediaWiki with  
 
So you should be able to easily import it in a "German" MediaWiki with  
Line 129: Line 129:
 
If you import it into an english wiki, you probably need to translate "Vorlage" to "Template", etc.
 
If you import it into an english wiki, you probably need to translate "Vorlage" to "Template", etc.
 
The strategy with the beer will work well here ;)
 
The strategy with the beer will work well here ;)
 
 
The extensions and versions we use can be seen at:
 
The extensions and versions we use can be seen at:
 
  http://www.aifb.kit.edu/web/Spezial:Version
 
  http://www.aifb.kit.edu/web/Spezial:Version
 +
 +
Overview: Replacements German to English: [[GermanEnglishSemanticMediaWiki]]

Revision as of 04:52, 14 April 2011

Bugs

  • DONE 23-02-2011 Server clock wrong by one hour
  • DONE 02-02-2011 on new user creation, "mail error" (UNIK smpt allowed only internal addresses, used jnoll.net for sending)
  • only members of pSHIELDusers can see pSHIELD internal documents
  • Remember: document changes in TrackRecord

Wishlist

  • DONE: 11-04-2011 Network based Authentication is configured for "ict.unik.no"
  • Language conversion: from German to English Mediawiki, http://jbv.unik.no/wiki/Special:PrefixIndex
    • Attribut -> Property (Property of Type xxx)
    • Datentyp -> Type
    • Formular -> Form
    • Kategorie -> Category
    • Vorlage -> "Template"
  • define deliverables as results from Tasks (Deliverable relates to Task Tx.y)
  • common Forms & Templates across the whole wiki -> can be done through export and import (see mail from AIFB)
  • Interwiki links - how to define and create?

Semantic MediaWiki Extensions

installed in extensions, but not activated: smwhalo, but install seems to be specific... The Halo extension is an extension to Semantic MediaWiki (SMW) and has been developed in order to facilitate the use of Semantic Wikis for a large community of users.

  • see manual at [[1]]
  • annotation while having the page open
  • WySiWig
  • SMW+ - Adds further formats to render inline query results.
    • graph, process
    • googlebar (bar charts), jqplotbar (bar chart),
    • timeline, eventline, calendar
    • Math: average, sum, min, max
    • bibtex, icalendar, vcard
    • gallery, exhibit, outline, tagcloud
  • Not considered Semantic Maps - linked to maps
  • Not considered * svn (versioning)
  • DONE * redefine Template:User to make use of SUBJECTPAGNAME, see example from Template:Form
  • DONE enable w=JBV (third wiki)?
  • DONE address rewriting: we can avoid to see "mediawiki/index.php/" but can go directly to smwiki.unik.no/Main
  • DONE, main og pSHIELD installed File:WikiUNIKLocalSettings.doc for explanation of two wiki installations (index.php?w=JBV, ?w=pSHIELD, or "nothing" points to smwiki)
  • Dissregarded, not sufficient. See Talk:Wishlist - add namespaces, see http://www.mediawiki.org/wiki/Manual:Using_custom_namespaces
  • DONE ignore uppercase, lowercase characters, .../index.php/pSHIELD equal to ../index.php/pshield
  • set of properties, templates (see Template:Deliverable)
  • Semantic forms (e.g. registration for a meeting) - (2nd priority)
  • Home page of "privat" pSHIELD with upcoming meetings, deliverables, ...
  • explain file upload

User registration

  • we should get information on which user has signed up, and an "info box" with comments for "which project you want to join".

Explain

  • access to LocalSettings.php, how to
    • vpn to UNIK, then (from Mac) ssh smwiki.unik.no (or ssh -u username smwiki.unik.no), Arne, Josef and Zahid have access
    • files are in /var/www/mediawiki/ vi ./LocalSettings.php (config/LocalSettings.php without Semantic)

Installation example (here: Semantic Forms Inputs)

  • identity download page (tar.gz).
  • login to smwiki.unik.no -
ssh -l Josef smwiki.unik.no
cd /var/www/mediawiki/extensions/
sudo wget  http://semanticformsinputs.googlecode.com/files/SemanticFormsInputs-0.4.tar.gz
sudo tar -xvf SemanticFormsInputs-0.4.tar.gz
  • update LocalSettings.php
cd ..
sudo vi LocalSettings.php require_once('extensions/SemanticFormsInputs/SemanticFormsInputs.php');


Linux commands to smwiki

  • wget sourceforge.com/download/file.rar for downloading of files
  • (access from Mac: fugo)

Examples of queries

  • Examples of Properties: Arne suggests to work on "properties" rather than categories, as properties [[is Deliverable: D2.1.1]] - we need to have some explanations on how that works.
  • works with Form:Meeting, Form:Task and Form:User in pSHIELD
  • how to address the variables in the description? - solved, see example in D2.1 and [Template:Deliverable]

Forms, Templates and Properties

Category

  • Category is a mediawiki construct, and not useful for semantic queries (it may work using Wishlist to define "a page as a user", e.g. WP2 (pagename) is a "property"
  • DONE , replace Category by SUBJECTPAGENAME in the Template, see example for Template:Task and the creation through Form:Task (all in pSHIELD)

Forms, templates and properties

  • A form (create form from special pages) allows to enter information into the Wiki.
  • Forms use templates to create the structured data
  • Templates are based on Properties describing the value of data
    • problem: dates, how to define period? (start date, end date)?
    • Namespaces, we need structure like pSHIELD/D2.1 and not just D2.1 - see Talk:Wishlist

Goal

  • get an automatic sorting for each deliverable, wp, delivery date, disclosure....
  • you should be able to set up a query in WP2 to ask for all deliverables of that WP, alternative ask for all "responsibles" for deliverables in "Q1.2011"
  • perhaps use a template such that semantic information is immediately created (one template per WP, per Task, per Deliverable)

Notes

  • example of query: | ?area#km² = Size in km²
  • Wildcards: born in::+
  • > and <: greater than/less than or equal
  •  !: unequal
  • ~: «like» comparison for strings (disabled by default)


Other examples

  • #REDIRECT [[Other article]]

old mediawiki

  1. PmWiki

cd /home/wiki/public_html/local

  1. Semantic MediaWiki

cd /home/www_docs/mwiki/mediawiki vi LocalSettings.php

  • options in include/DefaultSettings.php
  • done - set $wgLogo to the URL path to your own logo image

$wgLogo='http://wiki.unik.no/uniklogo.gif';

export and import of data

The dump from the Aifb portal was created with:

http://www.mediawiki.org/wiki/Manual:DumpBackup.php

So you should be able to easily import it in a "German" MediaWiki with

http://www.mediawiki.org/wiki/Manual:Importing_XML_dumps

If you import it into an english wiki, you probably need to translate "Vorlage" to "Template", etc. The strategy with the beer will work well here ;) The extensions and versions we use can be seen at:

http://www.aifb.kit.edu/web/Spezial:Version

Overview: Replacements German to English: GermanEnglishSemanticMediaWiki