Wikipedia:Wikipedia Signpost/2010-08-30/Technology report

Technology report

Reusability of MediaWiki code, Google Summer of Code: Interwiki transclusion, and more

Making MediaWiki code easier to reuse

Developers, most of them unpaid, help to write improvements to the MediaWiki software on which WMF wikis are based. Some of these improvements are very specific to running a wiki; however, others could be useful to completely different projects, such as the provision of support for .OGG files and general-purpose handlers of CSS and JavaScript files. Trevor Pascal, one of a handful of paid programmers for the Foundation, has outlined proposals to untangle the specifically MediaWiki-only code from those sections which (i) had either been imported from other projects and would be easier to update in isolation, or (ii) could be reused by other projects in the same way that text and images can already be easily found and reused by others: "Overall, it would be great if we could take a look at this and other ways to better share our work with non-MediaWiki projects, and give back to the open-source community." How this could best be achieved is still up for debate. Suggestions include the use of the PEAR mechanism for sharing PHP modules.

Google Summer of Code: Peter Potrowl

We continue a series of articles about this year's Google Summer of Code (GSoC) with student Peter Potrowl, who describes his project to develop a system for transcluding templates from other wikis:


Readers interested in the possibilities of interwiki transclusion may wish to refer to Daniel Kinzler's blog post earlier this month.

In brief

Not all fixes may have gone live to WMF sites at the time of writing; some may not be scheduled to go live for many weeks.

  • As part of an ongoing upgrade of the antiquated storage of user preferences, users have had the storage of their options changed en masse. Previously, changing a preference would trigger the invisible upgrade, but since many users do not customise their preferences, 9.3 million users on the English Wikipedia alone were still on the old system, with fewer than 4 million on the new. The consistency this creates will be used in a number of new projects, including a universal "Take me back" button to switch back to the Monobook skin.
  • A PagedTiffHandler for the display of TIFF files was briefly enabled on Wikimedia Commons, but was soon disabled because of its negative side-effect (disabling the upload of any non-TIFF file, bug #24954).
  • The Bugzilla interface for tracking bugs and feature requests has been upgraded to version 3.6.2 from a previous 3.4.x series installation (bug #24874, release notes).
  • Many of the outstanding bugs with image thumbnailing have been fixed (e.g. bug #24824).
  • Oversighters are being given the capability to suppress AbuseFilter log entries (cf. bug #24943.)
  • The recent changes feed has been provisionally made available via the XMPP protocol, mainly for the use of bots. It is thought to be a significant improvement over the existing IRC feed.