Git Product home page Git Product logo

mw-tool-tourbot's Introduction

Build Status

mw-tool-tourbot

Usage

screen shot

screen shot

screen shot

Quick start

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.

Options

  • --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 the all iteration to pages that currently contain a particular phrase. This is especially useful when multiple people are working on the same list.
  • --matches - Like contains, but interpreted as a regular expression.

Public results.

Example

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...

Development

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.

See also

mw-tool-tourbot's People

Contributors

krinkle avatar

Watchers

Alex Monk avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.