Wikimedia engineering February 2012 report

Translate This Post

Major news in February includes:

  • The difficult deployment of our Swift infrastructure to serve image thumbnails
  • Continued success for our Wikipedia Android app
  • The deployment of MediaWiki 1.19 to all Wikimedia sites except for most Wikipedia languages
  • Continued preparation for our move from Subversion to git

Hover your mouse over the green question marks ([?]) to see the description of a particular project.

Engineering metrics in February:

Events

Recent events

  • Pune hackathon (10–12 February 2012, Pune, India) — A few dozen participants came to this three-day developer outreach event cohosted with GNUnify. Participants focused on language support (internationalization and localization) and mobile applications. Some new translations were created and the Wikimedia Mobile team received improvements to the Wikipedia Android app.
  • GLAMcamp DC (10–12 February 2012, Washington, D.C., USA) — A Wikipedia citation tool was developed as a web browser extension that allows users to obtain a citation from any online MARC library catalog, and in that specific language version of Wikipedia. A mass upload script was also written for importing the images and metadata of the Walters Art Museum. The results of the test run can be seen on Commons. The full collection (~20,000 images) will be uploaded in March (see documentation).

Upcoming events

  • Chennai Hackathon March 2012 (17 March 2012, Chennai, India) — Yuvaraj Pandian and volunteer Srikanthlogic are hosting this one-day hackathon for experienced developers. Volunteers can work with the MediaWiki API and other Wikimedia technologies and show off their accomplishments.
  • Berlin hackathon (1–3 June 2012, Berlin, Germany) — Wikimedia Germany is hosting this three-day “inreach” hackathon for the Wikimedia technical community, including MediaWiki developers, Toolserver users, bot writers and maintainers, Gadget creators, and other Wikimedia technologists. The event will mostly involve focused sprints, bugbashing, and other coding, with a few focused tutorials and trainings on Git, Lua, Gadgets changes, or other topics of interest. Wikimedia Germany will also use this event to consult on and discuss the Wikidata structured data project. Wikimedia developers will soon get more information on travel sponsorships.

Personnel

Work with us

Are you looking to work for Wikimedia? We have a lot of hiring coming up, and we really love talking to active community members about these roles.

New hires

Operations

Site infrastructure

  • Ashburn data center [?]Mark Bergsma and Peter Youngmeister completed the setup and deployment of a new Squid-based caching infrastructure for text.wikimedia.org and api.wikimedia.org. Mark also added capacity and redundancy for bits.wikimedia.org. Leslie Carr upgraded and migrated ganglia.wikimedia.org out of the Tampa data center.
  • Tampa data center [?] — The team completed a work plan on the search infrastructure, which includes short, medium and longer term fixes. Short term fixes (mainly consisting of configuration tweaking and moving data around) were implemented and brought back some stability. Medium term fixes involve puppetizing the current configuration, upgrading some of the components and building new infrastructure in the Ashburn data center. We also supported the deployment of MediaWiki 1.19, and the associated database schema changes. Last, new database servers were added to the core clusters, to address capacity and performance requirements, and to retire some of the older servers.
  • Media Storage [?] — February saw Swift deployed to production to serve thumbnail requests. A few bugs were fixed, but one was serious enough to decide to revert the deployment and fall back to the legacy thumbnail infrastructure. Once the issue is fixed and Swift serves thumbnails again, the next steps will involve documentation and maintenance procedures, creating a mirror cluster in Ashburn, setting up Swift in Wikimedia Labs, and handling original media (not just thumbnails) with Swift.

Testing environment

  • Wikimedia Labs [?] — The gluster project storage has been racked, installed, and has had glusterd installed and peered in a cluster. Work is ongoing to automount the storage to instances automatically. We switched the scheduler used for compute nodes to choose the compute host that has the least number of instances, rather than picking a random host (Simple scheduler). Ryan Lane gave a talk at FOSDEM on Labs entitled Infrastructure as an open-source project, with a good turnout of about 500 people. Sara Smollett replaced the libnss-ldap LDAP library with libnss-ldapd, to fix a bug when using TLS/SSL. Andrew Bogott has spent a long time working on adding gluster control to OpenStack, but has hit some technical issues; he’s now working on fixing OpenStack’s Unicode support.

Backups and data archives

  • Data Dumps [?] — We now have a copy of all dumps on a secondary host in another data center. We’ve been working with two organizations on full mirrors of the dumps, sorting out performance issues before they can go live. Christian Aistleitner has started to work on a test framework for the dumps. We’ve made contact with the Internet Archive, and we’re working on scripts using the S3 API to push our historical dump archives to their servers. We’re also checking that dumps are generated correctly after the deployment of MediaWiki 1.19.

Other news

  • Domain names — The Wikimedia Foundation has started to move its domain names from GoDaddy to MarkMonitor (announcement).
  • Squid issue — An issue with Swift thumbnails led to an accidental restart of all Squid servers, which took longer than expected and caused site issues.
  • DDoS attackDomas Mituzas noticed a distributed denial of service attack on February 27th. It involved flooding our Squid cache servers by POSTing 1MB files to the root directory. Mark Bergsma blocked the requests. The incident lasted for about 10 minutes and some Wikipedia users experienced slow response or timed-outs.

Features Engineering

Editing tools

  • Visual editor [?]Trevor Parscal did research on cursor interaction and selection rendering for RTL (right-to-left) and support for line breaks in PRE elements. Gabriel Wicke improved template expansion and parser function support, investigated Microdata and RDFa for WikiText-in-HTML-DOM embedding and added rough support for images and other files. Rob Moen committed a working Editable Surface IME prototype (bidirectional text not fully supported). Audrey Tang joined the team and worked on the sanitizer and the testing process.
  • Internationalization and localization tools [?] — The team is currently in the middle of a Translate extension sprint. They added new translation admin features, and are trying to get translation memory (TMX) ready for deployment to Wikimedia sites. Santhosh Thottingal used the sfntly library to compress some WebFonts even more. The team also deployed WebFonts on the English Wikisource.

Participation and editor engagement

  • Article feedback [?]Fabrice Florin is working with our development partner OmniTi on version 5 of this tool, with the help of community liaison Oliver Keyes and analyst Dario Taraborelli. This month, the team created a new feedback page, with special features to be tested with oversighters and rollbackers in early March. Roan Kattouw has completed code review for compatibility with 1.19 and will deploy a new release on March 8, as well as a new working test environment in coming weeks. Final reports for phase 1 of this project will be published in early March.
  • Article Creation Workflow [?] — Copy updates have been finalized and updated. All outstanding items have been resolved including testing current code against MediaWiki 1.19. The screenshots of the landing system are a little larger than the finalized version: there are no embedded login/registration form, nor tooltips for mouse-over. The wizard and several of its options have been prototyped on Wikimedia Labs.

Multimedia Tools

MediaWiki infrastructure

Feature support

  • Wikipedia Education Program [?]Jeroen De Dauw implemented a lot of new features, including ambassador profiles, personalized course listing for students, instructors and ambassadors, and article listing for students.

Mobile

  • Wikipedia Mobile App [?] — In February, the Wikipedia Android app crossed over 1.8 million device installs. This is incredible growth as the app has been in the Android Market for just under two months. Yuvaraj Pandian announced a new beta version of both the Android app and the newly re-written iOS app. The re-written iOS version builds on our PhoneGap code base, and will allow us to deprecate our old objective C code. New features include: OSM integration, quick search integration, URL intents, search enhancements, bug fixes, better developer attribution, and more.
  • Wikipedia ZeroPatrick Reilly continued work on our zero-rated MediaWiki extension. He spent the month cleaning up issues reported by our partners and prepped the extension for more scheduled partner testing in March.
  • Wikipedia over SMS/USSDPatrick Reilly, along with the PraeKelt Foundation, presented a demo instance of a SMS/USSD gateway to access Wikipedia at Mobile World Congress.
  • GPS Storage/RetrievalMax Semenik has completed the first iteration of the GeoData extension and deployed it to a prototype wiki on Labs. Further work will happen when we have an app to use its data to figure out what else needs to be done.
  • Photo UploadsPhilip Chang started definition of Photo Upload as two workflows, Basic and Advanced. Basic is modeled after the current Upload Wizard as the basis of a mobile-friendly workflow, and Advanced uses a Wikipedia article (or other site content) as the starting point and incorporates game dynamics.
  • Wiktionary app — The UCOSP project moved into a feature freeze for the time being for a nice relaxing reading break. Currently the team is targeting bugs, cleaning things up and improving usability in the v0.1 Alpha release. Check their to-do list for the next steps.

Special projects

Fundraising support

  • 2012 Wikimedia fundraiser [?] — Adding support for recurring GlobalCollect donations was the primary engineering focus in February, with work on this functionality carrying over into March. Several deployments were made to the payments cluster to better our form localization in several countries in Africa. A subset of those forms were used in a week-long banner and landing page test that also ran in February. A great deal of effort was expended in February in the name of building out the team by two more people; The search for new fundraising engineers is ongoing.

Offline

  • Kiwix UX initiative — The Kiwix project released a new version of Kiwix for Sugar in February. Work continues on the next major release of Kiwix for all platforms.

Platform Engineering

MediaWiki Core

  • MediaWiki 1.19 [?] — In February, MediaWiki 1.19 was gradually deployed to Wikimedia sites. Stages 1 through 4 of the deployment schedule have been completed; all sister projects, and a few Wikipedia wikis, are now running MediaWiki 1.19. Many new features and bug fixes brought by MediaWiki 1.19 are back-end, behind-the-scenes changes, for example infrastructure work to support our ongoing move to Swift as our media storage platform. There are also more visible improvements, like better diff readability for colorblind people, and better support of the user’s gender and language in the interface. A list of all changes is available in the draft release notes.
  • Continuous integration [?] — The focus for February has been around integration with Git and Gerrit (bug 34141). Various Ant configurations were merged into a single Ant configuration, reducing duplication and opportunity for breakage. Also new in February is that the tests have been broken up into three suites: dbless, db, and parser. Only dbless tests (which run quickly) will block a commit. Work on CI slowed down due to Antoine being pulled into 1.19 bugfixing.

Wikimedia analytics

Technical Liaison; Developer Relations

  • Bug management [?]Mark Hershberger has been using the 1.19 deployment cycle to work with on-wiki editors to find and fix bugs as the deployment cycle goes on. Through the connections that he makes, he hopes to use these relationships during future deployments to make them smoother.
  • Summer of Code 2011 [?] — After contact from Sumana Harihareswara, GSoC students Kevin Brown and Akshay Agarwal have returned to their projects, working towards the goal of getting them deployed and in use on Wikimedia wikis.
  • Summer of Code 2012 [?] — MediaWiki aims to participate in Google Summer of Code 2012. Sumana Harihareswara, as MediaWiki’s organizational administrator, improved the Summer of Code 2012 page, added project ideas, and communicated with prospective mentors and students to flesh out project ideas and help students learn.
  • Engineering project documentation [?]Guillaume Paumier performed perennial maintenance on project pages and the Roadmap, and put together this report.
  • Volunteer coordination and outreach [?] — Sumana Harihareswara continued to follow up on contacts and recruit new contributors to the Wikimedia tech community (especially for commit and patch review), and mentor new contributors. Sumana also prepared for the June Berlin hackathon and the Wikimania hackathon in July and recruited participants for upcoming events. 13 contributors got commit access.
  • Wikimedia blog maintenance [?]Rob Halsell upgraded the WordPress code and third-party plugins to their latest version, and started to set up a test instance in Wikimedia Labs. The recent improvements to the theme and new features in the WMBlog plugin are awaiting deployment to the production site. In the meantime, Guillaume Paumier has started to rewrite the theme’s layout so it can be centered.

Future

The engineering management team continues to update the Software deployments page weekly, providing up-to-date information on the upcoming deployments to Wikimedia sites, as well as the engineering roadmap, listing ongoing and future Wikimedia engineering efforts.


This article was written collaboratively by Wikimedia engineers and managers. See revision history and associated status pages. A wiki version is also available.


This article was edited on December 1st, 2012. The following content was changed: the number of processed shell requests was corrected.

Archive notice: This is an archived post from blog.wikimedia.org, which operated under different editorial and content guidelines than Diff.

Can you help us translate this article?

In order for this article to reach as many people as possible we would like your help. Can you translate this article to get the message out?

5 Comments
Inline Feedbacks
View all comments

[…] spokesman told me a month ago that they were still working on the shift. And buried deep within yesterday’s post on the technology blog of Wikipedia’s parent organization is this one line: “The […]

[…] Wikipedia has started to remove its domains from Go Daddy’s service. The news was slipped into a February engineering report: Domain names — The Wikimedia Foundation has started to move its domain names from GoDaddy to […]

[…] has started to remove its domains from Go Daddy’s service. The news was slipped into a February engineering report: Domain names — The Wikimedia Foundation has started to move its domain names from GoDaddy to […]

[…] Would be called as shock for Go Daddy, one of the biggest domain registrars in the world, as Wikimedia Foundation, organization behind Wikipedia starts its way out to say goodbye to the world renowned domain registrar, the foundation mentioned in February engineering report: Domain names — The Wikimedia Foundation has started to move its domain names from GoDaddy to MarkMonitor (announcement). […]

[…] beneath news of hackathons and new hires in the Wikimedia February 2012 Engineering report is a single line stating that the “Wikimedia Foundation has started to move its domain names from […]