r42334 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r42333‎ | r42334 | r42335 >
Date:11:07, 22 October 2008
Author:raymond
Status:old
Tags:
Comment:
Add 'mk' specific date/time formats per request on Translatewiki
Modified paths:
  • /trunk/phase3/languages/messages/MessagesMk.php (modified) (history)

Diff [purge]

Index: trunk/phase3/languages/messages/MessagesMk.php
@@ -45,6 +45,49 @@
4646 'chick' => 'Шик'
4747 );
4848
 49+$datePreferences = array(
 50+ 'default',
 51+ 'dmy mk',
 52+ 'ymd mk',
 53+ 'ymdt mk',
 54+ 'mdy',
 55+ 'dmy',
 56+ 'ymd',
 57+ 'ISO 8601',
 58+);
 59+
 60+$defaultDateFormat = 'dmy or mdy';
 61+
 62+$dateFormats = array(
 63+ 'dmy mk time' => 'H:i',
 64+ 'dmy mk date' => 'j.m.Y',
 65+ 'dmy mk both' => 'H:i, j.m.Y',
 66+
 67+ 'ymd mk time' => 'H:i',
 68+ 'ymd mk date' => 'Y.m.j',
 69+ 'ymd mk both' => 'H:i, Y.m.j',
 70+
 71+ 'ymdt mk time' => 'H:i:s',
 72+ 'ymdt mk date' => 'Y.m.j',
 73+ 'ymdt mk both' => 'Y.m.j, H:i:s',
 74+
 75+ 'mdy time' => 'H:i',
 76+ 'mdy date' => 'F j, Y',
 77+ 'mdy both' => 'H:i, F j, Y',
 78+
 79+ 'dmy time' => 'H:i',
 80+ 'dmy date' => 'j F Y',
 81+ 'dmy both' => 'H:i, j F Y',
 82+
 83+ 'ymd time' => 'H:i',
 84+ 'ymd date' => 'Y F j',
 85+ 'ymd both' => 'H:i, Y F j',
 86+
 87+ 'ISO 8601 time' => 'xnH:xni:xns',
 88+ 'ISO 8601 date' => 'xnY-xnm-xnd',
 89+ 'ISO 8601 both' => 'xnY-xnm-xnd"T"xnH:xni:xns',
 90+);
 91+
4992 $specialPageAliases = array(
5093 'DoubleRedirects' => array( 'ДвојниПренасочувања' ),
5194 'BrokenRedirects' => array( 'ПрекинатиПренасочувања' ),

Status & tagging log