According to the technical info they are using the following libraries: Merb (main site), Sinatra (stats), Nokogiri, and Curb
Their single(!) server is running: Nginx, Phusion Passenger, MySQL (stats), and Ruby 1.9.1
http://wikitech.wikimedia.org/view/Mobile