From: Geoffrey T. D. <da...@us...> - 2002-01-31 05:10:31
|
Update of /cvsroot/phpwiki/phpwiki In directory usw-pr-cvs1:/tmp/cvs-serv13745 Modified Files: index.php Log Message: Read interwiki map from wiki page (InterWikiMap). The page must be locked. If map can not be read from InterWikiMap, will fall back to lib/interwiki.map. This has two advantages: o Everyone can see the map in use on the wiki. No more guessing at interwiki monikers is neede. o It's easy for the admin to edit the map. Index: index.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/index.php,v retrieving revision 1.76 retrieving revision 1.77 diff -C2 -r1.76 -r1.77 *** index.php 2002/01/29 05:04:04 1.76 --- index.php 2002/01/31 05:10:28 1.77 *************** *** 415,422 **** // InterWiki linking -- wiki-style links to other wikis on the web // ! // Intermap file for InterWikiLinks -- define other wikis there ! // Leave this undefined to disable InterWiki linking. define('INTERWIKI_MAP_FILE', "lib/interwiki.map"); - ///////////////////////////////////////////////////////////////////// --- 415,423 ---- // InterWiki linking -- wiki-style links to other wikis on the web // ! // The map will be taken from a page name InterWikiMap. ! // If that page is not found (or is not locked), or map ! // data can not be found in it, then the file specified ! // by INTERWIKI_MAP_FILE (if any) will be used. define('INTERWIKI_MAP_FILE', "lib/interwiki.map"); ///////////////////////////////////////////////////////////////////// |