Completed
Push — master ( 9eae06...a41cb5 )
by mw
16s
created

DefaultSettings.php (3 issues)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
/**
4
 * DO NOT EDIT!
5
 *
6
 * The following default settings are to be used by the extension itself,
7
 * please modify settings in the LocalSettings file.
8
 *
9
 * Most settings should be make  between including this file and the call
10
 * to enableSemantics(). Exceptions that need to be set before are
11
 * documented below.
12
 *
13
 * @codeCoverageIgnore
14
 */
15
if ( !defined( 'MEDIAWIKI' ) ) {
16
  die( "This file is part of the Semantic MediaWiki extension. It is not a valid entry point.\n" );
17
}
18
19
###
20
# This is the path to your installation of Semantic MediaWiki as seen on your
21
# local filesystem. Used against some PHP file path issues.
22
# If needed, you can also change this path in LocalSettings.php after including
23
# this file.
24
##
25
$GLOBALS['smwgIP'] = dirname( __FILE__ ) . '/';
26
$GLOBALS['smwgExtraneousLanguageFileDir'] = __DIR__ . '/languages';
27
##
28
29
###
30
# Semantic MediaWiki's operational state
31
#
32
# It is expected that enableSemantics() is used to enable SMW otherwise it is
33
# disabled by default. disableSemantics() will also set the state to disabled.
34
#
35
# @since 2.4
36
##
37
$GLOBALS['smwgSemanticsEnabled'] = false;
38
##
39
40
###
41
# CompatibilityMode is to force SMW to work with other extensions that may impact
42
# performance in an unanticipated way or may contain potential incompatibilities.
43
#
44
# @since 2.4
45
##
46
$GLOBALS['smwgEnabledCompatibilityMode'] = false;
47
##
48
49
###
50
# Use another storage backend for Semantic MediaWiki. The default is suitable
51
# for most uses of SMW.
52
##
53
$GLOBALS['smwgDefaultStore'] = "SMWSQLStore3";
54
##
55
56
###
57
# Configure SPARQL database connection for Semantic MediaWiki. This is used
58
# when SPARQL-based features are enabled, e.g. when using SMWSparqlStore as
59
# the $smwgDefaultStore.
60
#
61
# The default class SMWSparqlDatabase works with many databases that support
62
# SPARQL and SPARQL Update. Three different endpoints (service URLs) are given
63
# for query (reading queries like SELECT), update (SPARQL Update queries), and
64
# data (SPARQL HTTP Protocol for Graph Management). The query endpoint is
65
# necessary, but the update and data endpoints can be omitted if not supported.
66
# This will lead to reduced functionality (e.g. the SMWSparqlStore will not
67
# work if Update is not available). The data endpoint is always optional, but
68
# in some SPARQL databases this method is more efficient than update.
69
#
70
# The default graph is similar to a database name in relational databases. It
71
# can be set to any URI (e.g. the main page uri of your wiki with
72
# "#graph" appended). Leaving the default graph URI empty only works if the
73
# store is configure to use some default default graph or if it generally
74
# supports this. Different wikis should normally use different default graphs
75
# unless there is a good reason to share one graph.
76
##
77
$GLOBALS['smwgSparqlDatabase'] = 'SMWSparqlDatabase';
78
$GLOBALS['smwgSparqlQueryEndpoint'] = 'http://localhost:8080/sparql/';
79
$GLOBALS['smwgSparqlUpdateEndpoint'] = 'http://localhost:8080/update/';
80
$GLOBALS['smwgSparqlDataEndpoint'] = 'http://localhost:8080/data/';
81
$GLOBALS['smwgSparqlDefaultGraph'] = '';
82
##
83
84
##
85
# SparqlDBConnectionProvider
86
#
87
# Identifies a database connector that ought to be used together with the
88
# SPARQLStore
89
#
90
# List of standard connectors ($smwgSparqlDatabase will have no effect)
91
# - 'fuseki'
92
# - 'virtuoso'
93
# - '4store'
94
# - 'sesame'
95
# - 'generic'
96
#
97
# With 2.0 it is suggested to assign the necessary connector to
98
# $smwgSparqlDatabaseConnector in order to avoid arbitrary class assignments in
99
# $smwgSparqlDatabase (which can change in future releases without further notice).
100
#
101
# In case $smwgSparqlDatabaseConnector = 'custom' is maintained, $smwgSparqlDatabase
102
# is expected to contain a custom class connector where $smwgSparqlDatabase is only
103
# to be sued for when a custom database connector is necessary.
104
#
105
# $smwgSparqlDatabaseConnector = 'custom' is set as legacy configuration to allow for
106
# existing (prior 2.0) customizing to work without changes.
107
#
108
# @since 2.0
109
##
110
$GLOBALS['smwgSparqlDatabaseConnector'] = 'custom';
111
112
##
113
# Sparql query features that are expected to be supported by the repository:
114
#
115
# - SMW_SPARQL_QF_NONE does not support any features (as required by SPARQL 1.1)
116
# - SMW_SPARQL_QF_REDI to support finding redirects using inverse property paths,
117
#   can only be used for repositories with full SPARQL 1.1 support (e.g. Fuseki,
118
#   Sesame)
119
# - SMW_SPARQL_QF_SUBP to resolve subproperties
120
# - SMW_SPARQL_QF_SUBC to resolve subcategories
121
#
122
# Please check with your repository provider whether SPARQL 1.1 is fully
123
# supported or not, and if not SMW_SPARQL_QF_NONE should be set.
124
#
125
# @since 2.3
126
##
127
$GLOBALS['smwgSparqlQFeatures'] = SMW_SPARQL_QF_REDI | SMW_SPARQL_QF_SUBP | SMW_SPARQL_QF_SUBC;
128
129
##
130
# @see https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/1306
131
#
132
# Setting to explicitly force a CURLOPT_HTTP_VERSION for the endpoint communication
133
# and should not be changed unless an error as in #1306 was encountered.
134
#
135
# @see http://curl.haxx.se/libcurl/c/CURLOPT_HTTP_VERSION.html reads "... libcurl
136
# to use the specific HTTP versions. This is not sensible to do unless you have
137
# a good reason.""
138
#
139
# @since 2.3
140
# @default false === means to use the default as determined by cURL
141
##
142
$GLOBALS['smwgSparqlRepositoryConnectorForcedHttpVersion'] = false;
143
144
###
145
# Setting this option to true before including this file to enable the old
146
# Type: namespace that SMW used up to version 1.5.*. This should only be
147
# done to make the pages of this namespace temporarily accessible in order to
148
# move their content to other pages. If the namespace is not registered, then
149
# existing pages in this namespace cannot be found in the wiki.
150
##
151
if ( !isset( $GLOBALS['smwgHistoricTypeNamespace'] ) ) {
152
	$GLOBALS['smwgHistoricTypeNamespace'] = false;
153
}
154
##
155
156
###
157
# If you already have custom namespaces on your site, insert
158
#    $GLOBALS['smwgNamespaceIndex'] = ???;
159
# into your LocalSettings.php *before* including this file. The number ??? must
160
# be the smallest even namespace number that is not in use yet. However, it
161
# must not be smaller than 100.
162
##
163
164
###
165
# Overwriting the following array, you can define for which namespaces
166
# the semantic links and annotations are to be evaluated. On other
167
# pages, annotations can be given but are silently ignored. This is
168
# useful since, e.g., talk pages usually do not have attributes and
169
# the like. In fact, is is not obvious what a meaningful attribute of
170
# a talk page could be. Pages without annotations will also be ignored
171
# during full RDF export, unless they are referred to from another
172
# article.
173
##
174
$GLOBALS['smwgNamespacesWithSemanticLinks'] = array(
175
	NS_MAIN => true,
176
	NS_TALK => false,
177
	NS_USER => true,
178
	NS_USER_TALK => false,
179
	NS_PROJECT => true,
180
	NS_PROJECT_TALK => false,
181
	NS_IMAGE => true,
182
	NS_IMAGE_TALK => false,
183
	NS_MEDIAWIKI => false,
184
	NS_MEDIAWIKI_TALK => false,
185
	NS_TEMPLATE => false,
186
	NS_TEMPLATE_TALK => false,
187
	NS_HELP => true,
188
	NS_HELP_TALK => false,
189
	NS_CATEGORY => true,
190
	NS_CATEGORY_TALK => false,
191
);
192
193
###
194
# This setting allows you to select in which cases you want to have a factbox
195
# appear below an article. Note that the Magic Words __SHOWFACTBOX__ and
196
# __HIDEFACTBOX__ can be used to control Factbox display for individual pages.
197
# Other options for this setting include:
198
##
199
// $GLOBALS['smwgShowFactbox'] = SMW_FACTBOX_NONEMPTY; # show only those factboxes that have some content
200
// $GLOBALS['smwgShowFactbox'] = SMW_FACTBOX_SPECIAL # show only if special properties were set
201
$GLOBALS['smwgShowFactbox'] = SMW_FACTBOX_HIDDEN; # hide always
202
// $GLOBALS['smwgShowFactbox'] = SMW_FACTBOX_SHOWN;  # show always, buggy and not recommended
203
##
204
205
###
206
# Same as $smwgShowFactbox but for edit mode and same possible values.
207
##
208
$GLOBALS['smwgShowFactboxEdit'] = SMW_FACTBOX_NONEMPTY;
209
##
210
211
###
212
# Should the toolbox of each content page show a link to browse the properties
213
# of that page using Special:Browse? This is a useful way to access properties
214
# and it is somewhat more subtle than showing a Factbox on every page.
215
##
216
$GLOBALS['smwgToolboxBrowseLink'] = true;
217
##
218
219
###
220
# Should warnings be displayed in wikitexts right after the problematic input?
221
# This affects only semantic annotations, not warnings that are displayed by
222
# inline queries or other features.
223
##
224
$GLOBALS['smwgInlineErrors'] = true;
225
##
226
227
###
228
# Should SMW consider MediaWiki's subcategory hierarchy in querying? If set to
229
# true, subcategories will always be interpreted like subclasses. For example,
230
# if A is a subcategory of B then a query for all elements of B will also yield
231
# all elements of A. If this setting is disabled, then subclass relationships
232
# can still be given explicitly by using the property "subcategory of" on some
233
# category page. Only if the setting is false will such annotations be shown in
234
# the factbox (if enabled).
235
##
236
$GLOBALS['smwgUseCategoryHierarchy'] = true;
237
##
238
239
###
240
# Should category pages that use some [[Category:Foo]] statement be treated as
241
# elements of the category Foo? If disabled, then it is not possible to make
242
# category pages elements of other categories. See also the above setting
243
# $smwgUseCategoryHierarchy.
244
##
245
$GLOBALS['smwgCategoriesAsInstances'] = true;
246
##
247
248
###
249
# Should SMW accept inputs like [[property::Some [[link]] in value]]? If
250
# enabled, this may lead to PHP crashes (!) when very long texts are used as
251
# values. This is due to limitations in the library PCRE that PHP uses for
252
# pattern matching. The provoked PHP crashes will prevent requests from being
253
# completed -- usually clients will receive server errors ("invalid response")
254
# or be offered to download "index.php". It might be okay to enable this if
255
# such problems are not observed in your wiki.
256
##
257
$GLOBALS['smwgLinksInValues'] = false;
258
##
259
260
###
261
# Settings for recurring events, created with the #set_recurring_event parser
262
# function: the default number of instances defined, if no end date is set;
263
# and the maximum number that can be defined, regardless of end date.
264
##
265
$GLOBALS['smwgDefaultNumRecurringEvents'] = 100;
266
$GLOBALS['smwgMaxNumRecurringEvents'] = 500;
267
##
268
269
###
270
# Should the browse view for incoming links show the incoming links via its
271
# inverses, or shall they be displayed on the other side?
272
##
273
$GLOBALS['smwgBrowseShowInverse'] = false;
274
##
275
276
###
277
# Should the browse view always show the incoming links as well, and more of
278
# the incoming values?
279
##
280
$GLOBALS['smwgBrowseShowAll'] = true;
281
##
282
283
###
284
# Whether the browse display is to be generated using an API request or not.
285
##
286
$GLOBALS['smwgBrowseByApi'] = true;
287
##
288
289
###
290
# Should the search by property special page display nearby results when there
291
# are only a few results with the exact value? Switch this off if this page has
292
# performance problems.
293
#
294
# @since 2.1 enabled default types, to disable the functionality either set the
295
# variable to array() or false
296
##
297
$GLOBALS['smwgSearchByPropertyFuzzy'] = array( '_num', '_txt', '_dat', '_mlt_rec' );
298
##
299
300
###
301
# Number results shown in the listings on pages in the namespaces Property,
302
# Type, and Concept. If a value of 0 is given, the respective listings are
303
# hidden completely.
304
##
305
$GLOBALS['smwgTypePagingLimit'] = 200;    // same number as for categories
306
$GLOBALS['smwgConceptPagingLimit'] = 200; // same number as for categories
307
$GLOBALS['smwgPropertyPagingLimit'] = 25; // use smaller value since property lists need more space
308
##
309
310
###
311
# How many values should at most be displayed for a page on the Property page?
312
##
313
$GLOBALS['smwgMaxPropertyValues'] = 3; // if large values are desired, consider reducing $smwgPropertyPagingLimit for better performance
314
##
315
316
###
317
# Settings for inline queries ({{#ask:...}}) and for semantic queries in
318
# general. This can especially be used to prevent overly high server-load due
319
# to complex queries. The following settings affect all queries, wherever they
320
# occur.
321
##
322
$GLOBALS['smwgQEnabled'] = true;   // (De)activates all query related features and interfaces
323
$GLOBALS['smwgQMaxLimit'] = 10000; // Max number of results *ever* retrieved, even when using special query pages.
324
$GLOBALS['smwgIgnoreQueryErrors'] = true; // Should queries be executed even if some errors were detected?
325
										// A hint that points out errors is shown in any case.
326
327
$GLOBALS['smwgQSubcategoryDepth'] = 10;  // Restrict level of sub-category inclusion (steps within category hierarchy)
328
$GLOBALS['smwgQSubpropertyDepth'] = 10;  // Restrict level of sub-property inclusion (steps within property hierarchy)
329
										// (Use 0 to disable hierarchy-inferencing in queries)
330
$GLOBALS['smwgQEqualitySupport'] = SMW_EQ_SOME; // Evaluate #redirects as equality between page names, with possible
331
												// performance-relevant restrictions depending on the storage engine
332
// $GLOBALS['smwgQEqualitySupport'] = SMW_EQ_FULL; // Evaluate #redirects as equality between page names in all cases
333
// $GLOBALS['smwgQEqualitySupport'] = SMW_EQ_NONE; // Never evaluate #redirects as equality between page names
334
$GLOBALS['smwgQSortingSupport']     = true; // (De)activate sorting of results.
335
$GLOBALS['smwgQRandSortingSupport'] = true; // (De)activate random sorting of results.
336
$GLOBALS['smwgQDefaultNamespaces'] = null; // Which namespaces should be searched by default?
337
										// (value NULL switches off default restrictions on searching -- this is faster)
338
										// Example with namespaces: $GLOBALS['smwgQDefaultNamespaces'] = array(NS_MAIN, NS_IMAGE);
0 ignored issues
show
Unused Code Comprehensibility introduced by
41% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
339
340
/**
341
* List of comparator characters supported by queries, separated by '|', for use in a regex.
342
*
343
* Available entries:
344
* 	< (smaller than) if $smwStrictComparators is false, it's actually smaller than or equal to
345
* 	> (greater than) if $smwStrictComparators is false, it's actually bigger than or equal to
346
* 	! (unequal to)
347
* 	~ (pattern with '*' as wildcard, only for Type:String)
348
* 	!~ (not a pattern with '*' as wildcard, only for Type:String, need to be placed before ! and ~ to work correctly)
349
* 	≤ (smaller than or equal to)
350
* 	≥ (greater than or equal to)
351
*
352
* If unsupported comparators are used, they are treated as part of the queried value
353
*
354
* @var string
355
*/
356
$GLOBALS['smwgQComparators'] = '<|>|!~|!|~|≤|≥|<<|>>';
357
358
###
359
# Sets whether the > and < comparators should be strict or not. If they are strict,
360
# values that are equal will not be accepted.
361
##
362
$GLOBALS['smwStrictComparators'] = false;
363
##
364
365
###
366
# Further settings for queries. The following settings affect inline queries
367
# and querying special pages. Essentially they should mirror the kind of
368
# queries that should immediately be answered by the wiki, using whatever
369
# computations are needed.
370
##
371
$GLOBALS['smwgQMaxSize'] = 16; // Maximal number of conditions in queries, use format=debug for example sizes
372
$GLOBALS['smwgQMaxDepth'] = 4; // Maximal property depth of queries, e.g. [[rel::<q>[[rel2::Test]]</q>]] has depth 2
373
374
// The below setting defines which query features should be available by default.
375
// Examples:
376
// only cateory intersections: $GLOBALS['smwgQFeatures'] = SMW_CATEGORY_QUERY | SMW_CONJUNCTION_QUERY;
377
// only single concepts:       $GLOBALS['smwgQFeatures'] = SMW_CONCEPT_QUERY;
378
// anything but disjunctions:  $GLOBALS['smwgQFeatures'] = SMW_ANY_QUERY & ~SMW_DISJUNCTION_QUERY;
379
// The default is to support all basic features.
380
$GLOBALS['smwgQFeatures'] = SMW_PROPERTY_QUERY | SMW_CATEGORY_QUERY | SMW_CONCEPT_QUERY |
381
					SMW_NAMESPACE_QUERY | SMW_CONJUNCTION_QUERY | SMW_DISJUNCTION_QUERY;
382
383
### Settings about printout of (especially inline) queries:
384
$GLOBALS['smwgQDefaultLimit'] = 50;      // Default number of rows returned in a query. Can be increased with limit=num in #ask
385
$GLOBALS['smwgQMaxInlineLimit'] = 500;   // Max number of rows ever printed in a single inline query on a single page.
386
$GLOBALS['smwgQUpperbound'] = 5000;      // Max number of rows ever printed in a single inline query on a single page.
387
$GLOBALS['smwgQPrintoutLimit']  = 100;   // Max number of supported printouts (added columns in result table, ?-statements)
388
$GLOBALS['smwgQDefaultLinking'] = 'all'; // Default linking behavior. Can be one of "none", "subject" (first column), "all".
389
390
391
###
392
# Further settings for queries. The following settings affect queries that are
393
# part of concept pages. These are usually chosen to be les restricted than
394
# inline queries, since there are two other means for controling their use:
395
# (1) Concept queries that would not be allowed as normal queries will not be
396
# executed directly, but can use pre-computed results instead. This is the
397
# default.
398
# (2) The whole Concept: namespace can be restricted (using some suitable
399
# MediaWiki extension) to an experienced user group that may create more
400
# complex queries responably. Other users can employ thus defined concepts in
401
# their queries.
402
##
403
$GLOBALS['smwgQConceptCaching'] = CONCEPT_CACHE_HARD; // Which concepts should be displayed only if available from cache?
404
		// CONCEPT_CACHE_ALL   -- show concept elements anywhere only if they are cached
405
		// CONCEPT_CACHE_HARD  -- show without cache if concept is not harder than permitted inline queries
406
		// CONCEPT_CACHE_NONE  -- show all concepts even without any cache
407
		// In any cases, caches will always be used if available.
408
$GLOBALS['smwgQConceptMaxSize'] = 20; // Same as $smwgQMaxSize, but for concepts
409
$GLOBALS['smwgQConceptMaxDepth'] = 8; // Same as $smwgQMaxDepth, but for concepts
410
411
// Same as $smwgQFeatures but for concepts
412
$GLOBALS['smwgQConceptFeatures'] = SMW_PROPERTY_QUERY | SMW_CATEGORY_QUERY | SMW_NAMESPACE_QUERY |
413
								SMW_CONJUNCTION_QUERY | SMW_DISJUNCTION_QUERY | SMW_CONCEPT_QUERY;
414
415
// Cache life time in minutes. If a concept cache exists but is older than
416
// this, SMW tries to recompute it, and will only use the cache if this is not
417
// allowed due to settings above:
418
$GLOBALS['smwgQConceptCacheLifetime'] = 24 * 60;
419
420
421
### Predefined result formats for queries
422
# Array of available formats for formatting queries. Can be redefined in
423
# the settings to disallow certain formats or to register extension formats.
424
# To disable a format, do "unset($smwgResultFormats['template']);" Disabled
425
# formats will be treated like if the format parameter had been omitted. The
426
# formats 'table' and 'list' are defaults that cannot be disabled. The format
427
# 'broadtable' should not be disabled either in order not to break Special:ask.
428
##
429
$GLOBALS['smwgResultFormats'] = array(
430
	'table'      => 'SMW\TableResultPrinter',
431
	'list'       => 'SMW\ListResultPrinter',
432
	'ol'         => 'SMW\ListResultPrinter',
433
	'ul'         => 'SMW\ListResultPrinter',
434
	'broadtable' => 'SMW\TableResultPrinter',
435
	'category'   => 'SMW\CategoryResultPrinter',
436
	'embedded'   => 'SMW\EmbeddedResultPrinter',
437
	'template'   => 'SMW\ListResultPrinter',
438
	'count'      => 'SMW\ListResultPrinter',
439
	'debug'      => 'SMW\ListResultPrinter',
440
	'feed'       => 'SMW\FeedResultPrinter',
441
	'csv'        => 'SMW\CsvResultPrinter',
442
	'dsv'        => 'SMW\DsvResultPrinter',
443
	'json'       => 'SMW\JsonResultPrinter',
444
	'rdf'        => 'SMW\RdfResultPrinter'
445
);
446
##
447
448
### Predefined aliases for result formats
449
# Array of available aliases for result formats. Can be redefined in
450
# the settings to disallow certain aliases or to register extension aliases.
451
# To disable an alias, do "unset($smwgResultAliases['alias']);" Disabled
452
# aliases will be treated like if the alias parameter had been omitted.
453
##
454
$GLOBALS['smwgResultAliases'] = array( 'feed' => array( 'rss' ) );
455
##
456
457
### Predefined sources for queries
458
# Array of available sources for answering queries. Can be redefined in
459
# the settings to register new sources (usually an extension will do so
460
# on installation). Unknown source will be rerouted to the local wiki.
461
# Note that the basic installation comes with no additional source besides
462
# the local source (which in turn cannot be disabled or set explicitly).
463
# Set a new store like this: $smwgQuerySources['freebase'] = "SMWFreebaseStore";
464
##
465
$GLOBALS['smwgQuerySources'] = array(
466
//	'local'      => '',
0 ignored issues
show
Unused Code Comprehensibility introduced by
58% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
467
);
468
##
469
470
### Default property type
471
# Undefined properties (those without pages or whose pages have no "has type"
472
# statement) will be assumed to be of this type. This is an internal type id.
473
# See the file languages/SMW_LanguageXX.php to find what IDs to use for
474
# datatpyes in your language. The default corresponds to "Type:Page".
475
##
476
$GLOBALS['smwgPDefaultType'] = '_wpg';
477
##
478
479
###
480
# Settings for OWL/RDF export
481
##
482
$GLOBALS['smwgAllowRecursiveExport'] = false; // can normal users request recursive export?
483
$GLOBALS['smwgExportBacklinks'] = true; // should backlinks be included by default?
484
// global $smwgNamespace;                     // The Namespace of exported URIs.
485
// $GLOBALS['smwgNamespace'] = "http://example.org/id/"; // Will be set automatically if
486
// nothing is given, but in order to make pretty URIs you will need to set this
487
// to something nice and adapt your Apache configuration appropriately. This is
488
// done, e.g., on semanticweb.org, where URIs are of the form
489
// http://semanticweb.org/id/FOAF
490
##
491
492
###
493
# The maximal number that SMW will normally display without using scientific exp
494
# notation. The deafult is rather large since some users have problems understanding
495
# exponents. Scineitfic applications may prefer a smaller value for concise display.
496
##
497
$GLOBALS['smwgMaxNonExpNumber'] = 1000000000000000;
498
##
499
500
###
501
# SMW defers some tasks until after a page was edited by using the MediaWiki
502
# job queueing system (see http://www.mediawiki.org/wiki/Manual:Job_queue).
503
# For example, when the type of a property is changed, all affected pages will
504
# be scheduled for (later) update. If a wiki generates too many jobs in this
505
# way (Special:Statistics and "showJobs.php" can be used to check that), the
506
# following setting can be used to disable jobs. Note that this will cause some
507
# parts of the semantic data to get out of date, so that manual modifications
508
# or the use of SMW_refreshData.php might be needed.
509
##
510
$GLOBALS['smwgEnableUpdateJobs'] = true;
511
##
512
513
### List of enabled special page properties.
514
# Modification date (_MDAT) is enabled by default for backward compatibility.
515
# Extend array to enable other properties:
516
#     $smwgPageSpecialProperties[] = '_CDAT';
517
# Or:
518
#     array_merge( $smwgPageSpecialProperties, array( '_CDAT' ) );
519
# Or rewrite entire array:
520
#     $GLOBALS['smwgPageSpecialProperties'] = array( '_MDAT', '_CDAT' );
521
# However, DO NOT use `+=' operator! This DOES NOT work:
522
#     $smwgPageSpecialProperties += array( '_MDAT' );
523
##
524
$GLOBALS['smwgPageSpecialProperties'] = array( '_MDAT' );
525
526
###
527
# Properties (usually given as internal ids or DB key versions of property
528
# titles) that are relevant for declaring the behavior of a property P on a
529
# property page in the sense that changing their values requires that all
530
# pages that use P must be processed again. For example, if _PVAL (allowed
531
# values) for a property change, then pages must be processed again. This
532
# setting is not normally changed by users but by extensions that add new
533
# types that have their own additional declaration properties.
534
##
535
$GLOBALS['smwgDeclarationProperties'] = array( '_PVAL', '_LIST', '_PVAP', '_PVUC' );
536
##
537
538
// some default settings which usually need no modification
539
540
###
541
# -- FEATURE IS DISABLED --
542
# Setting this to true allows to translate all the labels within
543
# the browser GIVEN that they have interwiki links.
544
##
545
$GLOBALS['smwgTranslate'] = false;
546
547
###
548
# -- FEATURE IS DISABLED --
549
# If you want to import ontologies, you need to install RAP,
550
# a free RDF API for PHP, see
551
#     http://www.wiwiss.fu-berlin.de/suhl/bizer/rdfapi/
552
# The following is the path to your installation of RAP
553
# (the directory where you extracted the files to) as seen
554
# from your local filesystem. Note that ontology import is
555
# highly experimental at the moment, and may not do what you
556
# extect.
557
##
558
// $GLOBALS['smwgRAPPath'] = $smwgIP . 'libs/rdfapi-php';
559
// $GLOBALS['smwgRAPPath'] = '/another/example/path/rdfapi-php';
560
##
561
562
###
563
# If the following is set to true, it is possible to initiate the repairing
564
# or updating of all wiki data using the interface on Special:SMWAdmin.
565
##
566
$GLOBALS['smwgAdminRefreshStore'] = true;
567
##
568
569
###
570
# Sets whether or not the 'printouts' textarea should have autocompletion
571
# on property names.
572
##
573
$GLOBALS['smwgAutocompleteInSpecialAsk'] = true;
574
##
575
576
###
577
# Sets whether or not to refresh the pages of which semantic data is stored.
578
# Introduced in SMW 1.5.6
579
##
580
$GLOBALS['smwgAutoRefreshSubject'] = true;
581
##
582
583
###
584
# Sets Semantic MediaWiki object cache and is used to track temporary
585
# changes in SMW
586
#
587
# @see http://www.mediawiki.org/wiki/$wgMainCacheType
588
#
589
# @since 1.9
590
##
591
$GLOBALS['smwgCacheType'] = CACHE_ANYTHING;  // To be removed with 3.0 use $smwgMainCacheType
592
$GLOBALS['smwgMainCacheType'] = CACHE_ANYTHING; // Isn't used yet
593
##
594
595
###
596
# Separate cache type to allow for adding a more responsive cache layer
597
# (redis, riak) when requesting value lookups from the SQLStore.
598
#
599
# CACHE_NONE = disabled, uses the standard SQLStore DB access for all
600
# lookups
601
#
602
# @since 2.3 (experimental)
603
#
604
# @default: CACHE_NONE, users need to actively enable it in order
605
# to make use of it
606
##
607
$GLOBALS['smwgValueLookupCacheType'] = CACHE_NONE;
608
##
609
610
###
611
# Declares a lifetime of a cached item for `smwgValueLookupCacheType` until it
612
# is removed if not invalidated before.
613
#
614
# @since 2.3
615
##
616
$GLOBALS['smwgValueLookupCacheLifetime'] = 60 * 60 * 24 * 7; // a week
617
##
618
619
##
620
# Features expected to be enabled in CachedValueLookupStore
621
#
622
# Flags that declare a enable/disable state of a supported functionality. If a
623
# feature is disabled then a connection is always established to the standard
624
# Repository/DB backend.
625
#
626
# The settings are only relevant for cases where `smwgValueLookupCacheType` is
627
# set.
628
#
629
# - SMW_VL_SD: corresponds to Store::getSemanticData
630
# - SMW_VL_PL: corresponds to Store::getProperties
631
# - SMW_VL_PV: corresponds to Store::getPropertyValues
632
# - SMW_VL_PS: corresponds to Store::getPropertySubjects
633
#
634
# @since 2.3
635
#
636
# @default: all features are enabled
637
##
638
$GLOBALS['smwgValueLookupFeatures'] = SMW_VL_SD | SMW_VL_PL | SMW_VL_PV | SMW_VL_PS;
639
640
###
641
# An array containing cache related settings used within Semantic MediaWiki
642
# and requires $smwgCacheType be set otherwise caching will have no effect.
643
#
644
# - smwgWantedPropertiesCache Enable to serve wanted properties from cache
645
# - smwgWantedPropertiesCacheExpiry Number of seconds before the cache expires
646
#
647
# - smwgUnusedPropertiesCache Enable to serve unused properties from cache
648
# - smwgUnusedPropertiesCacheExpiry Number of seconds before the cache expires
649
#
650
# - smwgPropertiesCache Enable to serve properties from cache
651
# - smwgPropertiesCacheExpiry Number of seconds before the cache expires
652
#
653
# - smwgStatisticsCache Enable to serve statistics from cache
654
# - smwgStatisticsCacheExpiry Number of seconds before the cache expires
655
#
656
# @since 1.9
657
##
658
$GLOBALS['smwgCacheUsage'] = array(
659
	'smwgWantedPropertiesCache' => true,
660
	'smwgWantedPropertiesCacheExpiry' => 3600,
661
	'smwgUnusedPropertiesCache' => true,
662
	'smwgUnusedPropertiesCacheExpiry' => 3600,
663
	'smwgPropertiesCache' => true,
664
	'smwgPropertiesCacheExpiry' => 3600,
665
	'smwgStatisticsCache' => true,
666
	'smwgStatisticsCacheExpiry' => 3600,
667
);
668
669
###
670
# Sets whether or not to refresh semantic data in the store when a page is
671
# manually purged
672
#
673
# @since 1.9
674
#
675
# @requires  $smwgCacheType be set
676
# @default true
677
##
678
$GLOBALS['smwgAutoRefreshOnPurge'] = true;
679
##
680
681
###
682
# Sets whether or not to refresh semantic data in the store when a page was
683
# moved
684
#
685
# @since 1.9
686
#
687
# @requires  $smwgCacheType be set
688
# @default true
689
##
690
$GLOBALS['smwgAutoRefreshOnPageMove'] = true;
691
##
692
693
##
694
# These are fixed properties, i.e. user defined properties having a
695
# dedicated table for them. Entries in this array have the following format:
696
#
697
# 		property_key => property_type.
698
#
699
# The 'property_key' is the title of the property (with underscores instead
700
# of _ and capital first letter).
701
# The 'property_type' denotes the type of the property and has to be one of the following:
702
#		SMWDataItem::TYPE_BLOB
703
#		SMWDataItem::TYPE_URI
704
#		SMWDataItem::TYPE_WIKIPAGE
705
#		SMWDataItem::TYPE_NUMBER
706
#		SMWDataItem::TYPE_TIME
707
#		SMWDataItem::TYPE_BOOLEAN
708
#		SMWDataItem::TYPE_CONTAINER
709
#		SMWDataItem::TYPE_GEO
710
#		SMWDataItem::TYPE_CONCEPT
711
#		SMWDataItem::TYPE_PROPERTY
712
#
713
# A run of setup using SMWAdmin is needed to create these tables. If an already used property is assigned a new table all old data for this property will
714
# become inaccessible for SMW. This can be repaired by either migrating it to the new table (repair data) or will eventually be updated on page edits.
715
#
716
# Example: If you have a property named 'Age' which is of type 'Number' then add in LocalSettings:
717
#
718
# 	$GLOBALS['smwgFixedProperties'] = array(
719
#		'Age' => SMWDataItem::TYPE_NUMBER
720
#  	);
721
#
722
# @see http://semantic-mediawiki.org/wiki/Fixed_properties
723
#
724
# @since 1.9
725
#
726
# @var array
727
##
728
$GLOBALS['smwgFixedProperties'] = array();
729
730
###
731
# Sets a threshold value for when a property is being highlighted as "hardly
732
# begin used" on Special:Properties
733
#
734
# @since 1.9
735
#
736
# default = 5
737
##
738
$GLOBALS['smwgPropertyLowUsageThreshold'] = 5;
739
##
740
741
###
742
# Hide properties where the usage count is zero on Special:Properties
743
#
744
# @since 1.9
745
#
746
# default = true (legacy behaviour)
747
##
748
$GLOBALS['smwgPropertyZeroCountDisplay'] = true;
749
750
###
751
# Sets whether or not a factbox content should be stored in cache. This will
752
# considerable improve page response time as non-changed page content will
753
# not cause re-parsing of factbox content and instead is served directly from
754
# cache while only a new revision will trigger to re-parse the factbox.
755
#
756
# If smwgFactboxUseCache is set false (equals legacy behaviour) then every page
757
# request will bind the factbox to be re-parsed.
758
#
759
# @since 1.9
760
#
761
# @requires $smwgCacheType be set
762
# @default true
763
##
764
$GLOBALS['smwgFactboxUseCache'] = true;
765
##
766
767
###
768
# Sets whether or not a cached factbox should be invalidated on an action=purge
769
# event
770
#
771
# If set false the factbox cache will be only reset after a new page revision
772
# but if set true each purge request (no new page revision) will invalidate
773
# the factbox cache
774
#
775
# @since 1.9
776
#
777
# @requires $smwgCacheType be set
778
# @default true
779
##
780
$GLOBALS['smwgFactboxCacheRefreshOnPurge'] = true;
781
##
782
783
###
784
# This option enables to omit categories (marked with __HIDDENCAT__) from
785
# the annotation process.
786
#
787
# If a category is updated of either being hidden or visible, pages need to
788
# be refreshed to ensure that the StoreUpdater can make use of the changed
789
# environment.
790
#
791
# @since 1.9
792
# @default true (true = legacy behaviour, false = not to show hidden categories)
793
##
794
$GLOBALS['smwgShowHiddenCategories'] = true;
795
##
796
797
###
798
# QueryProfiler related setting to enable/disable specific monitorable profile
799
# data
800
#
801
# @note If these settings are changed, please ensure to run update.php
802
#
803
# - smwgQueryDurationEnabled to record query duration (the time
804
# between the query result selection and output its)
805
#
806
# @since 1.9
807
##
808
$GLOBALS['smwgQueryProfiler'] = array(
809
	'smwgQueryDurationEnabled' => false,
810
);
811
##
812
813
###
814
# Enables SMW specific annotation and content processing for listed SpecialPages
815
#
816
# @since 1.9
817
##
818
$GLOBALS['smwgEnabledSpecialPage'] = array( 'Ask' );
819
##
820
821
###
822
# Search engine to fall back to in case SMWSearch is used as custom search
823
# engine but is unable to interpret the search term as an SMW query
824
#
825
# Leave as null to select the default search engine for the selected database
826
# type (e.g. SearchMySQL, SearchPostgres or SearchOracle), or set to a class
827
# name to override to a custom search engine.
828
#
829
# @since 2.1
830
##
831
$GLOBALS['smwgFallbackSearchType'] = null;
832
##
833
834
###
835
# If enabled it will display help information on the edit page to support users
836
# unfamiliar with SMW when extending page content.
837
#
838
# @since 2.1
839
##
840
$GLOBALS['smwgEnabledEditPageHelp'] = true;
841
##
842
843
###
844
# Various MediaWiki update operations in MW 1.26+ started to use DeferredUpdates
845
# and to ensure that the Store update follows in queue of updates made to a page
846
# this setting should be enabled by default for MW 1.26 onwards.
847
#
848
# It will improve page responsiveness for purge and move action significantly.
849
#
850
# @since 2.4
851
##
852
$GLOBALS['smwgEnabledDeferredUpdate'] = true;
853
##
854
855
###
856
# Improves performance for selected Job operations that can be executed in a deferred
857
# processing mode (or asynchronous to the current transaction) as those (if enabled)
858
# are send as request to a dispatcher in order for them to be decoupled from the
859
# initial transaction.
860
#
861
# @since 2.3
862
##
863
$GLOBALS['smwgEnabledHttpDeferredJobRequest'] = true;
864
##
865
866
###
867
# If enabled it will store dependencies for queries allowing it to purge
868
# the ParserCache on subjects with embedded queries that contain altered entities.
869
#
870
# The setting requires to run `update.php` (it creates an extra table). Also
871
# as noted in #1117, `SMW\ParserCachePurgeJob` should be scheduled accordingly.
872
#
873
# Requires `smwgEnabledHttpDeferredJobRequest` to be set true.
874
#
875
# @since 2.3 (experimental)
876
# @default false
877
##
878
$GLOBALS['smwgEnabledQueryDependencyLinksStore'] = false;
879
##
880
881
###
882
# Relates to `smwgEnabledQueryDependencyLinksStore` and defines property keys
883
# to be excluded from the dependency detection.
884
#
885
# For example, to avoid a purge process being triggered for each altered subobject
886
# '_SOBJ' is excluded from the processing but it will not exclude any properties
887
# defined by a subobject (given that it is not part of an extended exclusion list).
888
#
889
# `_MDAT` is excluded to avoid a purge on each page edit with a `Modification date`
890
# change that would otherwise trigger a dependency update.
891
#
892
# '_ASKDU' changes to the duration of a query should not trigger an update of
893
# possible query dependencies (as this has no bearing on the result list).
894
#
895
# @since 2.3 (experimental)
896
##
897
$GLOBALS['smwgQueryDependencyPropertyExemptionlist'] = array( '_MDAT', '_SOBJ', '_ASKDU' );
898
##
899
900
###
901
# Listed properties are marked as affiliate, meaning that when an alteration to
902
# a property value occurs query dependencies for the related entity are recorded
903
# as well. For example, _DTITLE is most likely such property where a change would
904
# normally not be reflected in query results (as it not directlty linked to a
905
# query) but when added as an affiliated, changes to its content will be
906
# handled as if it is linked to an embedded entity.
907
#
908
# @since 2.4 (experimental)
909
##
910
$GLOBALS['smwgQueryDependencyAffiliatePropertyDetectionlist'] = array();
911
##
912
913
###
914
# The setting is introduced the keep backwards compatibility with existing Rdf/Turtle
915
# exports. The `aux` marker is epxected only used to be used for selected properties
916
# to generate a helper value and not for any other predefined property.
917
#
918
# Any property that does not explicitly require an auxiliary value (such `_dat`/
919
# `_geo` type values) now uses its native as condition descriptor (`Has_subobject`
920
# instead of `Has_subobject-23aux`)
921
#
922
# For SPARQL repository users that don't want to run an a  `rebuildData.php`,
923
# the setting has to be TRUE.
924
#
925
# This BC setting is planned to vanish with 3.x.
926
#
927
# @since 2.3
928
##
929
$GLOBALS['smwgExportBCAuxiliaryUse'] = false;
930
##
931
932
##
933
# The preferred form is to use canonical identifiers (Category:, Property:)
934
# instead of localized names to ensure that RDF/Query statements are language
935
# agnostic and do work even after the site/content language changes.
936
#
937
# This BC setting is planned to vanish with 3.x.
938
#
939
# @since 2.3
940
##
941
$GLOBALS['smwgExportBCNonCanonicalFormUse'] = false;
942
943
##
944
# The strict mode is to help to remove ambiguity during the annotation [[ ... :: ... ]]
945
# parsing process.
946
#
947
# The default interpretation (strict) is to find a single triple such as
948
# [[property::value:partOfTheValue::alsoPartOfTheValue]] where in case the strict
949
# mode is disabled multiple properties can be assigned using a
950
# [[property1::property2::value]] notation but may cause value strings to be
951
# interpret unanticipated in case of additional colons.
952
#
953
# @since 2.3
954
# @default true
955
##
956
$GLOBALS['smwgEnabledInTextAnnotationParserStrictMode'] = true;
957
958
##
959
# Features or restrictions for specific DataValue types
960
#
961
# - SMW_DV_NONE
962
#
963
# - SMW_DV_PROV_REDI (PropertyValue) If a property is redirected to a different
964
# target (Foo -> Bar) then follow it by default in order to allow query results
965
# to be displayed equivalent for both queries without having to adjust
966
# (or change) a query. This flag is mainly provided to restore backwards
967
# compatibility where behaviour is not expected to be altered, nevertheless it is
968
# recommended that the setting is enabled to improve user friendliness in terms
969
# of query execution.
970
#
971
# - SMW_DV_MLTV_LCODE (MonolingualTextValue) is to require a language code in order
972
# for a DV to be completed otherwise a MLTV can operate without a language code
973
#
974
# - SMW_DV_PVAP (Allows pattern) to allow regular expression pattern matching
975
# when `Allows pattern` property is assigned to user-defined property
976
#
977
# - SMW_DV_WPV_DTITLE (WikiPageValue) is to allow requesting a lookup for a display
978
# title and if present will be used as caption for the invoked subject
979
#
980
# - SMW_DV_PROV_DTITLE (PropertyValue) in combination with SMW_DV_WPV_DTITLE; If
981
# enabled it will attempt to resolve a property label by matching it against a
982
# possible assigned property "Display title of" value. For example, property
983
# "Foo" has "Display title of" "hasFoolishFoo" where "hasFoolishFoo" is being
984
# resolved as "Foo" when creating annotations. Currently, this uses an
985
# uncached lookup and therefore is disabled by default to avoid a possible
986
# performance impact (which has not been established or analyzed).
987
#
988
# - SMW_DV_PVUC (Uniqueness constraint) to specify that a property can only
989
# assign a value that is unique in its literal representation (the state of
990
# uniqueness for a value is established by the fact that it is assigned before
991
# any other value of the same representation to a property).
992
#
993
# - SMW_DV_TIMEV_CM (TimeValue) to indicate the CalendarModel if is not a
994
# CM_GREGORIAN
995
#
996
# @since 2.4
997
##
998
$GLOBALS['smwgDVFeatures'] = SMW_DV_PROV_REDI | SMW_DV_MLTV_LCODE | SMW_DV_PVAP | SMW_DV_WPV_DTITLE | SMW_DV_TIMEV_CM;
999
1000
##
1001
# Fulltext search support
1002
#
1003
# If enabled, it will store text elements using a separate table in order for the
1004
# DB back-end to use special fulltext index operations.
1005
#
1006
# - Tested with MySQL/MariaDB
1007
# - Tested with SQLite
1008
#
1009
# @since 2.5
1010
##
1011
$GLOBALS['smwgEnabledFulltextSearch'] = false;
1012
1013
##
1014
# Throttle the amount of expected index updates.
1015
#
1016
# It can be of advantage to postpone the update using a deferred job execution to
1017
# decouple changes to the storage back-end and the fulltext index table.
1018
#
1019
# In case `smwgFulltextDeferredUpdate` and `$GLOBALS['smwgEnabledDeferredUpdate']` are
1020
# enabled then the updater will try to open a new process for posting instructions
1021
# to execute the `SearchTableUpdateJob` immediately otherwise `SearchTableUpdateJob`
1022
# will be enqueued and `runJobs.php` is required to be schedule for execution.
1023
#
1024
# If a user wants to avoid the JobQueue for executing updates via `SearchTableUpdateJob`
1025
# then this setting should be disabled.
1026
#
1027
# @since 2.5
1028
# @default true
1029
##
1030
$GLOBALS['smwgFulltextDeferredUpdate'] = true;
1031
1032
##
1033
# Fulltext search table options
1034
#
1035
# This setting directly influences how a ft table is created therefore please
1036
# change the content with caution.
1037
#
1038
# - MySQL version 5.6 or later with only MyISAM and InnoDB storage engines
1039
# to support full-text search (according to sources)
1040
#
1041
# - MariaDB full-text indexes can be used only with MyISAM and Aria tables,
1042
# from MariaDB 10.0.5 with InnoDB tables and from MariaDB 10.0.15
1043
# with Mroonga tables (according to sources)
1044
#
1045
# - SQLite FTS3 has been available since version 3.5, FTS4 were added with
1046
# version 3.7.4, and FTS5 is available with version 3.9.0 (according to
1047
# sources); The setting allows to specify extra arguments after the module
1048
# engine such as array( 'FTS4', 'tokenize=porter' ).
1049
#
1050
# It is possible to extend the option decription (MySQL 5.7+)  with
1051
# 'mysql' => array( 'ENGINE=MyISAM, DEFAULT CHARSET=utf8', 'WITH PARSER ngram' )
1052
#
1053
# @since 2.5
1054
##
1055
$GLOBALS['smwgFulltextSearchTableOptions'] = array(
1056
	'mysql'  => array( 'ENGINE=MyISAM, DEFAULT CHARSET=utf8' ),
1057
	'sqlite' => array( 'FTS4' )
1058
);
1059
1060
##
1061
# List of property keys for which value assignments are being exempted from the
1062
# fulltext indexing process because there are either insignificant or mostly
1063
# represent single terms which are not required to be searched via a FT or a
1064
# proximity.
1065
#
1066
# Listed properties will use the standard LIKE/NLIKE expression when used in
1067
# connection with the ~/!~ operator.
1068
#
1069
# @since 2.5
1070
##
1071
$GLOBALS['smwgFulltextSearchPropertyExemptionList'] = array(
1072
	'_ASKFO', '_ASKST', '_IMPO', '_LCODE', '_UNIT', '_CONV', '_TYPE', '_ERRT'
1073
);
1074
1075
##
1076
# Describes the minimum word/token length to help to decide whether MATCH or LIKE
1077
# operators are to be used for a condition statement.
1078
#
1079
# For MySQL it is expected it corresponds to either innodb_ft_min_token_size or
1080
# ft_min_word_len
1081
#
1082
# @since 2.5
1083
##
1084
$GLOBALS['smwgFulltextSearchMinTokenSize'] = 3;
1085
1086
##
1087
# To detect a possible language candidate from an indexable text element.
1088
#
1089
# TextCatLanguageDetector, a large list of languages does have a detrimental
1090
# influence on the performance when trying to detect a language from a free text.
1091
#
1092
# Stopwords are only applied after language detection has been enabled.
1093
#
1094
# @see https://github.com/wikimedia/wikimedia-textcat
1095
#
1096
# @since 2.5
1097
# @default empty list (language detection is disabled by default)
1098
##
1099
$GLOBALS['smwgFulltextLanguageDetection'] = array(
1100
//	'TextCatLanguageDetector' => array( 'en', 'de', 'fr', 'es', 'ja', 'zh' )
0 ignored issues
show
Unused Code Comprehensibility introduced by
57% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
1101
//	'CdbNGramLanguageDetector' => array( 'en', 'de', 'fr', 'es', 'ja', 'zh' )
1102
);
1103
1104
##
1105
# Using MySQL's "Global Transaction Identifier" will create issues when executing
1106
# queries that rely on temporary tables, according to the documentation "... the
1107
# operations listed here cannot be used ... CREATE TEMPORARY TABLE statements
1108
# inside transactions".
1109
#
1110
# MySQL Global transaction identifier is a unique transaction ID assigned to every
1111
# transaction that happens in MySQL database.
1112
#
1113
# Issue is encountered when @@GLOBAL.ENFORCE_GTID_CONSISTENCY = 1
1114
#
1115
# @see https://dev.mysql.com/doc/refman/5.6/en/replication-options-gtids.html
1116
# @see https://support.software.dell.com/kb/184275
1117
#
1118
# @since 2.5
1119
# @default false
1120
##
1121
$GLOBALS['smwgQTemporaryTablesAutoCommitMode'] = false;
1122