Skip to content

Instantly share code, notes, and snippets.

@pebbie
Created July 6, 2020 17:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pebbie/18594be72004e6bb899587dc611df9c5 to your computer and use it in GitHub Desktop.
Save pebbie/18594be72004e6bb899587dc611df9c5 to your computer and use it in GitHub Desktop.

you need to execute these commands inside the quickstatements docker container (e.g. from terminal:

docker exec -it wikibase-docker_quickstatements_1 /bin/bash

) or replace the file using local file mapping in the docker-compose.yml recipe

  1. comment out the require_once line in the /var/www/html/magnustools/public_html/php/wikidata.php for example, using sed :

sed -i 's/require_once/\/\/require_once/' /var/www/html/magnustools/public_html/php/wikidata.php

  1. replace 'api.php' into 'oob' in /var/www/html/quickstatements/public_html/api.php :

sed -i 's/api.php/oob/' /var/www/html/quickstatements/public_html/api.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment