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

From its-wiki.no
Jump to: navigation, search
Line 27: Line 27:
 
* MediaWiki is the core package written in PHP
 
* MediaWiki is the core package written in PHP
 
* It is possible to add functionality with extensions
 
* It is possible to add functionality with extensions
 +
** Maps
 +
** Math --> LaTeX formulas
 
** Semantic MediaWiki
 
** Semantic MediaWiki
 
** Semantic Forms
 
** Semantic Forms
 
** Semantic Forms Input
 
** Semantic Forms Input
 
** Semantic Result Formats
 
** Semantic Result Formats
** Semantic Maps
 
** Math --> LaTeX formulas
 
 
** ...
 
** ...
 
*http://cwi.unik.no/index.php?title=Special:Version
 
*http://cwi.unik.no/index.php?title=Special:Version
 +
  
 
=⌘ SMW Requirements =
 
=⌘ SMW Requirements =
Line 40: Line 41:
 
** Apache
 
** Apache
 
** Nginx
 
** Nginx
 +
** ...
 
* PHP --> language that MediaWiki is written
 
* PHP --> language that MediaWiki is written
 
* DataBase
 
* DataBase
Line 45: Line 47:
 
** SQlite
 
** SQlite
 
** Postgress
 
** Postgress
 +
** ...
  
  
 
=⌘ MW installation =
 
=⌘ MW installation =
 
* In a local machine
 
* In a local machine
 +
** Windows
 +
*** WAMP (Windows, Apache, MySQL, PHP)
 +
** Linux
 +
*** LAMP
 +
** Mac OS
 +
*** MAMP
 +
 
* Hosting service
 
* Hosting service
 
** https://www.mediawiki.org/wiki/Hosting_services
 
** https://www.mediawiki.org/wiki/Hosting_services
 
+
** https://www.guebs.com
* Windows
+
** WAMP (Windows, Apache, MySQL, PHP)
+
* Linux
+
** LAMP
+
* Mac OS
+
** MAMP
+
  
  
 
=⌘ Environment configuration =
 
=⌘ Environment configuration =
* All data from SMW or MW is stored in a database
+
* All PAGES from MW are stored in a DATABASE
* Is important to make some database backups
+
* All MEDIA (images, pdf) are stored in Wiki installation folder.
 +
* Is IMPORTANT to make some database and media BACKUPS
 
** We can use Dropbox
 
** We can use Dropbox
  
Line 68: Line 73:
 
**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
 +
** mklink /prefix link_path file/folder_path
 +
*** Use junction option
  
  
Line 79: Line 86:
 
** ../default_web_location/smw_folder/LocalSettings.php
 
** ../default_web_location/smw_folder/LocalSettings.php
 
** c:\wamp\www\wiki\LocalSettings.php
 
** c:\wamp\www\wiki\LocalSettings.php
 
  
  
 
=⌘ MW SpecialPages =
 
=⌘ MW SpecialPages =
 
* This pages help us to manage the MW.
 
* This pages help us to manage the MW.
 +
** All pages
 +
** Delete pages
 +
** Create users
 +
** Templates
 +
** Forms
 
** http://cwi.unik.no/wiki/Special:SpecialPages
 
** http://cwi.unik.no/wiki/Special:SpecialPages
*** All pages
 
*** Properties
 
*** Types
 
*** Templates
 
*** Forms
 
  
  
 
=⌘ MW content organization=
 
=⌘ MW content organization=
 
*Namespaces
 
*Namespaces
** Main
+
** Main --> default namespace
 
** Personal:
 
** Personal:
 
** Namespace:
 
** Namespace:
 
** http://cwi.unik.no/wiki/Nextelco:Technology
 
** http://cwi.unik.no/wiki/Nextelco:Technology
 
*Categories
 
*Categories
** [[:Category:category_name]]
+
** [ [:Category:category_name] ]
 
**Subcategories
 
**Subcategories
 
**http://cwi.unik.no/wiki/Special:Categories
 
**http://cwi.unik.no/wiki/Special:Categories
Line 106: Line 112:
 
=⌘ SMW Basics =
 
=⌘ SMW Basics =
 
*Data types
 
*Data types
*Properties
+
*Properties (Triple)
** [[Property name::property value]]
+
** [ [Property name::property value] ]
 
**http://semantic-mediawiki.org/wiki/Help:Properties_and_types
 
**http://semantic-mediawiki.org/wiki/Help:Properties_and_types
 
**http://cwi.unik.no/index.php?title=Special:Propertie
 
**http://cwi.unik.no/index.php?title=Special:Propertie
Line 150: Line 156:
 
* Other web pages
 
* Other web pages
 
* http://www.mediawikiwidgets.org/Widgets_Catalog
 
* http://www.mediawikiwidgets.org/Widgets_Catalog
 +
 +
 +
[http://semantic-mediawiki.org/w/images/e/e9/SMW_quick_reference.pdf Semantic MediaWiki quick reference]

Revision as of 07:54, 16 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:

| sort=Rating

| order=descending

| format=ol

} }


⌘ SMW Result formats


⌘ Widgets Extension


Semantic MediaWiki quick reference