Configuration parameter details: | |
Name | $smwgQMaxDepth |
Description | Satır içi sorgular için maksimum özellik derinliğini ayarlar |
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 |
$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 31 December 2007 and compatible with MW 1.9.x - 1.12.x..
If unsure use result format "Debug" (
format=debug
) for the respective inline query to determine its depth.
Varsayılan ayar[edit]
$smwgQMaxDepth = 4;
This means that a maximum property depth of 4 can be utilized for inline queries.
Varsayılan ayarı değiştirme[edit]
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[edit]
- Help page on subqueries and property chains (property depth)
- Help page on query restrictions
- Help page on configuration parameter
$smwgQMaxSize
Sets the maximum number of conditions for inline queries - Semantic MediaWiki: GitHub issue 4003– How to interpret "The following query condition ...this wiki’s limitations on query size or depth"