Index: trunk/extensions/UsageStatistics/SpecialUserStats_body.php |
— | — | @@ -432,7 +432,12 @@ |
433 | 433 | for($i = 1; $i <= 7; $i++) |
434 | 434 | $daynames .= "'" . $wgContLang->getWeekdayName($i) . "',"; |
435 | 435 | for($i = 1; $i <= 7; $i++) |
436 | | - $daynames .= "'" . $wgContLang->getWeekdayAbbreviation($i) . "',"; |
| 436 | + { |
| 437 | + if (method_exists($wgContLang, 'getWeekdayAbbreviation')) |
| 438 | + $daynames .= "'" . $wgContLang->getWeekdayAbbreviation($i) . "',"; |
| 439 | + else |
| 440 | + $daynames .= "'" . $wgContLang->getWeekdayName($i) . "',"; |
| 441 | + } |
437 | 442 | $daynames = substr($daynames, 0, -1); |
438 | 443 | |
439 | 444 | |
Index: trunk/extensions/UsageStatistics/SpecialUserStats.php |
— | — | @@ -13,7 +13,7 @@ |
14 | 14 | |
15 | 15 | $wgExtensionCredits['specialpage'][] = array( |
16 | 16 | 'name' => 'UserStats', |
17 | | - 'version' => 'v1.11.1', |
| 17 | + 'version' => 'v1.11.2', |
18 | 18 | 'author' => 'Paul Grinberg', |
19 | 19 | 'email' => 'gri6507 at yahoo dot com', |
20 | 20 | 'url' => 'http://www.mediawiki.org/wiki/Extension:Usage_Statistics', |