Go to the source code of this file.
Enumerations | |
| enum | SD_VERSION |
| enum | SD_SP_HAS_FILTER |
| enum | SD_SP_COVERS_PROPERTY |
| enum | SD_SP_HAS_VALUE |
| enum | SD_SP_GETS_VALUES_FROM_CATEGORY |
| enum | SD_SP_USES_TIME_PERIOD |
| enum | SD_SP_REQUIRES_FILTER |
| enum | SD_SP_HAS_LABEL |
| enum | SD_SP_HAS_DRILLDOWN_TITLE |
| enum | SD_SP_HAS_INPUT_TYPE |
| enum | SD_SP_HAS_DISPLAY_PARAMETERS |
Functions | |
| sdfInitNamespaces () | |
| Init the additional namespaces used by Semantic Drilldown. | |
| sdfInitContentLanguage ($langcode) | |
| Initialize a global language object for content language. | |
| sdfInitUserLanguage ($langcode) | |
| Initialize the global language object for user language. | |
| sdfInitProperties () | |
Variables | |
| $wgExtensionCredits [defined( 'SEMANTIC_EXTENSION_TYPE')? 'semantic': 'specialpage'][] | |
| $sdgIP = dirname( __FILE__ ) | |
| $wgExtensionMessagesFiles ['SemanticDrilldown'] = $sdgIP . '/languages/SD_Messages.php' | |
| $wgExtensionMessagesFiles ['SemanticDrilldownAlias'] = $sdgIP . '/languages/SD_Aliases.php' | |
| $wgExtensionMessagesFiles ['SemanticDrilldownMagic'] = $sdgIP . '/languages/SemanticDrilldown.i18n.magic.php' | |
| $wgSpecialPages ['Filters'] = 'SDFilters' | |
| $wgAutoloadClasses ['SDFilters'] = $sdgIP . '/specials/SD_Filters.php' | |
| $wgSpecialPageGroups ['Filters'] = 'sd_group' | |
| $wgSpecialPages ['CreateFilter'] = 'SDCreateFilter' | |
| $wgAutoloadClasses ['SDCreateFilter'] = $sdgIP . '/specials/SD_CreateFilter.php' | |
| $wgSpecialPageGroups ['CreateFilter'] = 'sd_group' | |
| $wgSpecialPages ['BrowseData'] = 'SDBrowseData' | |
| $wgAutoloadClasses ['SDBrowseData'] = $sdgIP . '/specials/SD_BrowseData.php' | |
| $wgSpecialPageGroups ['BrowseData'] = 'sd_group' | |
| $wgAutoloadClasses ['SDUtils'] = $sdgIP . '/includes/SD_Utils.php' | |
| $wgAutoloadClasses ['SDFilter'] = $sdgIP . '/includes/SD_Filter.php' | |
| $wgAutoloadClasses ['SDFilterValue'] = $sdgIP . '/includes/SD_FilterValue.php' | |
| $wgAutoloadClasses ['SDAppliedFilter'] = $sdgIP . '/includes/SD_AppliedFilter.php' | |
| $wgAutoloadClasses ['SDPageSchemas'] = $sdgIP . '/includes/SD_PageSchemas.php' | |
| $wgHooks ['smwInitProperties'][] = 'sdfInitProperties' | |
| $wgHooks ['AdminLinks'][] = 'SDUtils::addToAdminLinks' | |
| $wgHooks ['MagicWordwgVariableIDs'][] = 'SDUtils::addMagicWordVariableIDs' | |
| $wgHooks ['ParserBeforeTidy'][] = 'SDUtils::handleShowAndHide' | |
| $wgHooks ['PageSchemasRegisterHandlers'][] = 'SDPageSchemas::registerClass' | |
| $wgPageProps ['hidefromdrilldown'] = 'Whether or not the page is set as HIDEFROMDRILLDOWN' | |
| $wgPageProps ['showindrilldown'] = 'Whether or not the page is set as SHOWINDRILLDOWN' | |
| $sdgScriptPath = $wgScriptPath . '/extensions/SemanticDrilldown' | |
| $sdgHideCategoriesByDefault = false | |
| $sdgNumResultsPerPage = 250 | |
| $sdgFiltersSmallestFontSize = - 1 | |
| $sdgFiltersLargestFontSize = - 1 | |
| $sdgShowCategoriesAsTabs = false | |
Defines a drill-down interface for data stored with the Semantic MediaWiki extension, via the page Special:BrowseData.
Definition in file SemanticDrilldown.php.
Definition at line 29 of file SemanticDrilldown.php.
Definition at line 31 of file SemanticDrilldown.php.
Definition at line 37 of file SemanticDrilldown.php.
Definition at line 35 of file SemanticDrilldown.php.
| enum SD_SP_HAS_FILTER |
Definition at line 28 of file SemanticDrilldown.php.
| enum SD_SP_HAS_INPUT_TYPE |
Definition at line 36 of file SemanticDrilldown.php.
| enum SD_SP_HAS_LABEL |
Definition at line 34 of file SemanticDrilldown.php.
| enum SD_SP_HAS_VALUE |
Definition at line 30 of file SemanticDrilldown.php.
Definition at line 33 of file SemanticDrilldown.php.
Definition at line 32 of file SemanticDrilldown.php.
| enum SD_VERSION |
Definition at line 16 of file SemanticDrilldown.php.
| sdfInitContentLanguage | ( | $ | langcode | ) |
Initialize a global language object for content language.
This must happen early on, even before user language is known, to determine labels for additional namespaces. In contrast, messages can be initialized much later when they are actually needed.
Definition at line 161 of file SemanticDrilldown.php.
References $sdgIP.
Referenced by sdfInitNamespaces().
| sdfInitNamespaces | ( | ) |
Init the additional namespaces used by Semantic Drilldown.
Definition at line 121 of file SemanticDrilldown.php.
References $smwgNamespacesWithSemanticLinks, and sdfInitContentLanguage().
| sdfInitProperties | ( | ) |
Definition at line 205 of file SemanticDrilldown.php.
References SMWPropertyValue::registerProperty(), SMWDIProperty::registerProperty(), SMWPropertyValue::registerPropertyAlias(), and SMWDIProperty::registerPropertyAlias().
| sdfInitUserLanguage | ( | $ | langcode | ) |
Initialize the global language object for user language.
This must happen after the content language was initialized, since this language is used as a fallback.
Definition at line 186 of file SemanticDrilldown.php.
References $sdgIP.
| $sdgFiltersLargestFontSize = - 1 |
Definition at line 109 of file SemanticDrilldown.php.
Referenced by SDBrowseDataPage::getPageHeader(), SDBrowseDataPage::printUnappliedFilterLine(), and SDBrowseDataPage::printUnappliedFilterValues().
| $sdgFiltersSmallestFontSize = - 1 |
Definition at line 108 of file SemanticDrilldown.php.
Referenced by SDBrowseDataPage::getPageHeader(), SDBrowseDataPage::printUnappliedFilterLine(), and SDBrowseDataPage::printUnappliedFilterValues().
| $sdgHideCategoriesByDefault = false |
Definition at line 105 of file SemanticDrilldown.php.
Referenced by SDUtils::getCategoriesForBrowsing().
| $sdgIP = dirname( __FILE__ ) |
Definition at line 39 of file SemanticDrilldown.php.
Referenced by sdfInitContentLanguage(), and sdfInitUserLanguage().
| $sdgNumResultsPerPage = 250 |
| $sdgScriptPath = $wgScriptPath . '/extensions/SemanticDrilldown' |
Definition at line 78 of file SemanticDrilldown.php.
Referenced by SDBrowseDataPage::addJavascriptAndCSS(), SDBrowseData::execute(), SDBrowseDataPage::getPageHeader(), SDBrowseDataPage::printAppliedFilterLine(), and SDBrowseDataPage::printUnappliedFilterLine().
| $sdgShowCategoriesAsTabs = false |
Definition at line 111 of file SemanticDrilldown.php.
Referenced by SDBrowseDataPage::printCategoriesList().
| $wgAutoloadClasses['SDPageSchemas'] = $sdgIP . '/includes/SD_PageSchemas.php' |
Definition at line 62 of file SemanticDrilldown.php.
| $wgAutoloadClasses['SDAppliedFilter'] = $sdgIP . '/includes/SD_AppliedFilter.php' |
Definition at line 61 of file SemanticDrilldown.php.
| $wgAutoloadClasses['SDFilterValue'] = $sdgIP . '/includes/SD_FilterValue.php' |
Definition at line 60 of file SemanticDrilldown.php.
| $wgAutoloadClasses['SDFilter'] = $sdgIP . '/includes/SD_Filter.php' |
Definition at line 59 of file SemanticDrilldown.php.
| $wgAutoloadClasses['SDUtils'] = $sdgIP . '/includes/SD_Utils.php' |
Definition at line 58 of file SemanticDrilldown.php.
| $wgAutoloadClasses['SDBrowseData'] = $sdgIP . '/specials/SD_BrowseData.php' |
Definition at line 55 of file SemanticDrilldown.php.
| $wgAutoloadClasses['SDCreateFilter'] = $sdgIP . '/specials/SD_CreateFilter.php' |
Definition at line 52 of file SemanticDrilldown.php.
| $wgAutoloadClasses['SDFilters'] = $sdgIP . '/specials/SD_Filters.php' |
Definition at line 49 of file SemanticDrilldown.php.
| $wgExtensionCredits[defined( 'SEMANTIC_EXTENSION_TYPE')? 'semantic': 'specialpage'][] |
Initial value:
array(
'path' => __FILE__,
'name' => 'Semantic Drilldown',
'version' => SD_VERSION,
'author' => array( 'Yaron Koren', 'David Loomer' ),
'url' => 'https://www.mediawiki.org/wiki/Extension:Semantic_Drilldown',
'descriptionmsg' => 'semanticdrilldown-desc',
)
Definition at line 18 of file SemanticDrilldown.php.
Referenced by efMapsSetup().
| $wgExtensionMessagesFiles['SemanticDrilldownMagic'] = $sdgIP . '/languages/SemanticDrilldown.i18n.magic.php' |
Definition at line 45 of file SemanticDrilldown.php.
| $wgExtensionMessagesFiles['SemanticDrilldownAlias'] = $sdgIP . '/languages/SD_Aliases.php' |
Definition at line 44 of file SemanticDrilldown.php.
| $wgExtensionMessagesFiles['SemanticDrilldown'] = $sdgIP . '/languages/SD_Messages.php' |
Definition at line 43 of file SemanticDrilldown.php.
| $wgHooks['PageSchemasRegisterHandlers'][] = 'SDPageSchemas::registerClass' |
Definition at line 68 of file SemanticDrilldown.php.
| $wgHooks['ParserBeforeTidy'][] = 'SDUtils::handleShowAndHide' |
Definition at line 67 of file SemanticDrilldown.php.
| $wgHooks['MagicWordwgVariableIDs'][] = 'SDUtils::addMagicWordVariableIDs' |
Definition at line 66 of file SemanticDrilldown.php.
| $wgHooks['AdminLinks'][] = 'SDUtils::addToAdminLinks' |
Definition at line 65 of file SemanticDrilldown.php.
| $wgHooks['smwInitProperties'][] = 'sdfInitProperties' |
Definition at line 64 of file SemanticDrilldown.php.
| $wgPageProps['showindrilldown'] = 'Whether or not the page is set as SHOWINDRILLDOWN' |
Definition at line 71 of file SemanticDrilldown.php.
| $wgPageProps['hidefromdrilldown'] = 'Whether or not the page is set as HIDEFROMDRILLDOWN' |
Definition at line 70 of file SemanticDrilldown.php.
| $wgSpecialPageGroups['BrowseData'] = 'sd_group' |
Definition at line 56 of file SemanticDrilldown.php.
| $wgSpecialPageGroups['CreateFilter'] = 'sd_group' |
Definition at line 53 of file SemanticDrilldown.php.
| $wgSpecialPageGroups['Filters'] = 'sd_group' |
| $wgSpecialPages['BrowseData'] = 'SDBrowseData' |
Definition at line 54 of file SemanticDrilldown.php.
| $wgSpecialPages['CreateFilter'] = 'SDCreateFilter' |
Definition at line 51 of file SemanticDrilldown.php.
| $wgSpecialPages['Filters'] = 'SDFilters' |
1.5.6