Mediawiki/Cargo

Cargo is an alternative to Semantic MediaWiki which relies more strongly on infoboxes pushed to the side of an article, rather than being the primary page.

Installation

Cargo

mediawikiwiki:Extension:Cargo/Download_and_installation

Make sure to create a separate database and user for Cargo (but can use the same instance), which can help isolate bugs in cargo from affecting the integrity or security of the entire MediaWiki database.

Page Forms

Page Forms are used to make it easy for editors to add semantic data, and perhaps even automatic infoboxes. This is a crucial component of any semantic database system.

mediawikiwiki:Extension:Page_Forms/Download_and_installation

Usage

MediaWiki/Editing/Advanced#Cargo (Semantic_Infoboxes)

Troubleshooting

Exception from line 92 of /var/www/mediawiki/includes/jobqueue/JobQueueRedis.php: Non-daemonized mode is no longer supported. Please install the mediawiki/services/jobrunner service and update $wgJobTypeConf as needed.

If you encounter a job queue version with Cargo (enable all the below in LocalSettings.php)

$wgShowExceptionDetails = true;
$wgShowSQLErrors = true;
$wgDebugDumpSql  = true;
$wgShowDBErrorBacktrace = true;

Just add daemonized = true to the Job Queue config.

$wgJobTypeConf['default'] = [
        'class'       => 'JobQueueRedis',
        'redisServer' => "127.0.0.1",
        'redisConfig' => [
                'connectTimeout' => 1
        ],
        'daemonized' => true

];

https://www.mediawiki.org/wiki/Topic:Ss9ues5n7gtctppm