|
|
mpi pluginsPlugins of the class "mpi" extend the wiki markup with html like calls to dynamic content generating functions. They were taken from the ewiki adaption of Hans B Pufal and are very similar to the plugins found in PhpWiki+. In order to use them you must first load their generic PlugInterface file using include("plugins/mpi.php"); As an exception to all other ewiki plugins, the mpi plugins are then loaded only as needed (the mpi interface takes care). You could however still load all the "mpi_*.php" scripts yourself beforehand. You can then call those plugins from the wiki markup with: <?plugin Calendar ?> There are many different plugins available (not all included with this ewiki distribution), and the allowed arguments differ widely (must all be noted inside the < > and are written in arg=value style separated by semicolon): <?plugin Insert WikiPageName+ ?> # this includes the referenced WikiPage+ in a box # into the current one, Note the ! to prevent that # WikiWord from getting rendered (before mpi sees # it) <?plugin BackLinks+ page="ForGivenPageName+" ?> <?plugin SparseTable+ columns="c1,c2,c3" c1="column 1" c2="column 2" c3="column 3" c1="#1" c2="2.0" c1="#2" c3="3.0" c2="2.5" c3="--" ?> See the distributed page "MpiPlugins" for a complete list. The API is very simple, so one could easily write a custom code block extension. (The mpi_backlinks plugin makes a nicely short example.)prev << "mpi plugins" next >> "authentication/permission plugins" You cannot modify the INTERNALS file, but anyhow any ideas or suggestion should as usually get filed on BugReports, UserSuggestions or even better the INTERNALS.Discussion. |