Difference between revisions of "Wishlist"
Josef.Noll (Talk | contribs) (→Tips) |
Josef.Noll (Talk | contribs) (→Tips) |
||
Line 30: | Line 30: | ||
== Tips == | == Tips == | ||
+ | Delete multiple pages from [[Manual:DeleteBatch.php]] | ||
+ | php deleteBatch.php somepages.txt | ||
+ | |||
What is a fast method to "delete all theses pages" or "block all these users"? | What is a fast method to "delete all theses pages" or "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 |
Revision as of 12:22, 6 January 2012
Wiki for ITS | ||||||
---|---|---|---|---|---|---|
|
Contents
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)
- 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
- "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
- 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 from Manual:DeleteBatch.php
php deleteBatch.php somepages.txt
What is a fast method to "delete all theses pages" or "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
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 [[2]]
- 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
- 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
- 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
- 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