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

From its-wiki.no
Jump to: navigation, search
Line 22: Line 22:
 
</slideshow>
 
</slideshow>
 
</noinclude>
 
</noinclude>
 
=⌘ Outline =
 
* MediaWiki and its environment
 
  
  
Line 37: Line 34:
 
** Math --> LaTeX formulas
 
** Math --> LaTeX formulas
 
** ...
 
** ...
 +
  
 
=⌘ SMW Requirements =
 
=⌘ SMW Requirements =
Line 47: Line 45:
 
** SQlite
 
** SQlite
 
** Postgress
 
** Postgress
 +
  
 
=⌘ MW installation =
 
=⌘ MW installation =
Line 64: Line 63:
 
* Is important to make some database backups
 
* Is important to make some database backups
 
** We can use Dropbox
 
** We can use Dropbox
 
 
* Is important not to change the default locations
 
* Is important not to change the default locations
 
* Use symbolic links to point from dropbox folder to default location
 
* Use symbolic links to point from dropbox folder to default location
Line 87: Line 85:
 
** http://cwi.unik.no/wiki/Nextelco:Technology
 
** http://cwi.unik.no/wiki/Nextelco:Technology
 
*Categories
 
*Categories
 +
** [[Category:category_name]]
 
**Subcategories
 
**Subcategories
 
**http://cwi.unik.no/wiki/Special:Categories
 
**http://cwi.unik.no/wiki/Special:Categories
Line 92: Line 91:
  
 
=⌘ MW SpecialPages =
 
=⌘ MW SpecialPages =
 
 
* This pages help us to manage the MW.
 
* This pages help us to manage the MW.
 
** http://cwi.unik.no/wiki/Special:SpecialPages
 
** http://cwi.unik.no/wiki/Special:SpecialPages
 +
*** All pages
 +
*** Properties
 +
*** Types
 +
*** Templates
 +
*** Forms
 +
 +
 +
=⌘ SMW Basics =
 +
*Data types
 +
*Properties
 +
** [[Property name::property value]]
 +
**http://semantic-mediawiki.org/wiki/Help:Properties_and_types
 +
**http://cwi.unik.no/index.php?title=Special:Propertie
 +
*Templates
 +
** http://garitano.info/jdb/index.php?title=Template:Movie_description
 +
*Forms
 +
** https://www.mediawiki.org/wiki/Extension:Semantic_Forms/Defining_forms
 +
** http://garitano.info/jdb/index.php?title=Form:Movie
 +
*http://edutechwiki.unige.ch/mediawiki/images/8/8a/Semantic_Form_Diagram.svg
 +
 +
 +
=⌘ SMW Inline queries =
 +
{{#ask: [[Category:Movies]]
 +
| sort=Rating
 +
| order=descending
 +
| format=ol
 +
}}
 +
*http://garitano.info/jdb/index.php?title=Special:SearchByProperty
 +
*http://garitano.info/jdb/index.php?title=Special:Ask
 +
*http://garitano.info/jdb/index.php?title=Category:Movies
 +
 +
 +
=⌘ SMW Result formats =
 +
*Table
 +
*Ordered/Unordered lists
 +
*Category
 +
*Graphics
 +
*Maps
 +
** http://garitano.info/jdb/index.php?title=Presentation_at_SINTEF
 +
*http://semantic-mediawiki.org/wiki/Help:Result_formats
 +
 +
 +
=⌘ Widgets Extension =
 +
* Include videos
 +
* Social networks
 +
* Photo slideshows
 +
* Weather
 +
* Other web pages
 +
* http://www.mediawikiwidgets.org/Widgets_Catalog

Revision as of 19:11, 15 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
    • Semantic MediaWiki
    • Semantic Forms
    • Semantic Forms Input
    • Semantic Result Formats
    • Semantic Maps
    • Math --> LaTeX formulas
    • ...


⌘ SMW Requirements

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


⌘ MW installation

  • Windows
    • WAMP (Windows, Apache, MySQL, PHP)
  • Linux
    • LAMP
  • Mac OS
    • MAMP

⌘ Environment configuration

  • All data from SMW or MW is stored in a database
  • Is important to make some database backups
    • We can use Dropbox
  • Is important not to change the default locations
  • Use symbolic links to point from dropbox folder to default location


⌘ 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 content organization


⌘ MW SpecialPages


⌘ SMW Basics


⌘ SMW Inline queries


⌘ SMW Result formats


⌘ Widgets Extension