Last modified: 2009-12-30 08:28:02 UTC
After updating to version r48711 of the SemanticMediaWiki extension for MediaWiki 1.15.x dates are rendered WITHOUT months. This is for Mediawiki 1.15.1 running in Spanish. Meaning, in the previous version, this call <nowiki>{{#ask: [[Category:X]] [[X::X]] | ?Date of something | format=template | template=X | limit=3 }}</nowiki> produced the date of some event according to the template as <nowiki>"[day] de [month] de [year]"</nowiki>. After the update it just rendered as <nowiki>"[day] de de [year]"</nowiki>. This happened for several call on several templates. Changes in date formats didnt help at all. I reverted to the previous version, but I'm sure the error can be replicated.
The month name translations for Spanish had been missing. Please update your file ./languages/SMW_LanguageEs.php to revision 48832 or later to obtain the month names. I do not know how the template achieves the "X de Y de Z" format. This result might be based on some presupposed date structure that may also have changed in the new SMW version (in particular, SMW no longer uses the MW formatting functions due to their limited range). Maximum control over the appearance of dates can be achieved by using "ISO" output (done by changing the printout to "?Date of something#ISO"), and then using ParserFunctions to decompose and process the standardised date string in the template. This is of course slower than the built-in format.