close
The Wayback Machine - https://web.archive.org/web/20160131073324/https://github.com/wikimedia/WikipediaMobile
Skip to content
Wikipedia on Mobile (PhoneGap)
Objective-C JavaScript Java CSS C++ C# Other
Failed to load latest commit information.
Image CordovaLib Upgrade Cordova for iOS from 1.7 to 2.2
Image FacebookSDK.framework Upgrade Cordova for iOS from 1.7 to 2.2
Image Wikipedia-iOS.xcodeproj add icon-72@2x.png to iOS project
Image Wikipedia-iOS iOS: use bundle version in user-agent rather than hardcoding
Image WikipediaMetro Trim win8 language list to supported by store
Image WinPhone7 Updates for Windows Phone 7 project
Image assets/www Localisation updates from https://translatewiki.net.
Image blackberry Bump version number for WebWorks/PlayBook
Image cordova Upgrade Cordova for iOS from 1.7 to 2.2
Image deprecated initial migration attempt
Image doc Add Android Share plugin for PhoneGap -- lets us send little messages…
Image libs Migrate Android to PhoneGap 2.1
Image res Got rid of the CacheMode plugin
Image scratch Add SVG version of logo by Heather Walls (yay)
Image scripts Generate English version of Android strings too
Image src Got rid of the CacheMode plugin
Image tests/qunit Add stub .properties file parser/reader, QUnit tests for it.
Image .classpath Migrate Android to PhoneGap 2.1
Image .gitignore Add back generated values-<lang> files
Image .gitmodules Added MFE as a Submodule
Image .project shell project
Image AndroidManifest.xml Bumped version number and updated CHANGELOG
Image CHANGELOG.md Update CHANGELOG
Image COPYING Added COPYING file with GPLv2
Image CREDITS Added Rolken to AUTHORS
Image Makefile Add of a python script that create res/values files from app i18n in …
Image README.md s/ i /I/
Image STYLE_GUIDELINES Update style guidelines
Image add-keys.bash Removed Share to Read It Later from iOS App
Image build.xml fix regression: missing version, fontsize in settings
Image proguard.cfg shell project
Image project.properties Removed dependency on Google APIs

README.md

Wikipedia Mobile

Getting started

  1. Setup your development environment
  2. Setup the project
  3. Run git submodule update --init to grab our submodule dependencies (MobileFrontend)

Environment setup

  1. Follow Steps 1 & 2 from the instructions found on the PhoneGap.com Getting Started Page to get all the necessary software for contributing to this project.

Checking out the source code

  1. Create your own fork of the repository.
  2. Clone your fork onto your computer.

Setting up the project

in web browser

You can run the app within your desktop browser under certain situations. Safari works out of the box. You can also use Google Chrome by passing it the --disable-web-security flag. Navigate to index.html to start the app.

Note: Running in the web browser is currently not a supported environment. Things might break

without Eclipse

Highly useful tutorial: http://www.mediawiki.org/wiki/Mobile/PhoneGap/Tutorial#Setup

with Eclipse

  1. In Eclipse choose to import a project by going to File (in the menu bar) -> Import.
  2. Select General -> Existing Projects into Workspace
  3. Choose Select Root Directory radio button and then click the Browse button next to the right.
  4. Navigate to the directory where you cloned the source code and then click the Open button on the bottom of the dialog.
  5. Click the Finish button.

The project should now be setup in Eclipse.

ANT configuration

Make sure to modify the sdk.dir variable in the local.properties file so that it points to the location where the android sdk is installed on your computer.

Building for BlackBerry PlayBook

  • Grab the SDK
  • Update the project.properties in the blackberry folder, you will need signing keys to load onto a device
  • run: ant playbook load-device

FAQ

Q. I can't seem to find PhoneGap 1.4.1! Where can I download it?

A: https://nodeload.github.com/phonegap/phonegap/zipball/1.4.1

Q: Where do I file bugs or feature requests?

A: Please use the Wikimedia Bugzilla tracker

Contributing

Please ensure you read STYLE_GUIDELINES before making any contribution to this project!

Translation, Localization, Internationalization (l10n / i18n)

New and updated messages should be contributed at translatewiki.net/wiki/Translating:WikipediaMobile. (and not submitted as pull requests)

Something went wrong with that request. Please try again.