SystemComponent "DataspectsMediaWikiFeeder"

From FindAndLearn::Cookbook
C1317875508
Jump to: navigation, search




CanBeDeveloped Yes[edit | edit source]

docker-compose.yml[edit | edit source]

  1. Set -v /home/lex/DataspectsMediaWikiFeeder:/var/www/html/w/extensions/DataspectsMediaWikiFeeder for Docker Compose service mediawikiservice
  2. Set all services to network_mode: host

LocalSettings.php[edit | edit source]

$wgShowExceptionDetails = true;
$wgDBserver = "127.0.0.1";}} (instead of "db")
$wgMediaWikiMongoID = "";
$wgDataspectsApiKey = "aslkdjasldkjlaskdj";
$wgDataspectsApiURL = "http://127.0.0.1:3000/api/";

Testing[edit | edit source]

php tests/phpunit/phpunit.php extensions/DataspectsMediaWikiFeeder/tests/phpunit/DataspectsMediaWikiFeederTest.php