Status: | effective |
Progress: | 100% |
Version: | 3.0.0+ |
$smwgBrowseByApi
Configuration parameter details: | |||
Name | $smwgBrowseByApi | ||
Description | Property "Has description" (as page type) with input value "Sets whether the display of special page "Browse" will be generated using an API request" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. | ||
Default setting | true | ||
(Other) available settings |
|
||
Software | Semantic MediaWiki | ||
Since version | |||
Until version | still available | ||
Configuration | Facts display · Interface settings | ||
Keyword | browse · special page |
__NOBREADCRUMBLINKS__
$smwgBrowseByApi
is a configuration parameter that sets whether display of information on special page "Browse"No description was provided. is to be generated using an API request. This increases responsiveness substantially for pages with large fact sets, i.e. a high number of annotations. The configuration parameter was introduced in Semantic MediaWiki 2.5.0Released on an unknown date unknown versions of MediaWiki1 and deprecated with Semantic MediaWiki 3.0.0Released on an unknown date unknown versions of MediaWiki2.
This configuration parameter was deprecated with Semantic MediaWiki 3.0.0Released on an unknown date unknown versions of MediaWiki in favour of option SMW_BROWSE_USE_API
to configuration parameter $smwgBrowseFeatures
No description was provided. streamlining the overall configuration of Semantic MediaWiki.2 Thus you are advised to migrate your settings in "LocalSettings.php" to the new configuration parameter since this one will be removed with the release of Semantic MediaWiki 3.1.0Released on an unknown date unknown versions of MediaWiki in 2019.
Default setting
$smwgBrowseByApi = true;
This means that the display of special page "Browse"No description was provided. will be generated using an API request.
Changing the default setting
To modify the setting to this configuration parameter, add one of the following lines to your "LocalSettings.php" file after the enableSemantics()
call:
- Disable the usage of the API
$smwgBrowseByApi = false;
This means that the display of special page "Browse"No description was provided. will not be generated using an API request but with synchronous database queries. Alternatively one may use the "lecacy
" option to the "output
" parameter of "index.php" (?output=legacy
).
See also
- Help page on special page "Browse"No description was provided.
- Help page on configuration parameter
$smwgBrowseFeatures
No description was provided.