Extension:Dbtable2wikitable
From MediaWiki.org
|
dbtable2wikitable Release status: beta |
|
|---|---|
| [[Image:[1]|px]] | |
| Implementation | User interface, Special page |
| Description | Generates a wiki table by querying any database table. Currently only supports MySQL. |
| Last version | 0.3 |
| MediaWiki | 1.15.3 (only version tested and found working with) |
| PHP | 5.2.13 (only version tested and found working with) |
| License | MIT License |
| Download | [2] |
| Example | Working sample on SICSRWiki |
|
Check usage (experimental) |
|
Contents |
[edit] What can this extension do?
It allows you to query any database and generates a wikitext table from the result. Currently only MySQL tables are supported.
[edit] Usage
This can be used to pull data from your databases.
We used it on SICSRWIKI to bring info about food joints which was lying in an old archived Intranet portal.[3]. In fact that was the inspiration for writing this extension!
[edit] Download instructions
Please cut and paste the code found below and place it in $IP/extensions/ExtensionName/ExtensionName.php. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.
[edit] Installation
To install this extension, add the following to LocalSettings.php:
require_once("$IP/extensions/MyExtension/MyExtension.php");
