Changes
Jump to navigation
Jump to search
no edit summary
{{Module rating|release}}{{Module rating|protected}}
Translations used by [[Module:Date]].
Translations are stored in 2 tables:
*'''p.DateLang''' - matches individual languages with specific date format used bo one or more languages. All unlisted languages default to English format. Languages like "de-formal" follows regular language fallback chain and would default to German, and only if that does not exist then to English.
*'''p.DateFormat''' - Date format parameter which will be passed to <nowiki>{{#time:}}</nowiki> parser function, which are described [[mw:Help:Extension:ParserFunctions#.23time|here]]. It depends on the language and which parts of the date need to be displayed. <br/>
:Different forms are:
:* YMDHMS = stands for YYYY:MM:DD, HH:MM:SS format or equivalent
:* YMDHM = stands for YYYY:MM:DD, HH:MM format or equivalent
:* YMD = stands for YYYY:MM:DD format or equivalent
:* YM = stands for YYYY:MM (year-month) format or equivalent
:* MD = stands for MM:DD (month-day) format or equivalent
:* Y = stands for YYYY (year only) format or equivalent
:* M = stands for month name only
To do: occasionally compare with [[translatewiki:Special:Translations&message=MediaWiki%3APagetriage-info-timestamp-date-format|translatewiki's Pagetriage-info-timestamp-date-format]] which holds similar info for YMD dates using some [http://code.google.com/p/datejs/wiki/FormatSpecifiers Google encoding].
Translations used by [[Module:Date]].
Translations are stored in 2 tables:
*'''p.DateLang''' - matches individual languages with specific date format used bo one or more languages. All unlisted languages default to English format. Languages like "de-formal" follows regular language fallback chain and would default to German, and only if that does not exist then to English.
*'''p.DateFormat''' - Date format parameter which will be passed to <nowiki>{{#time:}}</nowiki> parser function, which are described [[mw:Help:Extension:ParserFunctions#.23time|here]]. It depends on the language and which parts of the date need to be displayed. <br/>
:Different forms are:
:* YMDHMS = stands for YYYY:MM:DD, HH:MM:SS format or equivalent
:* YMDHM = stands for YYYY:MM:DD, HH:MM format or equivalent
:* YMD = stands for YYYY:MM:DD format or equivalent
:* YM = stands for YYYY:MM (year-month) format or equivalent
:* MD = stands for MM:DD (month-day) format or equivalent
:* Y = stands for YYYY (year only) format or equivalent
:* M = stands for month name only
To do: occasionally compare with [[translatewiki:Special:Translations&message=MediaWiki%3APagetriage-info-timestamp-date-format|translatewiki's Pagetriage-info-timestamp-date-format]] which holds similar info for YMD dates using some [http://code.google.com/p/datejs/wiki/FormatSpecifiers Google encoding].