codexp / OutlinePhpClass

MediaWiki extension to display php class definition

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OutlinePhpClass

The OutlinePhpClass MediaWiki extension, outlines a php class (displays signature of the class only).

Installation

Clone or download OutlinePhpClass code and place it inside your MediaWiki extensions directory.

Then simply include the entry point in your LocalSettings.php file:

require_once( "$IP/extensions/OutlinePhpClass/OutlinePhpClass.php" );

Configuration

Mandatory: Array of absolute paths or files to be allowed for reading by this extension.

$opcWhitelist

Optional: Array of absolute paths or files to be blocked for reading by this extension.

$opcBlacklist

Note: Either, in blacklist or whitelist, expanders like * or ? do not work!

Usage

You can place a special function call like this:

{{#OutlinePhpClass:/whitelisted/phpsource/path/file.php}}

that's it!

Authors

OutlinePhpClass has been written by Eugen Wesseloh.

Release notes

Version 0.0.1 (16.06.2014)

  • first release

About

MediaWiki extension to display php class definition


Languages

Language:PHP 100.0%