* (bug 31289) Fix fatal error on special pages using $this->msg() on PHP 5.2
authorBrion Vibber <brion@users.mediawiki.org>
Sat, 1 Oct 2011 02:03:05 +0000 (02:03 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sat, 1 Oct 2011 02:03:05 +0000 (02:03 +0000)
commit8683c11bb03498aa25a3cad2715497f82f7fb9c5
treebdffa4bfbb77e99a3de4a78b9de6026d3f98305b
parent30cc0501e227255e0e581d029754ee3e16c06297
* (bug 31289) Fix fatal error on special pages using $this->msg() on PHP 5.2

According to online PHP docs, func_get_args() doesn't work in function parameter lists until PHP 5.3.0.
It does, however, work as the *first* parameter, which happens here and there in older code (eg array_slice(func_get_args(),1)).
Assigning to a variable and passing through works fine for this case on PHP 5.2.17.
includes/SpecialPage.php