The OutlinePhpClass MediaWiki extension, outlines a php class (displays signature of the class only).
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" );
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!
You can place a special function call like this:
{{#OutlinePhpClass:/whitelisted/phpsource/path/file.php}}
that's it!
OutlinePhpClass has been written by Eugen Wesseloh.
- first release