Difference between revisions of "UNIKUM:Semantic MediaWiki for personal usage"

From its-wiki.no
Jump to: navigation, search
Line 125: Line 125:
  
 
=⌘ SMW Inline queries =
 
=⌘ SMW Inline queries =
{ {#ask: [[Category:Movies]]
+
{ {#ask: [[:Category:Movies]]
  
 
| sort=Rating
 
| sort=Rating

Revision as of 12:51, 17 October 2014

Semantic MediaWiki for personal usage

Course UNIKUM Kollokvie
Title Semantic MediaWiki for personal usage
Lecture date 2014/10/16 1200-1300
presented by Iñaki Garitano
Objective Explain the basics about the Semantic MediaWiki for personal usage.
Learning outcomes Necessary software for personal SMW installation.

Basic usage of Semantic MediaWiki

Pensum (read before)
References (further info)
Keywords Semantic MediaWiki

this page was created by Special:FormEdit/Lecture, and can be edited by Special:FormEdit/Lecture/UNIKUM:Semantic MediaWiki for personal usage.



Semantic MediaWiki for personal usage

Title
Semantic MediaWiki
Subtitle
First steps
Author
Iñaki Garitano
Footer
Semantic MediaWiki for personal usage
Subfooter
UNIKUM kolloq



⌘ MediaWiki & extensions

  • MediaWiki is the core package written in PHP
  • It is possible to add functionality with extensions
    • Maps
    • Math --> LaTeX formulas
    • Semantic MediaWiki
    • Semantic Forms
    • Semantic Forms Input
    • Semantic Result Formats
    • ...
  • http://cwi.unik.no/index.php?title=Special:Version


⌘ SMW Requirements

  • Web server
    • Apache
    • Nginx
    • ...
  • PHP --> language that MediaWiki is written
  • DataBase
    • MySQL
    • SQlite
    • Postgress
    • ...


⌘ MW installation

  • In a local machine
    • Windows
      • WAMP (Windows, Apache, MySQL, PHP)
    • Linux
      • LAMP
    • Mac OS
      • MAMP


⌘ Environment configuration

  • All PAGES from MW are stored in a DATABASE
  • All MEDIA (images, pdf) are stored in Wiki installation folder.
  • Is IMPORTANT to make some database and media BACKUPS
    • We can use Dropbox
  • Windows
    • Is important not to change the default locations
    • Use symbolic links to point from dropbox folder to default location
    • mklink /prefix link_path file/folder_path
      • Use junction option


⌘ MW configuration

  • All config setting are in LocalSettings.php file
    • Permissions
    • Extensions
    • Namespaces
    • ...
  • For whatever needs to be changed go to LocalSettings.php
    • ../default_web_location/smw_folder/LocalSettings.php
    • c:\wamp\www\wiki\LocalSettings.php


⌘ MW SpecialPages


⌘ MW content organization


⌘ SMW Basics


⌘ SMW Inline queries

{ {#ask: Category:Movies

| sort=Rating

| order=descending

| format=ol

} }


⌘ SMW Result formats


⌘ Widgets Extension


Semantic MediaWiki quick reference