Index: trunk/phase3/includes/Parser.php |
— | — | @@ -1954,6 +1954,8 @@ |
1955 | 1955 | return $varCache[$index] = $wgContLang->getMonthAbbreviation( date( 'n', $ts ) ); |
1956 | 1956 | case MAG_CURRENTDAY: |
1957 | 1957 | return $varCache[$index] = $wgContLang->formatNum( date( 'j', $ts ) ); |
| 1958 | + case MAG_CURRENTDAY2: |
| 1959 | + return $varCache[$index] = $wgContLang->formatNum( date( 'd', $ts ) ); |
1958 | 1960 | case MAG_PAGENAME: |
1959 | 1961 | return $this->mTitle->getText(); |
1960 | 1962 | case MAG_PAGENAMEE: |
Index: trunk/phase3/includes/MagicWord.php |
— | — | @@ -21,6 +21,7 @@ |
22 | 22 | 'MAG_CURRENTMONTHNAMEGEN', |
23 | 23 | 'MAG_CURRENTMONTHABBREV', |
24 | 24 | 'MAG_CURRENTDAY', |
| 25 | + 'MAG_CURRENTDAY2', |
25 | 26 | 'MAG_CURRENTDAYNAME', |
26 | 27 | 'MAG_CURRENTYEAR', |
27 | 28 | 'MAG_CURRENTTIME', |
— | — | @@ -81,6 +82,7 @@ |
82 | 83 | MAG_CURRENTMONTHNAMEGEN, |
83 | 84 | MAG_CURRENTMONTHABBREV, |
84 | 85 | MAG_CURRENTDAY, |
| 86 | + MAG_CURRENTDAY2, |
85 | 87 | MAG_CURRENTDAYNAME, |
86 | 88 | MAG_CURRENTYEAR, |
87 | 89 | MAG_CURRENTTIME, |
Index: trunk/phase3/languages/Language.php |
— | — | @@ -212,6 +212,7 @@ |
213 | 213 | MAG_CURRENTMONTHNAMEGEN => array( 1, 'CURRENTMONTHNAMEGEN' ), |
214 | 214 | MAG_CURRENTMONTHABBREV => array( 1, 'CURRENTMONTHABBREV' ), |
215 | 215 | MAG_CURRENTDAY => array( 1, 'CURRENTDAY' ), |
| 216 | + MAG_CURRENTDAY2 => array( 1, 'CURRENTDAY2' ), |
216 | 217 | MAG_CURRENTDAYNAME => array( 1, 'CURRENTDAYNAME' ), |
217 | 218 | MAG_CURRENTYEAR => array( 1, 'CURRENTYEAR' ), |
218 | 219 | MAG_CURRENTTIME => array( 1, 'CURRENTTIME' ), |