GSoC/GCI Archive
Google Code-in 2014 Wikimedia Foundation

Rewrite date string internationalization templates in Lua

completed by: Geoffrey Mon

mentors: Jarek Tuszynski

MediaWiki templates are wiki pages to be included in other pages. Templates can take arguments, allowing editors to create special types of content like infoboxes, banners, and more. Originally, templates were written wikitext with parser functions, mimicking the functionality of a very basic programming language (but requiring advanced skills to get smart results out of them).

This problem has been solved allowing templates to rely in modules written with Lua, a proper programming language: Now we have many wikitext templates waiting to be rewritten in Lua. Take one and rewrite it! See also: and .

Translate to Lua and build testcases comparing both versions. Expand ISOdate_extended function in to allow calling of the lua version from that function based on simple English (or language independent) expressions. If successful the result is likely to be called from and and might be used on majority of files on Wikimedia Commons.

Students are required to read Wikimedia's general instructions at first.