Difference between revisions of "Wishlist"
Josef.Noll (Talk | contribs) (→Tips) |
Josef.Noll (Talk | contribs) |
||
(12 intermediate revisions by 3 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) | ||
Line 7: | Line 9: | ||
==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 | * "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 | ** see example in http://cwi.unik.no/wiki/Category:Course | ||
Line 15: | Line 26: | ||
* <span style="color:green">DONE: 15-11-2011 </span> Access control - http://www.mediawiki.org/wiki/Extension:Access_Control_List | * <span style="color:green">DONE: 15-11-2011 </span> Access control - http://www.mediawiki.org/wiki/Extension:Access_Control_List | ||
* Explain on how to use the duplicate server for testing of new extensions | * Explain on how to use the duplicate server for testing of new extensions | ||
− | * Install S5 slide show: [http://www.mediawiki.org/wiki/Extension:S5SlideShow] | + | * <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) | * 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 | * 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 | ||
Line 30: | Line 41: | ||
== Tips == | == Tips == | ||
− | Delete multiple pages from http://www.mediawiki.org/wiki/Manual:DeleteBatch.php | + | 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 | + | 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 | * ''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 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> |
Latest revision as of 17:52, 11 February 2014
Wiki for ITS | ||||||
---|---|---|---|---|---|---|
|
![]() |
Contents
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
- see example in http://cwi.unik.no/wiki/Category:Course
- 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]
- see [to make own 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
- 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
- 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');
- 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 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
- PmWiki
cd /home/wiki/public_html/local
- 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