MediaWiki-Docker/Extension/MediaSearch

Requirements

 * 1) Docker
 * 2) Docker Compose
 * 3) A gerrit account and properly configured git

Instructions

 * 1) Clone Mediawiki Core
 * 2) Create a new file called   in the root of the repository and copy the contents of this gist into it.
 * 3) Follow the instructions in DEVELOPERS.md under "Start environment and install MediaWiki" to get Docker running
 * 4) Create a new file called   in the root of the repository and copy the contents of this gist into it. Run   to make the file executable.
 * 5) Run   in the root of the repository. This will take a little while.
 * 6) Visit http://localhost:8080/w/index.php?title=Special:NewMediaSearch and start searching production Commons content. Production Wikidata will be used for autocomplete suggestions. This is enabled by the   config variable in.

To enable local search/autocomplete suggestions, you will need a working WikibaseMediaInfo setup and a local Wikidata instance.