Difference between revisions of "Wishlist"

From its-wiki.no
Jump to: navigation, search
(Wishlist)
 
(37 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
==Bugs==
 
==Bugs==
 +
* Abstract, Prename, Surname.... are all shown as "pages", but should have been "text types". Something wrong with the database
 +
*
 
* <span style="color:green">DONE 23-02-2011 </span> Server clock wrong by one hour
 
* <span style="color:green">DONE 23-02-2011 </span> Server clock wrong by one hour
 
* <span style="color:green">DONE 02-02-2011 </span> on new user creation, "mail error" (UNIK smpt allowed only internal addresses, used jnoll.net for sending)  
 
* <span style="color:green">DONE 02-02-2011 </span> 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
+
* <span style="color:green">DONE 23-02-2011 </span> only members of pSHIELDusers can see pSHIELD internal documents - in LocalSettings.php, using php based access
 
*  
 
*  
 
* '''Remember: document changes''' in [[TrackRecord]]
 
* '''Remember: document changes''' in [[TrackRecord]]
  
 
==Wishlist==
 
==Wishlist==
 +
* Make word files searchable
 +
* Edit with word template, enable copy and paste from word (including figures)
 +
** including figures in copy and paste (copy from word to wiki)
 +
** add "track changes" for edits (Possibility)?
 +
** generate word document from a wiki page
 +
* <span style="color:green">DONE: 15-11-2011 </span>Added SimpleMath to allow for <nowiki> <math> x^2 </math> </nowiki>
 +
** obsoleteAdd LaTeX extension to formulas: http://www.mediawiki.org/wiki/Extension:Math
 +
** Warning: Extension:Math fails with 1.19
 +
** 16Nov2012: Tried MathJax extension, but got only "blank pages" (Josef) - see extension/MathJax
 +
* "Edit all pages in a category with a form"  (how to do?) - use TagClouds for all categories, and "Category:Keyword" for all
 +
** see example in http://cwi.unik.no/wiki/Category:Course
 +
[[Image:SemanticSearch-page.png|400px|right|semantic search pages]]
 +
* establish a search page based on Semantic Search (for keywords)
 +
** how to establish "related topics"?
  
* <span style="color:green">DONE: 11-04-2011 </span> IP based Authentication is configured for "ict.unik.no"
+
* <span style="color:green">DONE: 15-11-2011 </span> Access control - http://www.mediawiki.org/wiki/Extension:Access_Control_List
* Language conversion: from German to English Mediawiki, http://jbv.unik.no/wiki/Special:PrefixIndex
+
* Explain on how to use the duplicate server for testing of new extensions
** Attribut  -> Property  (Property of Type xxx)
+
* <span style="color:green">DONE: 16-11-2012 </span> Install S5 slide show: [http://www.mediawiki.org/wiki/Extension:S5SlideShow]
** Datentyp -> Type
+
* FRIDA login option for smwiki (and all other wikis)
** Formular -> Form
+
* explain how to import and export an ontology, see how it is done in SMW+. Can we do it in our installation? If so, how? [http://smwforum.ontoprise.com/smwforum/index.php/Example/How_to_import_the_FOAF_ontology_and_how_to_use_it_in_the_Wiki How to import FOAF in SMWplus], Alternative might be RDFIO
** Kategorie -> Category
+
* <span style="color:green">DONE 20110909 </span> - Install GraphViz, allowing graphs in ask (see http://pshield.unik.no/wiki/Josef.Noll)
** Vorlage -> "Template"
+
** see: http://www.mediawiki.org/wiki/Extension:GraphViz#Install_Instructions
 
+
* <span style="color:green">DONE 20110909 </span> Install [[http://www.mediawiki.org/wiki/Extension:Semantic_Result_Formats#Download|Extension:Semantic Result Formats]] 
 +
** see [[http://wikimania2010.wikimedia.org/w/index.php?title=File:Semantic_Result_Formats-_Automatically_transforming_structured_data_into_useful_output_formats.pdf&page=1|her to make own formats]]
 +
* <span style="color:green">DONE: 11-04-2011 </span> Network based Authentication is configured for "ict.unik.no"
 +
** <span style="color:red">edit not allowed? </span>  all UNIK IP addresses should allow "edit" on ict, and all ICT and CWI pages should be "open for read".
 +
* Language conversion: from German to English Mediawiki, import SMW forms...
 
* define deliverables as results from Tasks (Deliverable relates to Task Tx.y)
 
* 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)
 
* 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?
 
* Interwiki links - how to define and create?
  
=== Semantic MediaWiki Extensions ===
+
== Tips ==
<span style="color:green">installed in extensions, but not activated: smwhalo, but install seems to be specific... </span> 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.
+
Delete multiple pages using Nuke extension goto Special pages: Mass Delete [[Special:Nuke]]  or http://cwi.unik.no/wiki/Special:Nuke
* see manual at [[http://smwforum.ontoprise.com/smwforum/index.php/Help:Halo_Extension_User_Manual]]
+
* old extension from http://www.mediawiki.org/wiki/Manual:DeleteBatch.php, using: php deleteBatch.php -r "spamming with external links" somepages.txt 
*annotation while having the page open
+
* WySiWig
+
  
* SMW+  - Adds further formats to render inline query results.
+
What is a fast method to  "block all these users"?
** graph, process
+
* ''Does not work'' - Any page highlighted in yellow in [[Special:NewPages]] or http://cwi.unik.no/wiki/Special:NewPages has not yet been marked as patrolled. Mark pages as patrolled for an easy delete, using: Special:Log/patrol
** googlebar (bar charts), jqplotbar (bar chart),
+
** timeline, eventline, calendar
+
** Math: average, sum, min, max
+
** bibtex, icalendar, vcard
+
** gallery, exhibit, outline, tagcloud
+
 
+
* <span style="color:blue">Not considered </span> Semantic Maps - linked to maps
+
* <span style="color:blue">Not considered </span> * svn (versioning)
+
* <span style="color:green">DONE </span> * redefine Template:User to make use of SUBJECTPAGNAME, see example from Template:Form
+
* <span style="color:green">DONE </span>  enable w=JBV (third wiki)?
+
* <span style="color:green">DONE </span> address rewriting: we can avoid to see "mediawiki/index.php/" but can go directly to [http://smwiki.unik.no/Main smwiki.unik.no/Main]
+
** suggest that we install: http://smwiki.unik.no/pSHIELD  and http://smwiki.unik.no/main, http://smwiki.unik.no/JBV and follow the suggestion in [[Talk:Wishlist]]
+
* <span style="color:green">DONE, main og pSHIELD installed</span> [[File:WikiUNIKLocalSettings.doc]] for explanation of two wiki installations (index.php?w=JBV, ?w=pSHIELD, or "nothing" points to smwiki)
+
* <span style="color:green">Dissregarded, not sufficient. See [[Talk:Wishlist]]</span>  - add namespaces, see http://www.mediawiki.org/wiki/Manual:Using_custom_namespaces
+
* <span style="color:green">DONE </span><span style="color:red">ignore uppercase, lowercase characters,</span> .../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".
+
  
 +
=== Semantic MediaWiki Extensions ===
 +
* Semantic Bundle is installed, and most extensions can be "enabled".
 +
*
 
===Explain===
 
===Explain===
 
* <span style="color:green">access to LocalSettings.php, how to</span>
 
* <span style="color:green">access to LocalSettings.php, how to</span>
Line 60: Line 59:
 
* identity download page (tar.gz).  
 
* identity download page (tar.gz).  
 
* login to smwiki.unik.no -  
 
* login to smwiki.unik.no -  
  ssh -l Josef smwiki.unik.no
+
  ssh -l josef smwiki.unik.no
 
  cd /var/www/mediawiki/extensions/
 
  cd /var/www/mediawiki/extensions/
 
  sudo wget  http://semanticformsinputs.googlecode.com/files/SemanticFormsInputs-0.4.tar.gz
 
  sudo wget  http://semanticformsinputs.googlecode.com/files/SemanticFormsInputs-0.4.tar.gz
 
  sudo tar -xvf SemanticFormsInputs-0.4.tar.gz
 
  sudo tar -xvf SemanticFormsInputs-0.4.tar.gz
 +
* remote copy
 +
scp filename josef@smwiki.unik.no:~
  
 
* update LocalSettings.php
 
* update LocalSettings.php
 
  cd ..
 
  cd ..
  sudo vi LocalSettings.php require_once('extensions/SemanticFormsInputs/SemanticFormsInputs.php');
+
cd /var/www/mediawiki
 +
# make copy of LocalSettings
 +
sudo cp LocalSettings.php LocalSettings.php.`date +%F`
 +
  sudo vi LocalSettings.php  
 +
require_once('extensions/SemanticFormsInputs/SemanticFormsInputs.php');
  
 +
* check installed functionality [[Special:Version]]
  
 +
* multiple rename of files, here mv *.jpg *.JPG
 +
rename -v 's/\.jpg/\.JPG/' *.jpg
  
 
Linux commands to smwiki
 
Linux commands to smwiki
Line 123: Line 131:
  
 
== 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 137:
 
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]]

Latest revision as of 17:52, 11 February 2014

Bugs

  • Abstract, Prename, Surname.... are all shown as "pages", but should have been "text types". Something wrong with the database
  • 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)
  • DONE 23-02-2011 only members of pSHIELDusers can see pSHIELD internal documents - in LocalSettings.php, using php based access
  • Remember: document changes in TrackRecord

Wishlist

  • Make word files searchable
  • Edit with word template, enable copy and paste from word (including figures)
    • including figures in copy and paste (copy from word to wiki)
    • add "track changes" for edits (Possibility)?
    • generate word document from a wiki page
  • DONE: 15-11-2011 Added SimpleMath to allow for <math> x^2 </math>
    • obsoleteAdd LaTeX extension to formulas: http://www.mediawiki.org/wiki/Extension:Math
    • Warning: Extension:Math fails with 1.19
    • 16Nov2012: Tried MathJax extension, but got only "blank pages" (Josef) - see extension/MathJax
  • "Edit all pages in a category with a form" (how to do?) - use TagClouds for all categories, and "Category:Keyword" for all
Error creating thumbnail: File missing
  • establish a search page based on Semantic Search (for keywords)
    • how to establish "related topics"?
  • DONE: 15-11-2011 Access control - http://www.mediawiki.org/wiki/Extension:Access_Control_List
  • Explain on how to use the duplicate server for testing of new extensions
  • DONE: 16-11-2012 Install S5 slide show: [1]
  • FRIDA login option for smwiki (and all other wikis)
  • explain how to import and export an ontology, see how it is done in SMW+. Can we do it in our installation? If so, how? How to import FOAF in SMWplus, Alternative might be RDFIO
  • DONE 20110909 - Install GraphViz, allowing graphs in ask (see http://pshield.unik.no/wiki/Josef.Noll)
  • DONE 20110909 Install [Result Formats]
  • DONE: 11-04-2011 Network based Authentication is configured for "ict.unik.no"
    • edit not allowed? all UNIK IP addresses should allow "edit" on ict, and all ICT and CWI pages should be "open for read".
  • Language conversion: from German to English Mediawiki, import SMW forms...
  • 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?

Tips

Delete multiple pages using Nuke extension goto Special pages: Mass Delete Special:Nuke or http://cwi.unik.no/wiki/Special:Nuke

What is a fast method to "block all these users"?

Semantic MediaWiki Extensions

  • Semantic Bundle is installed, and most extensions can be "enabled".

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
  • remote copy
scp filename josef@smwiki.unik.no:~
  • update LocalSettings.php
cd ..
cd /var/www/mediawiki
# make copy of LocalSettings
sudo cp LocalSettings.php LocalSettings.php.`date +%F`
sudo vi LocalSettings.php 
require_once('extensions/SemanticFormsInputs/SemanticFormsInputs.php');
  • multiple rename of files, here mv *.jpg *.JPG
rename -v 's/\.jpg/\.JPG/' *.jpg

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