Hay's wiki tools
Source code for all of my wiki tools
Running it
- Create a
config.php
file (useconfig-sample.php
as an example) in thelib
directory. - Do a
composer install
in the lib/ directory. For this you need Composer. - Do a
bower init
in the root directory - Some tools (like VizQuery) need a
npm install
in their root as well. VizQuery also needs a 'npm run build' to build the bundle.
Remarks
- To generate the
props.html
file that is used in the Wikidata Property browser, either:- Run the
get-wikidata-props.py
script located inetc/wikidata-props
- Or if you're lazy simply download it from the live site: http://tools.wmflabs.org/hay/propbrowse/props.html
- Run the
License
All code is licensed under the terms of the MIT / X11 license.
Credits
Some of this stuff was written for my work as Wikipedian in Residence at the Dutch National Library and National Archive.