-
Notifications
You must be signed in to change notification settings - Fork 15
/
config.example.ini
53 lines (41 loc) · 1.26 KB
/
config.example.ini
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
[INTERNAL_LINKS]
FORMATTED_URL = "<a href='http://localhost/wiki/index.php?<?php if($namespace != ''){?>namespace=<?php echo $namespace;?>&<?php }?>document_id=<?php echo $url;?>' target='_blank'><?php echo $title;?></a>"
[EXTERNAL_LINKS]
FORMATTED_URL = "<a href='<?php echo $url;?>' target='_blank'><?php echo $title;?></a>"
[SIMPLE_VARIABLES]
CURRENTMONTH = "return date('m');"
CURRENTMONTHNAMEGEN = "return date('F');"
CURRENTMONTHNAME = "return date('F');"
CURRENTDAY = "return date('d');"
CURRENTDAYNAME = "return date('l');"
CURRENTYEAR = "return date('Y');"
CURRENTTIME = "return date('H:i');"
SITENAME = "return $_SERVER['HTTP_HOST'];"
NUMBEROFARTICLES = "return 0;"
PAGENAME = "return 'PAGE_NAME';"
NAMESPACE = "return 'None';"
[ParsingLevel]
preParsing = file
postParsing = file
startOfFile = file
endOfFile = file
startOfLine = line
endOfLine = line
[ParsingSectionOrder]
0 = preParsing
1 = startOfFile
2 = startOfLine
3 = endOfLine
4 = endOfFile
5 = postParsing
[preParsing]
[postParsing]
[startOfFile]
[endOfFile]
[startOfLine]
;Sections Have to be parsed before internal links
-2 = section
;Internal Links Must Be Parsed Before External
-1 = internallink
;0 = externallink
[endOfLine]