Install the npm package:
npm install -g mw-tool-tourbot
To start the interactive process, run the tourbot
program.
Pass parameters like tourbot --file path/to/results.txt
.
--file results.txt
- File containing pairs of (wiki dbname, page name) in mwgrep output format.--all
- Iterate over all page names, even if no tourbot patterns match on this page. Set this to use tourbot as a convenient way to create urls for each result and open them in a web browser.--contains
- Limit theall
iteration to pages that currently contain a particular phrase. This is especially useful when multiple people are working on the same list.--matches
- Likecontains
, but interpreted as a regular expression.
curl -O -L 'https://gist.github.com/Krinkle/a18e726fc3af30f30bf9b2ba919820b5/raw/mwgrep.mwCustomEditButtons.txt'
tourbot -f mwgrep.mwCustomEditButtons.txt -a -c 'mwCustomEditButtons'
Reading /Users/krinkle/Downloads/mwgrep.mwCustomEditButtons.txt
MediaWiki:Editpage.js (ab.wikipedia.org)
Open in browser? (yes/no) y
Opening https://ab.wikipedia.org/wiki/MediaWiki:Editpage.js...
Install from Git:
git clone https://github.com/Krinkle/mw-tool-tourbot.git
Manually run npm install
. To start the interactive process, run ./bin/tourbot.js
.
Pass parameters like ./bin/tourbot.js -- --file path/to/results.txt
.
Alternatively, run npm link
to create a global symlink for tourbot
.