PluginManager
PhpWiki lets you extend it with new functionality via a plugin
mechanism. In short, you extend a PHP class we provide and customize
it to print out the content you want. For more information see
Help:WikiPlugin,
Help:HelloWorldPlugin, and view the source of the files in
lib/plugin.
If there is no example page for the plugin, or you need more information, the best place to go is the source of the plugin. Under your wiki's root directory, the folder lib/plugin contains all the PHP files for the plugins.
External Requirements
Some plugins require correctly configured PLUGIN_CACHED and external libraries not provided with PhpWiki or PHP, such as
PHP with GD support for the
Help:text2pngPlugin,
LaTeX2HTML for the
Help:TexToPngPlugin and
Help:TeX2pngPlugin,
graphviz for the
Help:GraphVizPlugin and
Help:VisualWikiPlugin,
ploticus for the
Help:PloticusPlugin,
phpweather for the
Help:PhpWeatherPlugin,
highlight for the
Help:SyntaxHighlighterPlugin,- a browser with
<iframe> support for the
Help:TranscludePlugin, - USE_DB_SESSION = true (default for the peardb, adodb or dba backends) for the
Help:WhoIsOnline plugin, - --with-xml support (with expat or libxml2) for the
Help:RssFeedPlugin (ProjectSummary, RecentReleases) and HtmlParser support (ImportHtml, HtmlAreaEditing), - PHP Mail functionality (php.ini: SMTP + sendmail_from on Windows or sendmail_path) for email
PhpWiki:PageChangeNotifications and ModeratedPage's, - a
Google license key for the
Help:GooglePlugin, - optionally an external recommender engine (none yet, php only so far) and the wikilens theme for the RateIt plugin,
- optionally apache/mod_log_{my}sql for fast, external log analysis if ACCESS_LOG_SQL=1 (Referer, Abuse Prevention).
See lib/Request.php and
http://www.outoforder.cc/projects/apache/mod_log_sql/



