Themen / Inhalte 
   Forschungsaufgaben
   neueste Einträge
   Suche
   Power-Suche

 Wiki-Infos 
   Einleitung
   allgem. Hinweise
   Quick-Formate
   Formatierungsregeln


Multiple Wikis / InterWiki+ feature abuse

Other WikiWare+ provides means to have multiple namespaces in a wiki,
what if fact is contrary to the original Wiki idea suggesting a
single flat namespace. ewiki does not support SubWikis+ or alike, to
get multiple Wikis using one ewiki installation you'll need multiple
layout and config wrappers (each with its own absolute URL and
differen EWIKI_DB_TABLE_NAME+ or EWIKI_DBFILES_DIRECTORY+ constants).

This way you'd get two independent Wikis (with two different SQL
database tables, or flat_files directories), and of course links
between those two need a special syntax. And the best approach here
was to use the InterWiki+ linking feature.

To do so, invent to InterWikiAbbreviations+ for each of your separate
Wikis and add it to $ewiki_config["interwiki"] as follows:

  $ewiki_config["interwiki"]["main"] = "/wiki/main/?id=";
  $ewiki_config["interwiki"]["office"] = "/wiki/office/?id=";
  $ewiki_config["interwiki"]["tech"] = "http://tech.company.com/?id=";
  $ewiki_config["interwiki"]["our-www"] = "http://www.company.com/";

The last one is an example, on how to use the InterWiki+ feature to
generate references to arbitrary web documents, with a simple syntax
like "our-www:/customers/pub/rules.html+" - it's somehow standard to
use "company-url:" or "company-www:" as InterWikiAbbreviation+ for this
purpose.





  -------------------------------------------------------------------- 4 --
prev << "Multiple Wikis / InterWiki feature abuse"
next >> "Tweaking (your own wiki markup and CSS)"


You cannot modify the README file, but anyhow any ideas or suggestion should as usually get filed on BugReports, UserSuggestions or even better the README.Discussion.


Sühnekreuze & Mordsteine