PmWikiZhCnUtf8 / CustomInterMap |
SearchWiki PmWikiZhCnUtf8.最近改变 编辑页面 页面修正 |
intermap.txt
in the scripts directory specifies the default InterMap links that are distributed with PmWiki. Each line of intermap.txt
has the following format:
HostPrefix http://www.somehost.com/partial/url/For example,
intermap.txt
has the following entries:
PmWiki http://www.pmichaud.com/wiki/PmWiki/ Wiki http://c2.com/cgi/wiki? Meatball http://www.usemod.com/cgi-bin/mb.pl? UseMod http://www.usemod.com/cgi-bin/wiki.pl? ISBN http://www.amazon.com/exec/obidos/ASIN/ Wikipedia http://www.wikipedia.com/wiki/To create your own InterMap links, do not edit the
intermap.txt
file directly! (You'll lose your changes when you do a PmWiki.Upgrade.) Instead, create a file called localmap.txt
in the local/
subdirectory containing your InterMap links in the format described above. PmWiki will automatically read your links after loading the intermap.txt
entries.
这个页面讲解一个WikiAdministrator(Wiki管理员)如何创建一个附加的InterMap的链接。
在scripts文件夹下的intermap.txt
文件指定了一些默认随PmWiki一起发布的InterMap链接 intermap.txt
文件的每一行是如下的格式:
HostPrefix http://www.somehost.com/partial/url/例如:
intermap.txt
文件中有如下的一些设定:
PmWiki http://www.pmichaud.com/wiki/PmWiki/ Wiki http://c2.com/cgi/wiki? Meatball http://www.usemod.com/cgi-bin/mb.pl? UseMod http://www.usemod.com/cgi-bin/wiki.pl? ISBN http://www.amazon.com/exec/obidos/ASIN/ Wikipedia http://www.wikipedia.com/wiki/如果你希望创建自已的InterMap链接,不要直接去编辑
intermap.txt
!!(那样如果你升级你的PmWiki(upgrades)时,修改就会丢失)。你可在local/
文件夹中创建一个localmap.txt
文件来包含你的InterMap链接。PmWiki在加载intermap.txt
后会自动读取你的链接.
Trans. By LongWoSion
<< PerGroupCustomizations? | PmWikiZhCnUtf8.DocumentationIndex | PasswordsAdmin >>