Giter Club home page Giter Club logo

wikimedia-mobile's Introduction

Wikimedia Mobile

This is the new mobile project brought to you by the fine folks at Wikimedia.

The goal of the project is to give access to Wikipedia to all sorts of different mobile devices in all sorts of different languages.

The basic principal is to modify the Wikipedia pages in such a way that they are well suited to a large number of devices.

Initially, XHTML/WebKit phones are the primary target. However, work has already begun on WML devices.

Currently Supported devices:

  • iPhone

  • Android

Other targeted devices:

  • Blackberry (various versions)

  • Symbian

  • Windows Mobile

We Need You!

This is an open source project and we need lots of help, so go down a bit further to get things running.

Getting Running

1) Install Ruby 1.8 and RubyGems www.ruby-lang.org/en/downloads/

2) Install the Merb stack. wiki.merbivore.com/howto/installation/gems

3) Setup host headers for en.m.wikitest.org, *.m.wikitest.org for any language that you want to test. Honestly, anything works, but it needs to start with a language code. Point each one at 127.0.0.1 assuming you don’t have some sort of freaky setup. For instance…

127.0.0.1	en.m.wikitest.org
127.0.0.1	ja.m.wikitest.org
127.0.0.1	de.m.wikitest.org
127.0.0.1	fr.m.wikitest.org
127.0.0.1	pl.m.wikitest.org
127.0.0.1	es.m.wikitest.org

4) Install Git git-scm.com/download

5) Checkout the project with the command…

git clone git://github.com/hcatlin/wikimedia-mobile.git

6) Go into the new folder and type

merb

7) Browse to en.m.wikitest.org:4000

8) Start hacking!

What should I work on?

Just run this command…

rake todo:list

And you should get a nice list of things that are needed

How are languages used?

In the config/init.rb file, we load up all of the language settings from a file in config/wikipedias.yaml since really each language is a different Wikipedia install. Let’s look at an example entry. (May be very out of date!)

en:                                               #Language code
  main_page: "Main_Page"                          #URL to find the main page at on the wiki server
  translations:                                   # List of translations and their keys
    go: "Go"
    search_results: "Search Results"
    no_article_found: "No Article Found"
    featured_article: "Today's Featured Article"
    in_the_news: "In The News"
    random_article: "Random Article"
    copyright: "All text is available under the terms of the GNU Free Documentation License.\n Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a U.S. registered 501(c)(3) tax-deductible nonprofit charity."
  selectors:                                      # CSS3 selectors used to find things on the main pages
    article_of_the_day: "#mp-tfa"
    news_items: "#mp-itn"

Random Useful Things

People Who Have Helped!

Well, because I’m lazy and I hate versioning this kind of thing… check out Ohloh to find out who has worked on this project the most! www.ohloh.net/p/wikimedia-mobile/contributors

But seriously, this thing wouldn’t be possible at all if it weren’t for all of the amazing developers out there who have spent their free time making Wikimedia Mobile totally freaking awesome.

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.