Difference between revisions of "Sandbox10"
(Created page with "__TOC__ =Semantic Extensions== ---- ==Semantic Result Formats== Semantic Result Formats adds a large number of further formats to inline queries, including formats for calen...") |
m |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
__TOC__ | __TOC__ | ||
− | =Semantic Extensions== | + | ==Semantic Extensions== |
---- | ---- | ||
− | ==Semantic Result Formats== | + | ===Semantic Result Formats=== |
Semantic Result Formats adds a large number of further formats to inline queries, including formats for calendars, timelines, charts, filterable results, graphs and mathematical functions. | Semantic Result Formats adds a large number of further formats to inline queries, including formats for calendars, timelines, charts, filterable results, graphs and mathematical functions. | ||
Line 15: | Line 15: | ||
- This use of filters appears to be faceted search, similar to the TNA Discovery website | - This use of filters appears to be faceted search, similar to the TNA Discovery website | ||
---- | ---- | ||
− | ==Semantic Maps== | + | ===Semantic Maps=== |
+ | [https://www.mediawiki.org/wiki/Extension:Semantic_Maps Extension:Semantic Maps] | ||
+ | |||
+ | - Note that Semantic Maps extension requires [https://www.mediawiki.org/wiki/Extension:Maps Mediawiki Maps extension] | ||
+ | - Examples of [https://www.semantic-mediawiki.org/wiki/Category:Maps_examples Maps extension functionality] | ||
[List of sites that use Semantic Maps List of websites using Semantic Maps] | [List of sites that use Semantic Maps List of websites using Semantic Maps] | ||
+ | |||
+ | [https://www.semantic-mediawiki.org/wiki/Category:Semantic_Maps_examples Semantic Map examples] | ||
+ | |||
+ | - Query by category | ||
+ | |||
+ | <pre> | ||
+ | {{#ask: | ||
+ | [[Category:Locations]] | ||
+ | |?Has coordinates | ||
+ | |format=map | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | <pre> | ||
+ | {{#ask: | ||
+ | [[Category:Locations]] | ||
+ | |?Has coordinates | ||
+ | |format=table | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | - Query by property | ||
+ | |||
+ | <pre> | ||
+ | {{ | ||
+ | #ask: | ||
+ | [[Has coordinates::+]] | ||
+ | | ?Has coordinates | ||
+ | | format=map | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | - Conbined query | ||
+ | |||
+ | This query would enable: | ||
+ | #Display of locations of a certain location type, where location type is a property (e.g. street, parish, town, county, province, country) | ||
+ | #Display of smeantic biographies (all, are narrowed down) in a certain type of location | ||
+ | |||
+ | <pre> | ||
+ | {{#ask: | ||
+ | [[Category:Locations]] | ||
+ | [[Has location type::Country]] | ||
+ | | ? Has coordinates | ||
+ | | format = map | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | - Customisation of maps | ||
+ | |||
+ | Size by height ad width on page can be defined | ||
+ | Colour of markers can be defined | ||
+ | |||
+ | - Geospatial queries | ||
+ | |||
+ | Searches can be done specifying the distance from a specific location by coordinates | ||
+ | |||
+ | - Export of KML data | ||
+ | |||
+ | KML data for all pages containing coordinates can be exported using "format=kml"- | ||
+ | |||
---- | ---- | ||
==Mediawiki extensions== | ==Mediawiki extensions== | ||
---- | ---- | ||
− | ==Widgets== | + | ===Widgets=== |
The Widgets extension allows the creation of raw HTML pages that can be embedded (similarly to templates) in normal wiki pages. You do this by creating pages in the Widget namespace. They avoid the security problems of raw HTML in editable wiki pages because the privilege to edit in the Widget namespace is managed. Many pre-written Widgets are available. | The Widgets extension allows the creation of raw HTML pages that can be embedded (similarly to templates) in normal wiki pages. You do this by creating pages in the Widget namespace. They avoid the security problems of raw HTML in editable wiki pages because the privilege to edit in the Widget namespace is managed. Many pre-written Widgets are available. | ||
See [https://www.mediawiki.org/wiki/Extension:Widgets Extension:Widgets] | See [https://www.mediawiki.org/wiki/Extension:Widgets Extension:Widgets] | ||
+ | |||
+ | See [https://www.mediawiki.org/wiki/Extension:Widgets#Widget_library Widget library] | ||
+ | |||
+ | Of possible interest are: | ||
+ | |||
+ | #[http://www.mediawikiwidgets.org/YouTube Youtube widget], allowing YouTube video player to be added to wiki page | ||
+ | #[http://www.mediawikiwidgets.org/Twitter Twitter account feed widget] | ||
+ | #[http://www.mediawikiwidgets.org/Feed Survey monkey widget] - Allows placing of Survey Monkey surveys on your web page | ||
+ | #[http://www.mediawikiwidgets.org/Google_MapsGoogle Maps widget] - probably don't need if have Google Maps extension? Widget appears to allow placement of a Googlke Map in a page, specified by size, with markers and map control instructions | ||
+ | #[http://www.mediawikiwidgets.org/Google_Books Google Books widget] - allows viewing of Google books pages in wiki, woth scroller, magnifier and search bar; image can be sized | ||
+ | #[http://www.mediawikiwidgets.org/Widget:SlideShare SlideShare widget] - allows display of SlideShare slideshows in wiki page | ||
+ | #[http://www.mediawikiwidgets.org/Alexa Alexa traffic graph widget] - allows additon of Alexa traffic graph to wiki page | ||
+ | |||
+ | These widgets seem very easy to install, for example, the SlideShare widget simply requires (a) installation of MediaWiki Widgets extension (b) copying of the full source code from the MediaWiki widgets page to your wiki | ||
+ | ---- | ||
+ | ===MediaWiki extensions=== | ||
+ | |||
+ | See [https://www.mediawiki.org/wiki/Category:Stable_extensions Category:Stable extensions] for extesnions considered to be stable |
Latest revision as of 09:08, July 30, 2016
Contents
Semantic Extensions
Semantic Result Formats
Semantic Result Formats adds a large number of further formats to inline queries, including formats for calendars, timelines, charts, filterable results, graphs and mathematical functions.
Authors: Jeroen De Dauw, Frank Dengler, Steren Giannini, James Hong Kong, Fabian Howahl, Yaron Koren, Markus Krötzsch, David Loomer, Rowan Rodrik van der Molen, Joel Natividad, Denny Vrandecic, Nathan Yergler, Daniel Werner
First released: August 2008
Example of filtered format - Filterable templated list on AroundIsleofWight.info
- This use of filters appears to be faceted search, similar to the TNA Discovery website
Semantic Maps
- Note that Semantic Maps extension requires Mediawiki Maps extension
- Examples of Maps extension functionality
[List of sites that use Semantic Maps List of websites using Semantic Maps]
- Query by category
{{#ask: [[Category:Locations]] |?Has coordinates |format=map }}
{{#ask: [[Category:Locations]] |?Has coordinates |format=table }}
- Query by property
{{ #ask: [[Has coordinates::+]] | ?Has coordinates | format=map }}
- Conbined query
This query would enable:
- Display of locations of a certain location type, where location type is a property (e.g. street, parish, town, county, province, country)
- Display of smeantic biographies (all, are narrowed down) in a certain type of location
{{#ask: [[Category:Locations]] [[Has location type::Country]] | ? Has coordinates | format = map }}
- Customisation of maps
Size by height ad width on page can be defined
Colour of markers can be defined
- Geospatial queries
Searches can be done specifying the distance from a specific location by coordinates
- Export of KML data
KML data for all pages containing coordinates can be exported using "format=kml"-
Mediawiki extensions
Widgets
The Widgets extension allows the creation of raw HTML pages that can be embedded (similarly to templates) in normal wiki pages. You do this by creating pages in the Widget namespace. They avoid the security problems of raw HTML in editable wiki pages because the privilege to edit in the Widget namespace is managed. Many pre-written Widgets are available.
See Widget library
Of possible interest are:
- Youtube widget, allowing YouTube video player to be added to wiki page
- Twitter account feed widget
- Survey monkey widget - Allows placing of Survey Monkey surveys on your web page
- Maps widget - probably don't need if have Google Maps extension? Widget appears to allow placement of a Googlke Map in a page, specified by size, with markers and map control instructions
- Google Books widget - allows viewing of Google books pages in wiki, woth scroller, magnifier and search bar; image can be sized
- SlideShare widget - allows display of SlideShare slideshows in wiki page
- Alexa traffic graph widget - allows additon of Alexa traffic graph to wiki page
These widgets seem very easy to install, for example, the SlideShare widget simply requires (a) installation of MediaWiki Widgets extension (b) copying of the full source code from the MediaWiki widgets page to your wiki
MediaWiki extensions
See Category:Stable extensions for extesnions considered to be stable