Provide month names via mediawiki.language.months RL module
authorMatmaRex <matma.rex@gmail.com>
Tue, 2 Jul 2013 14:46:25 +0000 (16:46 +0200)
committerMatmarex <matma.rex@gmail.com>
Mon, 29 Jul 2013 13:02:03 +0000 (13:02 +0000)
commit689658de3762cc8485891bf8546a35b77dbc8533
tree5241c8a7d2ec02e5b46e039a593a5b432889a3d0
parent3bf0dd2e66d48cfd9d813a29817d86108a684fcd
Provide month names via mediawiki.language.months RL module

* Deliver appropriate messages via ResourceLoader, for nominative-case,
  genitive-case and abbreviated month names
* Define mw.language.months which provides access to the above data in
  a structured manner

This supersedes the old way to of accessing these using wgMonthNames
and wgMonthNamesShort mw.config variables.

Genitive month names were previously not available at all.

Bug: 46496
Change-Id: I9f48b860d1078a31d620f6f95dde1f19c1c31f79
resources/Resources.php
resources/mediawiki.language/mediawiki.language.months.js [new file with mode: 0644]