Help:User preferences

From semantic-mediawiki.org
(Redirected from Help:User preferences)

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.

IntroducedContextDescriptionNameEnabled
SMW 1.8.0Special page "Ask"Enable toggling between the standard parameter text or a compact info tooltip based displaysmw-prefs-ask-options-tooltip-displayno
SMW 3.0.0Local timeEnable time correction for special pages using the local time offset preferencesmw-prefs-general-options-time-correctionno
SMW 3.0.0Input assistanceEnable the input assistance for semantic entity suggestionssmw-prefs-general-options-suggester-textinputno
SMW 3.0.0Edit helpDisable the introductory text on the edit pagesmw-prefs-general-options-disable-editpage-infono
SMW 3.0.0Search feature "SMWSearch"Disable the syntax support information on the standard search pagesmw-prefs-general-options-disable-search-infoyes
SRF 1.9.0Eventcalendar formatEnable automatic updates during a page refreshsrf-prefs-eventcalendar-options-update-defaultno
SRF 1.9.0Eventcalendar formatEnable the pane view by defaultsrf-prefs-eventcalendar-options-paneview-defaultno
SRF 1.9.0Datatables formatEnable automatic updates during a page refreshsrf-prefs-datatables-options-update-defaultno
SRF 1.9.0Datatables formatEnable to use local cachingsrf-prefs-datatables-options-cache-defaultno

Additional information[edit]

Automatic updates[edit]

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

Local storage[edit]

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[edit]

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;