UNIKUM:Semantic MediaWiki for personal usage

= Semantic MediaWiki for personal usage =


 * title: Semantic MediaWiki
 * subtitle: First steps
 * author: Iñaki Garitano
 * 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
 * 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
 * Postgress

=⌘ MW installation =
 * In a local machine
 * Windows
 * WAMP (Windows, Apache, MySQL, PHP)
 * Linux
 * LAMP
 * Mac OS
 * MAMP


 * Hosting service
 * https://www.mediawiki.org/wiki/Hosting_services
 * https://www.guebs.com

=⌘ 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
 * c:\wamp\www\wiki\LocalSettings.php

=⌘ MW SpecialPages =
 * This pages help us to manage the MW.
 * All pages
 * Delete pages
 * Create users
 * Templates
 * Forms
 * http://cwi.unik.no/wiki/Special:SpecialPages

=⌘ MW content organization=
 * Namespaces
 * Main --> default namespace
 * Personal:
 * Namespace:
 * http://cwi.unik.no/wiki/Nextelco:Technology
 * Categories
 * [ [:Category:category_name] ]
 * Subcategories
 * http://cwi.unik.no/wiki/Special:Categories

=⌘ SMW Basics =
 * Data types
 * Properties (Triple)
 * [ [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=Category:Movies
 * http://garitano.info/jdb/index.php?title=Special:SearchByProperty
 * http://garitano.info/jdb/index.php?title=Special:Ask

=⌘ 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

Semantic MediaWiki quick reference