This page was written by a novice and should be checked by an expert. Use at your own risk.

Plugin Page (PluginPage)

This plugin checks what page you are on, and if it matches to the passed-in parameter, the data portion is displayed on the wiki page.


The PAGE plugin usage is:

{PAGE(page=pagename) /}data{PAGE}


{PAGE(page=Guard)}{REDIRECT(page=Home) /}{PAGE}

Explanation of above Example:
The PAGE plugin tests if the user is on wiki page named "Guard"; if so, the user is redirected to the Home page.

Actual code from the plugin (lib/wiki-plugins/wikiplugin_page.php):

function wikiplugin_page($data, $params) {
        global $page;
        if ($page == $params['page']) {
                return $data;


Plugin Manager error: page plugin not found

Related pages