Project:
Semantic Maps
Code Location:
https://gerrit.wikimedia.org/r/p/mediawiki/extensions/SemanticMaps.gitmaster
SM_Settings.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?php /** * File defining the settings for the Semantic Maps extension. * More info can be found at http://www.mediawiki.org/wiki/Extension:Semantic_Maps#Settings * * NOTICE: * Changing one of these settings can be done by copying or cutting it, * and placing it in LocalSettings.php, AFTER the inclusion of Semantic Maps. * * @file SM_Settings.php * @ingroup SemanticMaps * * @licence GNU GPL v2+ * @author Jeroen De Dauw < jeroendedauw@gmail.com > */ if ( !defined( 'MEDIAWIKI' ) ) { die( 'Not an entry point.' ); } # Mapping services configuration # Array of String. The default mapping service for each feature, which will be used when no valid service is provided by the user. # Each service needs to be enabled, if not, the first one from the available services will be taken. # Note: The default service needs to be available for the feature you set it for, since it's used as a fallback mechanism. $egMapsDefaultServices['qp'] = $egMapsDefaultService; $egMapsDefaultServices['fi'] = $egMapsDefaultService; # Queries # Boolean. The default value for the forceshow parameter. Will force a map to be shown even when there are no query results # when set to true. This value will only be used when the user does not provide one. $smgQPForceShow = true; # Boolean. The default value for the showtitle parameter. Will hide the title in the marker pop-ups when set to true. # This value will only be used when the user does not provide one. $smgQPShowTitle = true; # Boolean. The default value for the hidenamespace parameter. Will hide the namespace in the marker pop-ups when set to true. # This value will only be used when the user does not provide one. $smgQPHideNamespace = false; # String or false. Allows you to define the content and it's layout of marker pop-ups via a template. # This value will only be used when the user does not provide one. $smgQPTemplate = false; # Enum. The default output format of coordinates. # Possible values: Maps_COORDS_FLOAT, Maps_COORDS_DMS, Maps_COORDS_DM, Maps_COORDS_DD $smgQPCoodFormat = $egMapsCoordinateNotation; # Boolean. Indicates if coordinates should be outputted in directional notation by default. $smgQPCoodDirectional = $egMapsCoordinateDirectional; # Forms $smgFIFieldSize = 40; # Integer or string. The default width and height of maps in forms created by using Semantic Forms. # These values only be used when the user does not provide them. $smgFIWidth = 665; $smgFIHeight = $egMapsMapHeight;
