source: branches/mbutscher/work/WikidPadHelp/data/ChangeFileSuffix.wiki @ 195

Last change on this file since 195 was 178, checked in by mbutscher, 11 years ago

2.0preAlpha (internal)

Works so far, now editing help wiki.

File size: 1.5 KB
Line 
1++ Change File Suffix
2
3*USE THIS AT YOUR OWN RISK!!!*  *USE THIS AT YOUR OWN RISK!!!*
4
5Normally the page files in the "data" directory of a "Original Gadfly" or "Original Sqlite" wiki have the suffix ".wiki". You can change this if you really need to.
6
7Currently there is no support for automatic renaming of existing page files. If necessary, a script will be published to do that.
8
9
10Ensure that you have *not* opened with WikidPad the wiki you want to modify now.
11
12To change the suffix open the file with suffix .wiki in the wiki directory (*above* the "data" directory) with a text editor. This is the configuration file of the wiki (its suffix can't be changed). In this file you will find a line:
13
14[main]
15
16Somewhere below this line, there could be a line starting with
17
18db_pagefile_suffix=
19
20If it isn't there, add it.
21
22After the equal sign there should be the suffix of the page files including the separating dot, so the default line would be:
23
24db_pagefile_suffix=.wiki
25
26
27
28    * If you e.g. want .txt files instead, use:
29
30      db_pagefile_suffix=.txt
31
32    * If you want no ending at all (not even the dot), write:
33
34      db_pagefile_suffix=
35
36      without anything after '='
37
38    * To go back to the default ".wiki" files, you can also delete the line completely
39
40
41Now you can save and close the configuration file. After that you should somehow rename the existing page files.
42Then you should be able to open the wiki in WikidPad.
43
44
45Once again:
46
47*USE THIS AT YOUR OWN RISK!!!*  *USE THIS AT YOUR OWN RISK!!!*
Note: See TracBrowser for help on using the repository browser.