Giter Club home page Giter Club logo

wmf-sitematrix's Introduction

WMF SiteMatrix

The goal of this project is to provide filtered versions of Wikimedia's site matrix, as reported by the MediaWiki API in JSON format. Filtering allows Web applications like iD to avoid loading the entire matrix just to integrate with a single project, such as Wikipedia.

The data/ directory contains a prettified JSON file and a minified JSON file for each Wikimedia project. The all.json and all.min.json files include all the Wikimedia wikis, including not only the projects that have their own JSON files but also multilingual and special wikis.

To update the JSON files, run make.

Running on toolforge

To run on toolforge log into the tool accounnt:

ssh [email protected]
myuser@tools-sgebastion-10:$ become wmf-sitematrix
wmf-sitematrix@tools-sgebastion-10:$

Start a build to pick up the new code

wmf-sitematrix@tools-sgebastion-10:$ toolforge build start https://github.com/osmlab/wmf-sitematrix
... takes a minute

Start/restart the webservice mounting the NFS:

wmf-sitematrix@tools-sgebastion-10:$ toolforge webservice buildservice --mount=all restart

And create the job if it's not there to update public_html/data/*json:

wmf-sitematrix@tools-sgebastion-10:$ toolforge jobs run \
    --schedule '0 0 */15 * *' \
    --filelog \
    --mount=all \
    --image tool-wmf-sitematrix/tool-wmf-sitematrix:latest \
    --command 'update' \
    cron-tools.wmf-sitematrix-1

Or restart it if it exists and you want to run it right away:

wmf-sitematrix@tools-sgebastion-10:$ toolforge jobs restart cron-tools.wmf-sitematrix-1

Otherwise the next run will pull the new code.

wmf-sitematrix's People

Contributors

1ec5 avatar bhousel avatar david-caro avatar dependabot[bot] avatar tmcw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wmf-sitematrix's Issues

WMF-Labs

Is this available as a static service at wmflabs.org? It would be really useful to have, if not is it okey that I publish it there?

Missing LICENSE file

There is no LICENSE file in this repository indicating which license it is under. Will you please indicate which license it is under and add a LICENSE file?

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.