Installing Aqueduct requires Mediawiki 1.14.0 or higher. Semantic Mediawiki is not required.
1. Install Mediawiki and verify that it works
2. Due to a Mediawiki bug (at least in 1.15.1), you need to modify a line in the Mediawiki source code. Load /path/to/wiki/includes/api/ApiFormatJson_json.php . On or around line 818, locate the following line:
if (class_exists('pear')) {
Change it to:
if (FALSE) {
Failure to do this will cause extremely slow Mediawiki performance or timeouts when using the widgets or making API calls.
3. Place the AqueductExtension folder in the extensions folder of your Mediawiki installation -- for example, /var/www/wiki/extensions/AqueductExtension. Note that the default location relative to Mediawiki must be used -- a directory called "extensions" must be in your mediawiki directory, and the AqueductExtension directory must be inside "extensions".
4. Enable the extension by placing the following line at the bottom of your LocalSettings.php file: require_once( 'extensions/AqueductExtension/AqueductExtension.php' );
5. There is a file called AqueductSQLTbl.sql in the AqueductExtension directory. Run this file against your wiki's MySQL database to generate the database tables.
Aqueduct is now ready to configure. At this point, your wiki should be functional with no errors or unexpected behavior.
Misconfigurations can result in Aqueduct crashing and "Segmentation fault" appearing in your apache log file. Widgets failing with "Error 200" are another symptom of this problem. ("Error 200" often means that Apache crashed while performing the query, and the Segmentation Fault can be seen in the Apache log file.)
If you are seeing segmentation faults, try the following troubleshooting steps: