Variables

SemanticMediaWiki/SMW_Settings.php File Reference

Go to the source code of this file.

Variables

if(!defined( 'MEDIAWIKI')) $smwgScriptPath = ( $wgExtensionAssetsPath === false ? $wgScriptPath . '/extensions' : $wgExtensionAssetsPath ) . '/SemanticMediaWiki'
 $smwgIP = dirname( __FILE__ ) . '/'
 $smwgDefaultStore = "SMWSQLStore3"
 $smwgSparqlDatabase = 'SMWSparqlDatabase'
 $smwgSparqlQueryEndpoint = 'http://localhost:8080/sparql/'
 $smwgSparqlUpdateEndpoint = 'http://localhost:8080/update/'
 $smwgSparqlDataEndpoint = 'http://localhost:8080/data/'
 $smwgSparqlDefaultGraph = ''
 $smwgShowFactbox = SMW_FACTBOX_HIDDEN
 $smwgShowFactboxEdit = SMW_FACTBOX_NONEMPTY
 $smwgToolboxBrowseLink = true
 $smwgInlineErrors = true
 $smwgUseCategoryHierarchy = true
 $smwgCategoriesAsInstances = true
 $smwgLinksInValues = false
 $smwgDefaultNumRecurringEvents = 100
 $smwgMaxNumRecurringEvents = 500
 $smwgBrowseShowInverse = false
 $smwgBrowseShowAll = true
 $smwgSearchByPropertyFuzzy = true
 $smwgTypePagingLimit = 200
 $smwgConceptPagingLimit = 200
 $smwgPropertyPagingLimit = 25
 $smwgMaxPropertyValues = 3
 $smwgQEnabled = true
 $smwgQMaxLimit = 10000
 $smwgIgnoreQueryErrors = true
 $smwgQSubcategoryDepth = 10
 $smwgQSubpropertyDepth = 10
 $smwgQEqualitySupport = SMW_EQ_SOME
 $smwgQSortingSupport = true
 $smwgQRandSortingSupport = true
 $smwgQDefaultNamespaces = null
 $smwgQComparators = '<|>|!~|!|~|≤|≥|<<|>>'
 $smwStrictComparators = false
 $smwgQMaxSize = 12
 $smwgQMaxDepth = 4
 $smwgQFeatures
 $smwgQDefaultLimit = 50
 $smwgQMaxInlineLimit = 500
 $smwgQPrintoutLimit = 100
 $smwgQDefaultLinking = 'all'
 $smwgQConceptCaching = CONCEPT_CACHE_HARD
 $smwgQConceptMaxSize = 20
 $smwgQConceptMaxDepth = 8
 $smwgQConceptFeatures
 $smwgQConceptCacheLifetime = 24 * 60
 $smwgResultFormats
 $smwgResultAliases = array( 'feed' => array( 'rss' ) )
 $smwgQuerySources
 $smwgPDefaultType = '_wpg'
 $smwgRSSEnabled = true
 $smwgRSSWithPages = true
 $smwgAllowRecursiveExport = false
 $smwgExportBacklinks = true
 $smwgMaxNonExpNumber = 1000000000000000
 $smwgEnableUpdateJobs = true
 $smwgNamespacesWithSemanticLinks
 $smwgPageSpecialProperties = array( '_MDAT' )
 $smwgDeclarationProperties = array( '_PVAL', '_LIST' )
 $smwgTranslate = false
 $smwgAdminRefreshStore = true
 $smwgAutocompleteInSpecialAsk = true
 $smwgAutoRefreshSubject = true

Detailed Description

Definition in file SMW_Settings.php.


Variable Documentation

$smwgAdminRefreshStore = true

Definition at line 503 of file SMW_Settings.php.

Referenced by SMWAdmin::execute().

$smwgAllowRecursiveExport = false
$smwgAutocompleteInSpecialAsk = true

Definition at line 510 of file SMW_Settings.php.

$smwgAutoRefreshSubject = true

Definition at line 517 of file SMW_Settings.php.

Referenced by SMWStore::updateData().

$smwgBrowseShowAll = true
$smwgBrowseShowInverse = false
$smwgCategoriesAsInstances = true

Definition at line 149 of file SMW_Settings.php.

Referenced by SMWParseData::onParserAfterTidy().

$smwgConceptPagingLimit = 200

Definition at line 201 of file SMW_Settings.php.

Referenced by SMWConceptPage::initParameters().

$smwgDeclarationProperties = array( '_PVAL', '_LIST' )

Definition at line 472 of file SMW_Settings.php.

Referenced by SMWParseData::storeData().

$smwgDefaultNumRecurringEvents = 100

Definition at line 169 of file SMW_Settings.php.

Referenced by SMWSetRecurringEvent::getDatesForRecurringEvent().

$smwgDefaultStore = "SMWSQLStore3"
$smwgEnableUpdateJobs = true

Definition at line 411 of file SMW_Settings.php.

$smwgExportBacklinks = true
$smwgIgnoreQueryErrors = true
$smwgInlineErrors = true

Definition at line 128 of file SMW_Settings.php.

Referenced by SMWParserExtensions::parsePropertiesCallback().

$smwgIP = dirname( __FILE__ ) . '/'

Definition at line 35 of file SMW_Settings.php.

$smwgLinksInValues = false

Definition at line 161 of file SMW_Settings.php.

Referenced by SMWParserExtensions::onInternalParseBeforeLinks().

$smwgMaxNonExpNumber = 1000000000000000

Definition at line 398 of file SMW_Settings.php.

Referenced by smwfNumberFormat().

$smwgMaxNumRecurringEvents = 500

Definition at line 170 of file SMW_Settings.php.

Referenced by SMWSetRecurringEvent::getDatesForRecurringEvent().

$smwgMaxPropertyValues = 3

Definition at line 208 of file SMW_Settings.php.

Referenced by SMWPropertyPage::subjectObjectList().

$smwgNamespacesWithSemanticLinks
Initial value:
 array(
                      NS_MAIN => true,
                      NS_TALK => false,
                      NS_USER => true,
                 NS_USER_TALK => false,
                   NS_PROJECT => true,
              NS_PROJECT_TALK => false,
                     NS_IMAGE => true,
                NS_IMAGE_TALK => false,
                 NS_MEDIAWIKI => false,
            NS_MEDIAWIKI_TALK => false,
                  NS_TEMPLATE => false,
             NS_TEMPLATE_TALK => false,
                      NS_HELP => true,
                 NS_HELP_TALK => false,
                  NS_CATEGORY => true,
             NS_CATEGORY_TALK => false,
             SMW_NS_PROPERTY  => true,
        SMW_NS_PROPERTY_TALK  => false,
                  SMW_NS_TYPE => true,
             SMW_NS_TYPE_TALK => false,
               SMW_NS_CONCEPT => true,
          SMW_NS_CONCEPT_TALK => false,
)

Definition at line 424 of file SMW_Settings.php.

Referenced by SMWExportController::printPageList(), sdfInitNamespaces(), and smwfIsSemanticsProcessed().

$smwgPageSpecialProperties = array( '_MDAT' )
$smwgPDefaultType = '_wpg'
$smwgPropertyPagingLimit = 25

Definition at line 202 of file SMW_Settings.php.

Referenced by SMWPropertyPage::initParameters().

$smwgQComparators = '<|>|!~|!|~|≤|≥|<<|>>'

Definition at line 251 of file SMW_Settings.php.

Referenced by SMWQueryLanguage::initializeComparators().

$smwgQConceptCacheLifetime = 24 * 60
$smwgQConceptCaching = CONCEPT_CACHE_HARD
$smwgQConceptFeatures
$smwgQConceptMaxDepth = 8

Definition at line 303 of file SMW_Settings.php.

Referenced by SMWQuery::applyRestrictions().

$smwgQConceptMaxSize = 20

Definition at line 302 of file SMW_Settings.php.

Referenced by SMWQuery::applyRestrictions().

$smwgQDefaultLimit = 50

Definition at line 279 of file SMW_Settings.php.

Referenced by SMWQueryProcessor::createQuery().

$smwgQDefaultLinking = 'all'

Definition at line 282 of file SMW_Settings.php.

Referenced by SMWResultPrinter::__construct().

$smwgQDefaultNamespaces = null

Definition at line 231 of file SMW_Settings.php.

Referenced by SMWQueryProcessor::createQuery().

$smwgQEnabled = true
$smwgQEqualitySupport = SMW_EQ_SOME
$smwgQFeatures
$smwgQMaxDepth = 4
$smwgQMaxInlineLimit = 500
$smwgQMaxLimit = 10000
$smwgQMaxSize = 12
$smwgQPrintoutLimit = 100

Definition at line 281 of file SMW_Settings.php.

Referenced by SMWQueryUI::getPoSortFormBox().

$smwgQRandSortingSupport = true
$smwgQSortingSupport = true
$smwgQSubcategoryDepth = 10
$smwgQSubpropertyDepth = 10
$smwgQuerySources
Initial value:
 array(

)

Definition at line 359 of file SMW_Settings.php.

$smwgResultAliases = array( 'feed' => array( 'rss' ) )
$smwgResultFormats
Initial value:
 array(
        'table'      => 'SMWTableResultPrinter',
        'list'       => 'SMWListResultPrinter',
        'ol'         => 'SMWListResultPrinter',
        'ul'         => 'SMWListResultPrinter',
        'broadtable' => 'SMWTableResultPrinter',
        'category'   => 'SMWCategoryResultPrinter',
        'embedded'   => 'SMWEmbeddedResultPrinter',
        'template'   => 'SMWListResultPrinter',
        'count'      => 'SMWListResultPrinter',
        'debug'      => 'SMWListResultPrinter',
        'feed'       => 'SMWFeedResultPrinter',
        'csv'        => 'SMWCsvResultPrinter',
        'dsv'        => 'SMWDSVResultPrinter',
        'json'       => 'SMWJSONResultPrinter',
        'rdf'        => 'SMWRDFResultPrinter'
)

Definition at line 323 of file SMW_Settings.php.

Referenced by ResultPrintersTest::constructorProvider(), SMWQueryProcessor::getResultPrinter(), SMWParamFormat::getValidFormatName(), SMQueryPrinters::initFormat(), ResultPrintersTest::instanceProvider(), SMWQueryUIHelper::setParams(), and srffInitFormats().

$smwgRSSEnabled = true

Definition at line 376 of file SMW_Settings.php.

$smwgRSSWithPages = true

Definition at line 377 of file SMW_Settings.php.

if (!defined( 'MEDIAWIKI')) $smwgScriptPath = ( $wgExtensionAssetsPath === false ? $wgScriptPath . '/extensions' : $wgExtensionAssetsPath ) . '/SemanticMediaWiki'
$smwgSearchByPropertyFuzzy = true

Definition at line 192 of file SMW_Settings.php.

Referenced by SMWSearchByProperty::displaySearchByProperty().

$smwgShowFactbox = SMW_FACTBOX_HIDDEN

Definition at line 105 of file SMW_Settings.php.

Referenced by SMWFactbox::getFactboxTextFromOutput().

$smwgShowFactboxEdit = SMW_FACTBOX_NONEMPTY

Definition at line 112 of file SMW_Settings.php.

Referenced by SMWFactbox::getFactboxTextFromOutput().

$smwgSparqlDatabase = 'SMWSparqlDatabase'

Definition at line 66 of file SMW_Settings.php.

Referenced by smwfGetSparqlDatabase().

$smwgSparqlDataEndpoint = 'http://localhost:8080/data/'

Definition at line 69 of file SMW_Settings.php.

Referenced by smwfGetSparqlDatabase().

$smwgSparqlDefaultGraph = ''

Definition at line 70 of file SMW_Settings.php.

Referenced by smwfGetSparqlDatabase().

$smwgSparqlQueryEndpoint = 'http://localhost:8080/sparql/'

Definition at line 67 of file SMW_Settings.php.

Referenced by smwfGetSparqlDatabase().

$smwgSparqlUpdateEndpoint = 'http://localhost:8080/update/'

Definition at line 68 of file SMW_Settings.php.

Referenced by smwfGetSparqlDatabase().

$smwgToolboxBrowseLink = true

Definition at line 120 of file SMW_Settings.php.

$smwgTranslate = false

Definition at line 482 of file SMW_Settings.php.

$smwgTypePagingLimit = 200

Definition at line 200 of file SMW_Settings.php.

Referenced by SMWSpecialTypes::getTypeProperties().

$smwgUseCategoryHierarchy = true
$smwStrictComparators = false

Definition at line 257 of file SMW_Settings.php.

Referenced by SMWQueryLanguage::initializeComparators().