v7.0.0+
| Status: | effective |
| Progress: | 100% |
| Version: | 7.0.0+ |
English
$smwgQSortingSupport
From semantic-mediawiki.org
| Configuration parameter details: | |||
| Name | $smwgQSortingSupport | ||
| Description | Sets whether sorting of query results should be possible | ||
| Default setting | true |
||
| (Other) available settings |
|
||
| Software | Semantic MediaWiki | ||
| Since version | |||
| Until version | still available | ||
| Configuration | Query settings | ||
| Keyword | query · sorting · semantic search | ||
$smwgQSortingSupport is a configuration parameter that sets whether sorting of query results should be possible. The configuration parameter was introduced in Semantic MediaWiki 1.0Released on 31 December 2007 and compatible with MW 1.9.x - 1.12.x. and deprecated with Semantic MediaWiki 3.0.0Released on 11 October 2018 and compatible with MW 1.27.0 - 1.31.x.1.
No longer functional as of Semantic MediaWiki 7.0.0Released on 4 June 2026 and compatible with MW 1.43.x - 1.46.x.. The runtime shim that automatically translated
$smwgQSortingSupport to its replacement has been removed, so this setting is now silently ignored. Migrate to configuration parameter $smwgQSortFeaturesSets the behaviour for the sorting features of the semantic search (option 'sort') in "LocalSettings.php".2
Default setting
$smwgQSortingSupport = true;
This means that sorting of query results is possible.
Changing the default setting
To modify the setting to this configuration parameter, add one of the following lines to your "LocalSettings.php" file:
- Disable sorting
$smwgQSortingSupport = false;
This means that sorting of query results is not possible.
See also
- Help page on semantic search
- Help page on configuration parameter
$smwgQRandSortingSupportSets whether random sorting of query results should be possible - Help page on configuration parameter
$smwgQSortFeaturesSets the behaviour for the sorting features of the semantic search
References
- ^ Semantic MediaWiki: GitHub pull request gh:smw:2821
- ^ | | | | | | | | | Semantic MediaWiki: GitHub pull request gh:smw:6706