|
Home - News - Events - Courses - Jobs - Directory -Symbols - Newsletters - Partnership Board - Links - Contact Us |
|||
Wiki Plugin |
|||
The latest hacks include support for WikiPlugins.
WikiPlugins allow one to easily add new types of dynamic content (as well as other functionality) to wiki pages within Php Wiki. In this very wiki, the Recent Changes, Back Links, Like Pages and Debug Info pages are all implemented using plugins. I expect that the search result pages, as well as much Php Wiki Administration will soon be implemented via plugins as well. (I think the oh-so-ugly Magic Php Wiki UR Ls can be replaced by plugins, too.)
Currently, one invokes a plugin by putting something like:
<?plugin BackLinks?>
into a regular wiki-page. That particular example produces as list of pages which link to the current page. Here it is:
(This is great for Category and Topic pages. You can use this to get an automatic in-line listing of pages in the Category or Topic.)
(This is all subject to change.)
Plugins can take certain named arguments (most do). The values of these arguments can be determined four different ways. In order of precedence:
: <?plugin BackLinks page=OtherPage ?>
: <?plugin BackLinks page ?>
: <?plugin BackLinks page||=OtherPage ?>
the current page as the default value for the page argument.
|
Through the Maze Information Service |