r19883 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r19882‎ | r19883 | r19884 >
Date:14:26, 11 February 2007
Author:mkroetzsch
Status:old
Tags:
Comment:
Removed now obsolete SMW_LocalSettingsTemplate.php
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_LocalSettingsTemplate.php (deleted) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/SMW_LocalSettingsTemplate.php
@@ -1,124 +0,0 @@
2 -<?php
3 -
4 -##=##=##=##=## Configuration of Semantic MediaWiki ##=##=##=##=##
5 -##
6 -## This file contains important settings for customising your
7 -## installation. Copy the content of this file into a new file
8 -## "SMW_LocalSettings.php" within the same directory, and modify
9 -## the settings in this file as required.
10 -##
11 -##=##=##=##=##=##=##=##=##=##=##=##=##=##=##=##=##=##=##=##=##=##
12 -
13 -
14 -###
15 -# Set the following to the name of your server. This can
16 -# be something like "en.wikipedia.org" but also an IP-address.
17 -# The name need not be an existing domain, since it is only
18 -# used to generate identifiers in the RDF export. Yet a real
19 -# address is to be preferred.
20 -##
21 -$smwgServer="examplewiki.ontoworld.org";
22 -##
23 -
24 -###
25 -# Set the following value to "true" if you want to enable support
26 -# for semantic annotations within templates. For the moment, this
27 -# will only work after a minor change in your MediaWiki files --
28 -# see INSTALL for details. Enabling this is strongly recommended.
29 -##
30 -$smwgEnableTemplateSupport = false;
31 -##
32 -
33 -###
34 -# Here you can select in which cases you want to have an factbox
35 -# appear below an article. The default setting is "SMW_FACTBOX_NONEMPTY"
36 -# which shows only those factboxes that have some content. Other options:
37 -##
38 -// $smwgShowFactbox = SMW_FACTBOX_HIDDEN; # hide always
39 -// $smwgShowFactbox = SMW_FACTBOX_SHOWN; # show always
40 -##
41 -
42 -###
43 -# Settings for RDF export
44 -##
45 -$smwgAllowRecursiveExport = false; // can normal users request recursive export?
46 -$smwgExportBacklinks = true; // should backlinks be included by default?
47 -##
48 -
49 -###
50 -# If you already have custom namespaces, change the following
51 -# number to match the smallest even namespace number that is
52 -# not in use yet. However, it must not be smaller than 100.
53 -##
54 -smwfInitNamespaces(100);
55 -##
56 -
57 -###
58 -# There are also many settings to customize inline queries, especially depending
59 -# on how much performance you can spare for these queries. Below, you can set any
60 -# of the variables as documented (and preset) in SMW_InlineQueries.php.
61 -# Large sites should definitely do this to prevent overly high loads!
62 -##
63 -// $smwgIQEnabled = true;
64 -# Default namespaces to search; to search in all namespaces, comment this out (//...)
65 -$smwgIQSearchNamespaces = array(NS_MAIN, NS_IMAGE);
66 -// $smwgIQRedirectNormalization = false;
67 -// $smwgIQDefaultLinking = 'all';
68 -// $smwgIQMaxConditions = 50;
69 -// $smwgIQMaxTables = 10;
70 -// ...
71 -##
72 -
73 -###
74 -# Here you can define for which namespaces the semantic links
75 -# and annotations are to be evaluated. On other pages, annotations
76 -# can be given but are silently ignored. This is useful since,
77 -# e.g., talk pages usually do not have attributes and the like. In
78 -# fact, is is not obvious what a meaningful attribute of a talk
79 -# page could be. Pages without annotations will also be ignored
80 -# during full RDF export, unless they are referred to from another
81 -# article.
82 -##
83 -$smwgNamespacesWithSemanticLinks = array(
84 - NS_MAIN => true,
85 - NS_TALK => false,
86 - NS_USER => true,
87 - NS_USER_TALK => false,
88 - NS_PROJECT => true,
89 - NS_PROJECT_TALK => false,
90 - NS_IMAGE => true,
91 - NS_IMAGE_TALK => false,
92 - NS_MEDIAWIKI => false,
93 - NS_MEDIAWIKI_TALK => false,
94 - NS_TEMPLATE => false,
95 - NS_TEMPLATE_TALK => false,
96 - NS_HELP => true,
97 - NS_HELP_TALK => false,
98 - NS_CATEGORY => true,
99 - NS_CATEGORY_TALK => false,
100 - SMW_NS_RELATION => true,
101 - SMW_NS_RELATION_TALK => false,
102 - SMW_NS_ATTRIBUTE => true,
103 - SMW_NS_ATTRIBUTE_TALK => false,
104 - SMW_NS_TYPE => true,
105 - SMW_NS_TYPE_TALK => false
106 -);
107 -##
108 -
109 -###
110 -# If you want to import ontologies, you need to install RAP,
111 -# a free RDF API for PHP, see
112 -# http://www.wiwiss.fu-berlin.de/suhl/bizer/rdfapi/
113 -# The following is the path to your installation of RAP
114 -# (the directory where you extracted the files to) as seen
115 -# from your local filesystem.
116 -#
117 -# Note that the built-in ontology import is very simple and
118 -# still experimental. More elaborate custom solutions might
119 -# be preferable; see ontoworld.org/wiki/Help:Ontology_import.
120 -##
121 -$smwgRAPPath = $smwgIP . '/libs/rdfapi-php';
122 -//$smwgRAPPath = '/another/example/path/rdfapi-php';
123 -##
124 -
125 -?>
\ No newline at end of file

Status & tagging log