Page MenuHomePhabricator

Replace wgMonthNames in SemanticMediaWiki
Closed, InvalidPublic


SemanticMediaWiki should have the (semi-deprecated) wgMonthNames replaced. Codesearch

// Month name
var name = mw.language.months.names[ i ];
var nameLc = mw.language.months.names[ i ].toLowerCase();
var nameReEsc = mw.RegExp.escape( name );

// Month name (genitive)
var genitive = mw.language.months.genitive[ i ].;

// Short month name
var short = mw.language.months.abbrev[ i ];

Event Timeline

@TheSandDoctor: Unrelated to MediaWiki-Interface as this is not about MediaWiki core. Please also do not add team tags - thanks a lot!