xref Plugin

xref plugin by Andreas Gohr
Allows easy linking to a PHPXref generated documentation

Last updated on 2008-10-03. Provides Syntax.
Compatible with DokuWiki 2008-05-05+.

Tagged with api, links, phpxref, xref.

This plugin makes linking to a PHPXref generated documentation easy. You can link to functions, constants, variables, classes tables and filenames. The plugin will figure out what you meant automatically. The XRef documentation needs to be available on the same server as the DokuWiki install running this plugin.

Download and Installation

Download and install the plugin using the Plugin Manager using the following URL. Refer to Plugins on how to install plugins manually.

To make this work, a patch has to be applied to PHPXref to work around a Bug. The patch is included in the plugin download or can be obtained from the linked bug page.

Changes

Usage

The syntax is similar to interwiki links. Just start your link with the xref> keyword followed by a function, constant, variable, class, table or file name.

Here are a few examples:

* A function: [[xref>wl()]]
  * A variable: [[xref>$USERINFO]]
  * A class: [[xref>auth_basic]]
  * A file: [[xref>inc/auth.php]]
  * A function with a title: [[xref>cleanID()|This is an important function]]

It looks like this:

Configuration

The plugin can be configured through the Configuration Manager. You need to specify where your Xref docs are located in the file system and how they can be accessed from the web.

 
plugin/xref.txt · Last modified: 2008/10/03 19:56 by gamma
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Imprint Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsDarcsXRefTranslate