Help:User preferences

Jump to: navigation, search

Semantic MediaWiki 1.8.0Released on 2 December 2012 and compatible with MW 1.17.0 - 1.22.x
(except 1.22.1).
introduced an user preference tab on special page "Preferences" (see here for a live example) where options are available to enhance the Semantic MediaWiki experience and that of related extensions by allowing customization on a per user basis.


Additional information

Automatic updates

This option allows to fetch content updates automatically during a page refresh (or initial page load).

Local storage

Local storage as part of most modern HTML5 web browsers is a browser storage engine that allows external content provider (which in our case is the result format/printer) to store arbitrary information that can help improve response time. One current application is in order to decrease necessary Ajax calls, the local storage keeps information about an image/thumbnail location within the browser cache so that the next time the same image is requested this information (URL etc.) is recalled from the browser instead of asking the server again.

The local cache time is set to 24 hours for an individual item, after that the browser will initiate a new request. The local storage can be deleted at any time and will not influence the behavior or functionality of the result format/printer.

Setting default values

See MediaWiki's $wgDefaultUserOptions configuration parameter for how to set default user preferences for anonymous visitors and users who did not set a preference themselves. For example extend the "LocalSettings.php" file after the inclusion of Semantic MediaWiki and extension "Semantic Result Formats"Provides additional formats for semantic queries:

$wgDefaultUserOptions['name-of-the-user-preference'] = 1;