Extension:OutlinePhpClass

MediaWiki extensions manual
OOjs UI icon advanced.svg
OutlinePhpClass
Release status: unmaintained
Implementation Parser function
Description Outlines a php class (displays class signature).
Author(s) Eugen Wesselohtalk
Latest version 0.0.1 (2014-06-05)
MediaWiki 1.23+
PHP 5.3+
Database changes No
License GPL
Download
README
  • $opcWhitelist
  • $opcBlacklist
Check usage and version matrix.

The OutlinePhpClass extension displays an outline of a php class.

InstallationEdit

  • Download and place the file(s) in a directory called OutlinePhpClass in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/OutlinePhpClass/OutlinePhpClass.php";
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Clone the repository using:

git clone https://github.com/codexp/OutlinePhpClass.git

Configuration parametersEdit

$opcWhitelist
mandatory Array of absolute paths or files to be allowed for reading by this extension.
$opcBlacklist
optional Array of absolute paths or files to be blocked for reading by this extension.
Either, in blacklist or whitelist, expanders like * or ? do not work!

UsageEdit

You can place a special function call like this:

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