Difference between revisions of "Wishlist"

From its-wiki.no
Jump to: navigation, search
m (Wishlist)
 
(63 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
==Bugs==
 
==Bugs==
* on new user creation, "mail error" (guess that smtp is not correctly configured)
+
* Abstract, Prename, Surname.... are all shown as "pages", but should have been "text types". Something wrong with the database
* only members of pSHIELDusers can see pSHIELD internal documents
+
*
 +
* <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 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==
* <span style="color:green">DONE </span> enable w=JBV (third wiki)?
+
* Make word files searchable
* address rewriting: we can avoid to see "mediawiki/index.php/" but can go directly to [http://smwiki.unik.no/Main smwiki.unik.no/Main]
+
* Edit with word template, enable copy and paste from word (including figures)
** 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]]
+
** including figures in copy and paste (copy from word to wiki)
* <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)
+
** add "track changes" for edits (Possibility)?
* <span style="color:green">Dissregarded, not sufficient. See [[Talk:Wishlist]]</span>  - add namespaces, see http://www.mediawiki.org/wiki/Manual:Using_custom_namespaces
+
** generate word document from a wiki page
* <span style="color:red">ignore uppercase, lowercase characters,</span> .../index.php/pSHIELD equal to ../index.php/pshield
+
* <span style="color:green">DONE: 15-11-2011 </span>Added SimpleMath to allow for <nowiki> <math> x^2 </math> </nowiki>
* set of properties, templates (see Template:Deliverable)
+
** obsoleteAdd LaTeX extension to formulas: http://www.mediawiki.org/wiki/Extension:Math
* Semantic forms (e.g. registration for a meeting) - (2nd priority)
+
** Warning: Extension:Math fails with 1.19
* Home page of "privat" pSHIELD with upcoming meetings, deliverables, ...
+
** 16Nov2012: Tried MathJax extension, but got only "blank pages" (Josef) - see extension/MathJax
* explain file upload
+
* "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"?
  
User registration
+
* <span style="color:green">DONE: 15-11-2011 </span> Access control - http://www.mediawiki.org/wiki/Extension:Access_Control_List
* we should get information on which user has signed up, and an "info box" with comments for "which project you want to join".  
+
* Explain on how to use the duplicate server for testing of new extensions
 +
* <span style="color:green">DONE: 16-11-2012 </span> Install S5 slide show: [http://www.mediawiki.org/wiki/Extension:S5SlideShow]
 +
* 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? [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
 +
* <span style="color:green">DONE 20110909 </span> - Install GraphViz, allowing graphs in ask (see http://pshield.unik.no/wiki/Josef.Noll)
 +
** 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)
 +
* 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
 +
* old extension from http://www.mediawiki.org/wiki/Manual:DeleteBatch.php, using:  php deleteBatch.php -r "spamming with external links" somepages.txt 
 +
 +
What is a fast method to  "block all these users"?
 +
* ''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
 +
 +
=== 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 25: Line 55:
 
** files are in /var/www/mediawiki/  vi ./LocalSettings.php  (config/LocalSettings.php without Semantic)
 
** 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');
 +
 +
* check installed functionality [[Special:Version]]
 +
 +
* 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 queries
 
* <span style="color:blue">Examples of Properties: </span>Arne suggests to work on "properties" rather than categories, as properties <nowiki>[[is Deliverable: D2.1.1]] </nowiki> - we need to have some explanations on how that works.
 
* <span style="color:blue">Examples of Properties: </span>Arne suggests to work on "properties" rather than categories, as properties <nowiki>[[is Deliverable: D2.1.1]] </nowiki> - we need to have some explanations on how that works.
* tried with deliverables in pSHIELD, e.g. [[WP2]] for Query, and [[D2.1]] for definition of a template-based deliverable
+
* <span style="color:green"> works </span> with [[Form:Meeting]], [[Form:Task]] and [[Form:User]] in pSHIELD
* I don't understand:  
+
* <span style="color:green"> how to address the variables in the description? - solved, </span> see example in [[D2.1]] and [Template:Deliverable]
** how to address the variables in the description? - solved, see example in [[D2.1]] and [Template:Deliverable]
+
 
** What are properties, types, ....?
+
===Forms, Templates and Properties===
 +
Category
 +
* '''Category''' is a mediawiki construct, and not useful for semantic queries  (it may work using {{SUBJECTPAGENAME}} to define "a page as a user", e.g. WP2 (pagename) is a "property"
 +
* <span style="color:green">DONE </span>, 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]]''
 
** Namespaces, we need structure like pSHIELD/D2.1 and not just D2.1 - ''see [[Talk:Wishlist]]''
  
Line 62: Line 129:
 
* done - set $wgLogo to the URL path to your own logo image
 
* done - set $wgLogo to the URL path to your own logo image
 
$wgLogo='http://wiki.unik.no/uniklogo.gif';
 
$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]]

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