v1.0+
Status: | effective |
Progress: | 100% |
Version: | 1.0+ |
$smwgQMaxDepth/tr
From Linux Web Expert
Template:Interlanguagelink: en
Template:Interlanguagelink: en
Configuration parameter details: | |
Name | $smwgQMaxDepth |
Description | Property "Has description" (as page type) with input value "Help:Inline queries|Satır içi sorgular]] için maksimum özellik derinliğini ayarlar" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. |
Default setting | 4 |
Software | Semantic MediaWiki |
Since version | |
Until version | still available |
Configuration | Sorgu ayarları · satır içi sorgular · Sorgu özellikleri · Sorgu performansı |
Keyword | sorguların derinliği |
__NOBREADCRUMBLINKS__
$smwgQMaxDepth
is a configuration parameter that sets the maximum property depth for inline queries. The configuration parameter was introduced in Semantic MediaWiki 1.0Released on an unknown date unknown versions of MediaWiki.
If unsure use result format "Debug" (
format=debug
) for the respective inline query to determine its depth.
Varsayılan ayar
$smwgQMaxDepth = 4;
This means that a maximum property depth of 4 can be utilized for inline queries.
Varsayılan ayarı değiştirme
To modify the setting to this configuration parameter, add one of the following lines to your "LocalSettings.php" file after the enableSemantics()
call:
- Increase the number of allowed conditions
$smwgQMaxDepth = 6;
This means that a maximum property depth of 6 can be utilized for inline queries.
- Reduce the number of allowed conditions
$smwgQMaxDepth = 2;
This means that a maximum property depth of 2 can be utilized for inline queries.
Ayrıca bakınız
- Help page on subqueries and property chains (property depth)
- Help page on query restrictions
- Help page on configuration parameter
$smwgQMaxSize
No description was provided. - {{{1}}} on GitHub