Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -545,6 +545,8 @@ |
546 | 546 | * (bug 2721) New language file for Vietnamese with the Vietnamese number notation |
547 | 547 | * (bug 2749) would appear as a literal in image galleries for Cs, Fr, Fur, Pl and Sv |
548 | 548 | * (bug 787) external links being rendered when they only have one slash |
| 549 | +* Fixed a missing typecast in Language::dateFormat() that would cause some |
| 550 | + interesting errors with signitures. |
549 | 551 | |
550 | 552 | === Caveats === |
551 | 553 | |
Index: trunk/phase3/languages/Language.php |
— | — | @@ -2405,7 +2405,7 @@ |
2406 | 2406 | |
2407 | 2407 | if ( !$wgUser->isLoggedIn() || $format === false ) { |
2408 | 2408 | $options = $this->getDefaultUserOptions(); |
2409 | | - return $options['date']; |
| 2409 | + return (string)$options['date']; |
2410 | 2410 | } else { |
2411 | 2411 | return $wgUser->getOption( 'date' ); |
2412 | 2412 | } |