-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathDefaultSettings.php
46 lines (40 loc) · 1.22 KB
/
DefaultSettings.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
<?php
/**
* DO NOT EDIT!
*
* The following default settings are to be used by the extension itself,
* please modify settings in the LocalSettings file.
*
* @codeCoverageIgnore
*/
if ( !defined( 'MEDIAWIKI' ) ) {
die( 'This file is part of the SemanticMetaTags extension, it is not a valid entry point.' );
}
/**
* An array of tags that assigns related properties such as:
*
* 'keywords' => array( 'Has keywords', ... )
*/
$GLOBALS['smtgTagsProperties'] = $GLOBALS['smtgTagsProperties'] ?? [];
/**
* Describes static content for an assigned `<meta>` tag
*
* 'some:tag' => 'Content that is static'
*/
$GLOBALS['smtgTagsStrings'] = $GLOBALS['smtgTagsStrings'] ?? [];
/**
* Listed tags are generally assumed to be reserved or excluded for free use
*/
$GLOBALS['smtgTagsBlacklist'] = $GLOBALS['smtgTagsBlacklist'] ?? [
'generator',
'robots'
];
/**
* In case it is set `true` then the first property that returns a valid content
* for an assigned tag will be used exclusively.
*/
$GLOBALS['smtgTagsPropertyFallbackUsage'] = $GLOBALS['smtgTagsPropertyFallbackUsage'] ?? false;
/**
* Identifies prefixes that require `meta:property:...`
*/
$GLOBALS['smtgMetaPropertyPrefixes'] = $GLOBALS['smtgMetaPropertyPrefixes'] ?? [ 'og:' ];