Special page "Browse"

From semantic-mediawiki.org
Jump to: navigation, search
User manualBrowsing interfacesSpecial page "Browse"

The property browsing page, which can be found at "Special:Browse" is a special page allowing to see at one glance all properties and their values of a single entity. The browse page can display both the outgoing properties - those that are stated on the page, and the incoming properties - those that link to that page. This allows to browse through the web of data that is created between the entities inside the wiki by clicking on the browsing icon browsing icon in case the properties has the datatype "Page"Holds names of wiki pages, and displays them as a link. In all other cases the search icon search icon will be shown, which points to special page special page "SearchByProperty"Allows to search the wiki by properties or property value combinations. For the browsing to work a specific page has always to be selected.

Description

When accessing special page "Browse" directly without specifying a page to be browsed a input field is shown which allows to search for a page. This search provides page suggestions with autocompletion to improve the selection.

Once a page to be browsed is selected the browse interface has two main parts (when incoming properties are shown) that usually form an "S" the so called "semantic S". The upper part of the interface shows all properties of that page and the values for these properties. The lower part shows properties that are used to link to the given page, with pages that instantiate that property. The two parts are separated by grey bars. The properties on the upper part may be called "outgoing properties", and the properties on the lower part "incoming properties", or "properties that link here".

Configuration

There are two global boolean settings that can be set in order to control the appearance of the page:

  • Configuration parameter $smwgBrowseShowAllSets whether the browse view for incoming links on special page "Browse"Shows all properties and their values annotated to a page should show the incoming links, which is by default set to "true"
  • Configuration parameter $smwgBrowseShowInverseSets whether the browse view for incoming links on special page special page "Browse" should show the incoming links in an inverse view or not, which is by default set to "false"

You can change their setting in your "LocalSettings.php" file after including Semantic MediaWiki.

Display all

If configuration parameter $smwgBrowseShowAllSets whether the browse view for incoming links on special page "Browse"Shows all properties and their values annotated to a page should show the incoming links is set to "true", then the browse page always shows the incoming properties, and always shows all of them. It also shows more of the incoming values. This takes more resources than the standard setting, but allows to get a quicker overview, and is reasonable for small and middle-sized wikis without "semantic hubs", i.e. pages that are linked to in many different properties from many pages (examples for such hubs are locations and times in Wikipedia).

Otherwise, the user has to actively click on "show properties that link here" in order to see the incoming properties, and then has to browse through them, if there should be many different properties.

Inverse display

If configuration parameter $smwgBrowseShowInverseSets whether the browse view for incoming links on special page special page "Browse" should show the incoming links in an inverse view or not is set to "true", then the sometimes confusing S like view is abandoned and instead a form like view is shown. The upper part of the interface (the outgoing properties) are not displayed differently, but the lower part (the incoming properties) is by displaying it just as the upper part. Instead of using the property label in the property field, the system tries to create an inverse property label that will be displayed. (Note that the name of the property can be modified by a wiki sysop by changing the message MediaWiki:smw_inverse_label_property)

The inverse property label is either set explicitly (by using the Property:Inverse property label which has to be of datatype "Text"Holds text of arbitrary length) or it is created by applying the system message MediaWiki:Smw_inverse_label_default to the actual property label.

Example: the default English value for smw_inverse_label_default is "$1 of", which means that a property like "capital" will be labelled as "capital of". So, if for example, we have stated that "Germany capital Berlin", we will see on the Browse page of "Berlin" a property called "capital of" with the value "Germany".

Note

Until Semantic MediaWiki 2.1.0 it was not possible to link to pages containing a hyphen, e.g. [[Special:Browse/20140912-SomeName]].



This documentation page applies to all SMW versions from 1.3.0 to the most current version.
      Other languages: defrruzh-hans

Help:Special:Browse en 1.3.0