Submissions/5 Cool Libraries for Your Gadgets


This is an open submission for Wikimania 2011.

Review no.

108

Title of the submission
5 Cool Libraries For Your Gadgets
Type of submission (workshop, tutorial, panel, presentation)
presentation
Author of the submission
Neil Kandalgaonkar
E-mail address or username (if username, please confirm email address in Special:Preferences)
neilk@wikimedia.org
Country of origin
Canada
Affiliation, if any (organization, company etc.)
Wikimedia Foundation
Personal homepage or blog
http://brevity.org/
Abstract (please use no less than 300 words to describe your proposal)
Over the past couple of years, there's been great change in MediaWiki's frontend as a result of the Usability projects, but few people outside the Wikimedia Foundation developers are taking full advantage of these changes. In this presentation, I give rapid synopses and examples of a number of JavaScript libraries and tools which are now part of MediaWiki's distribution (and are live on Wikipedia and Wikimedia Commons). Many of these tools were written for the UploadWizard project, but with an eye towards making them generally useful for any MediaWiki developer. If you write gadgets or other frontend tools, this talk may save tens -- maybe hundreds -- of lines from your next project. Topics will include: URL construction and manipulation, a new interface for the MediaWiki API in Javascript, automatically fetching tokens for your API requests when needed, editing pages via the API, appending to pages via the API, getting image information, uploading images, manipulating the various forms of "title" that a MediaWiki page may have, adding a feedback page to your tool, a simple category picker, adding extra "tooltips" to your interface for usability, special effects for "morphing" your interface right before the user's eyes, and testing your JavaScript with the JasmineBDD testing framework.
Track (People and Community/Knowledge and Collaboration/Infrastructure)
Wiki Infrastructure and Technology
Will you attend Wikimania if your submission is not accepted?
No
Slides or further information (optional)

Slides TBA.

This talk could be anywhere from 20 to 45 minutes long. If the ResourceLoader talk is accepted, this would make a good adjunct immediately before or after.


Interested attendees

If you are interested in attending this session, please sign with your username below. This will help reviewers to decide which sessions are of high interest. Sign with four tildes. (~~~~).

  1. Erik Zachte 14:20, 29 April 2011 (UTC)[reply]
  2. Brion VIBBER 17:40, 29 April 2011 (UTC)[reply]
  3. Catrope
  4. Blahma 12:54, 1 May 2011 (UTC)[reply]
  5. Vibhijain 07:15, 8 May 2011 (UTC)[reply]
  6. Dror Snir 15:33, 24 May 2011 (UTC)[reply]
  7. Amir E. Aharoni