Index: trunk/extensions/ParserFunctions/SprintfDateCompat.php |
— | — | @@ -3,7 +3,7 @@ |
4 | 4 | # sprintfDate support for MW<1.8 installations |
5 | 5 | class SprintfDateCompat { |
6 | 6 | |
7 | | - function sprintfDate( $format, $ts ) { |
| 7 | + static function sprintfDate( $format, $ts ) { |
8 | 8 | global $wgContLang; |
9 | 9 | |
10 | 10 | $s = ''; |