How to automatically create Crosslinks for use in e.g. a glossary?
This script takes the titles of all files in a specific group and saves them together with the filename in a file called ".autolink-<groupname>" in the wiki.d directory. This file is dynamically created as soon a file in the group is deleted or changed, the corresponding information is changed also. This file is saved in a compressed format.
The first call will create a new file. Thus the loading time of the page for the initial creation of that file might be a little bit longer (up to some seconds), depends on the amount of files within the group though.
By default all titles which are shorter than two characters are ignored. This is controlled by the variable
The effect the user can see is that the wikipage contains some links that are not marked as links in the wikitext source. E.g the text "Start Page" is converted to e.g. Start Page automatically.
Activation of automatic links is currently only possible in the config files. I suggest to only activate it for the desired group. See GroupCustomizations for details.
Insert the following line:
where the string
See discussion at AutomaticLinks-Talk