Différences entre les versions de « SMW Sandbox:Setup information »
De Semantic MediaWiki - Sandbox
(→composer.local.json : upd) |
(→LocalSettings.php : upd) |
||
Ligne 40 : | Ligne 40 : | ||
); | ); | ||
+ | ## Semantic Breadcrumb Links | ||
+ | // Composer | ||
+ | |||
+ | ## Semantic Cite | ||
+ | // Composer | ||
## Semantic Compound Queries | ## Semantic Compound Queries | ||
Ligne 67 : | Ligne 72 : | ||
## Semantic Forms Inputs | ## Semantic Forms Inputs | ||
require "extensions/SemanticFormsInputs/SemanticFormsInputs.php"; | require "extensions/SemanticFormsInputs/SemanticFormsInputs.php"; | ||
+ | |||
+ | ## Semantic Forms Select | ||
+ | // Composer | ||
+ | |||
+ | ## Semantic Glossary | ||
+ | // Composer | ||
+ | |||
+ | ## Semantic Interlanguage Links | ||
+ | // Composer | ||
## Semantic Maps | ## Semantic Maps | ||
Ligne 84 : | Ligne 98 : | ||
// Composer | // Composer | ||
$srfgFirstDayOfWeek = 'monday'; | $srfgFirstDayOfWeek = 'monday'; | ||
+ | |||
+ | ## Semantic Sifter | ||
+ | // Composer | ||
+ | |||
+ | ## Semantic Title | ||
+ | require "extensions/SemanticTitle/SemanticTitle.php"; | ||
+ | $wgSemanticTitleProperties = array( | ||
+ | 1 => "Has Pagetitle" | ||
+ | ); | ||
+ | |||
+ | ## Semantic Watchlist | ||
+ | // Composer | ||
</syntaxhighlight> | </syntaxhighlight> |
Version du 28 septembre 2015 à 22:33
Welcome to the sandbox of the SMW project. It allows to text features provided by Semantic MediaWiki as well as related semantic extensions.
This wiki is designed to always run on the latest stable version of MediaWiki core as well as the installed extensions. Note that it is required to create and account as well as confirm your e-mail to use this wiki.
composer.local.json
{
"require": {
"mediawiki/semantic-media-wiki": "@dev",
"mediawiki/semantic-cite": "@dev",
"mediawiki/semantic-breadcrumb-links": "@dev",
"mediawiki/semantic-extra-special-properties": "@dev",
"mediawiki/semantic-forms": "@dev",
"mediawiki/semantic-forms-select": "@dev",
"mediawiki/semantic-glossary": "@dev",
"mediawiki/semantic-interlanguage-links": "@dev",
"mediawiki/semantic-maps": "@dev",
"mediawiki/semantic-meta-tags": "@dev",
"mediawiki/semantic-result-formats": "@dev",
"mediawiki/semantic-sifter": "@dev",
"mediawiki/semantic-watchlist": "@dev",
"phpoffice/phpexcel": "~1"
}
}
LocalSettings.php
- Semantic extensions only
## Semantic MediaWiki
// Composer
enableSemantics( $smwSemanticName );
$smwgAdminRefreshStore = false;
$smwgPageSpecialProperties = array_merge(
$smwgPageSpecialProperties, array(
'_CDAT', '_NEWP', '_LEDT', '_MEDIA', '_MIME'
)
);
## Semantic Breadcrumb Links
// Composer
## Semantic Cite
// Composer
## Semantic Compound Queries
require "extensions/SemanticCompoundQueries/SemanticCompoundQueries.php";
## Semantic Drilldown
$sdgNamespaceIndex = 112;
require "extensions/SemanticDrilldown/SemanticDrilldown.php";
$sdgShowCategoriesAsTabs = true;
## Semantic Extra Special Properties
// Composer
$sespSpecialProperties = array(
'_EUSER', '_CUSER', '_REVID', '_PAGEID', '_VIEWS', '_NREV',
'_NTREV', '_SUBP', '_USERREG', '_USEREDITCNT', '_EXIFDATA'
);
$sespUseAsFixedTables = true;
$wgSESPExcludeBots = true;
## Semantic Forms
// Composer
$sfg24HourTime = true;
$sfgRenameEditTabs = true;
$sfgRedLinksCheckOnlyLocalProps = true;
$sfgAutocompleteOnAllChars = true;
## Semantic Forms Inputs
require "extensions/SemanticFormsInputs/SemanticFormsInputs.php";
## Semantic Forms Select
// Composer
## Semantic Glossary
// Composer
## Semantic Interlanguage Links
// Composer
## Semantic Maps
// Composer
## Semantic Meta Tags
// Composer
$smtgTagsProperties = array(
'keywords' => 'Meta-element keywords',
'description' => 'Meta-element description'
);
## Semantic Rating
require "extensions/SemanticRating/SemanticRating.php";
## Semantic Result Formats
// Composer
$srfgFirstDayOfWeek = 'monday';
## Semantic Sifter
// Composer
## Semantic Title
require "extensions/SemanticTitle/SemanticTitle.php";
$wgSemanticTitleProperties = array(
1 => "Has Pagetitle"
);
## Semantic Watchlist
// Composer