Code Monkey home page Code Monkey logo

scalawiki's Introduction

scalawiki

scalawiki is an experimental MediaWiki client in Scala on early stages of development.

Build Status Build status codecov.io Join the chat at https://gitter.im/intracer/scalawiki Download

Why another client library for MediaWiki?

I didn't know any Java client that supported generators (fetching properties from articles listed by list query in a single request). JWBF [only recently] (eldur/jwbf#21) got the ability to query more than 1 page at a time.

When Wikipedia sites are real Big Data it is just a show stopper. Fetching information about Wiki Loves Monuments uploads in such ineffective way will take almost a day even for one country, when could be done in several minutes otherwise in batches.

This library uses Scala Futures for easy job parallelization.

Goals

  • Fully support MediaWiki API
  • Support different backends - MediaWiki API, xml dumps, MediWiki database. Support copying data between backends (importing and exporting xml dumps to database, storing data retrived by MediaWiki API to xml dumps or database).
  • Good test coverage

scalawiki's People

Contributors

ik-wmua avatar illko avatar intracer avatar scala-steward avatar scala-steward-intracer[bot] avatar

Stargazers

 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

scalawiki's Issues

Ideas about statistics and its visualization

Description of currently generated reports

Other WLM tools:

Other Wikimedia visualizations:

D3 Visualization Gallery

rethink mwapi query DSL

Case classes for each parameter take to much space when compiled. Also not autocomleted or looked up in the code easily

Create tools database

bintray deprecated

Are there any executables can download directly?

Bintray is deprecated and I can not access it

handle errors

org.scalawiki.dto.MwException: MediaWiki Error: code: internal_api_error_DBQueryTimeoutError, info: [W10-QApAMEQAAIOVEKIAAABJ] Database query error., params: Map(gcmtitle -> Category:Images_from_Wiki_Loves_Earth_2017_in_Ukraine, format -> json, generator -> categorymembers, iiprop -> timestamp|user|size|metadata, gcmlimit -> 500, gcmnamespace -> 6, rvprop -> ids|content|timestamp|user|userid, prop -> info|revisions|imageinfo, gcmcontinue -> file|d094d095d09dd094d0a0d09ed09bd09ed093d086d0a7d09dd098d09920d09fd090d0a0d09a203133312e4a50470ad094d095d09dd094d0a0d09ed09bd09ed093d086d0a7d09dd098d09920d09fd090d0a0d09a203133312e4a5047|59413889, action -> query, continue -> gcmcontinue||)

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.