« SMW Sandbox:Setup information » : différence entre les versions

De Semantic MediaWiki - Sandbox

(retrived directly from database)
 
Ligne 75 : Ligne 75 :
// Composer
// Composer
$smtgTagsProperties = array(
$smtgTagsProperties = array(
         'keywords' => 'Meta-element keywords',
         'keywords' => 'Meta element keywords',
         'description' => 'Meta-element description'
         'description' => 'Meta element description'
         );
         );
$smtgTagsStrings = array(
'og:site_name' => 'Semantic MediaWiki - Sandbox',
'og:image' => 'http://sandbox.semantic-mediawiki.org/w/SMWSandBoxLogo.png',
'og:image:type' => 'image/png',
'og:image:width' => '142',
'og:image:height' => '142'
);


## Semantic Rating
## Semantic Rating

Dernière version du 25 octobre 2015 à 02:10

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 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 Maps
// Composer

## Semantic Meta Tags
// Composer
$smtgTagsProperties = array(
        'keywords' => 'Meta element keywords',
        'description' => 'Meta element description'
        );
$smtgTagsStrings = array(
	'og:site_name' => 'Semantic MediaWiki - Sandbox',
	'og:image' => 'http://sandbox.semantic-mediawiki.org/w/SMWSandBoxLogo.png',
	'og:image:type' => 'image/png',
	'og:image:width' => '142',
	'og:image:height' => '142'
	);

## Semantic Rating
require "extensions/SemanticRating/SemanticRating.php";

## Semantic Result Formats
// Composer
$srfgFirstDayOfWeek = 'monday';
Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.