Difference between revisions of "UNIKUM:Semantic MediaWiki for personal usage"
From its-wiki.no
(19 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{UNIKUM Kollokvie |
− | + | |Date=2014/10/16 | |
− | | | + | |Duration=1215-1300 |
− | + | |Place=UNIK, Room 408 | |
− | | | + | |Lecturer=Iñaki Garitano |
− | |Lecturer=Iñaki Garitano | + | |Keywords=Semantic MediaWiki |
− | |Objective=Explain the basics about the Semantic MediaWiki | + | |Objective=Explain the basics about the Semantic MediaWiki |
− | | | + | * Install and configuration |
− | + | * Extensions | |
− | | | + | * Properties, templates, forms, categories |
+ | * Result formats | ||
+ | }} | ||
+ | {{UNIKUM Deltakere | ||
+ | |Master Students Number=5 | ||
+ | |PhD Students Number=0 | ||
+ | |Postdocs Number=1 | ||
}} | }} | ||
− | |||
− | |||
= Semantic MediaWiki for personal usage = | = Semantic MediaWiki for personal usage = | ||
<!---- non wiki - heading for slideshow scaled="80" ---> | <!---- non wiki - heading for slideshow scaled="80" ---> | ||
Line 22: | Line 26: | ||
</slideshow> | </slideshow> | ||
</noinclude> | </noinclude> | ||
− | |||
− | |||
− | |||
Line 30: | Line 31: | ||
* 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 | ||
− | |||
− | |||
** ... | ** ... | ||
+ | *http://cwi.unik.no/index.php?title=Special:Version | ||
+ | |||
=⌘ SMW Requirements = | =⌘ SMW Requirements = | ||
Line 42: | Line 45: | ||
** Apache | ** Apache | ||
** Nginx | ** Nginx | ||
+ | ** ... | ||
* PHP --> language that MediaWiki is written | * PHP --> language that MediaWiki is written | ||
* DataBase | * DataBase | ||
Line 47: | Line 51: | ||
** 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 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=⌘ Environment configuration = | =⌘ Environment configuration = | ||
− | * All | + | * All PAGES from MW are stored in a DATABASE |
− | * Is | + | * 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 | ||
− | * Is important not to change the default locations | + | *Windows |
− | * Use symbolic links to point from dropbox folder to default location | + | **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 = | ||
+ | * 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 | ||
+ | |||
+ | |||
+ | [http://semantic-mediawiki.org/w/images/e/e9/SMW_quick_reference.pdf Semantic MediaWiki quick reference] |
Latest revision as of 13:32, 11 December 2014
Semantic MediaWiki for personal usage | |
---|---|
Date | 2014/10/16 1215-1300 |
Place | UNIK, Room 408 |
By | Iñaki Garitano |
Keywords | Semantic MediaWiki |
Go back to UNIKUM
Objective
Explain the basics about the Semantic MediaWiki
- Install and configuration
- Extensions
- Properties, templates, forms, categories
- Result formats
Antall Deltakere
Attender type | Antall deltakere |
---|---|
Number of Master Students | 5 |
Number of PhD Students | 0 |
Number of Postdocs | 1 |
Total | 6 |
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
- Windows
- Hosting service
⌘ 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
- 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
- Forms
- 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://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