Last modified: 2011-10-01 02:05:26 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T33289, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31289 - Error on Special Liked Pages
Error on Special Liked Pages
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.20.x
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-01 00:25 UTC by DaSch
Modified: 2011-10-01 02:05 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description DaSch 2011-10-01 00:25:22 UTC
This Special Page
http://www.wecowi.de/wiki/Spezial:Beliebteste_Seiten

Gives this error
Fatal error: func_get_args(): Can't be used as a function parameter in /var/www/vhosts/wecowi.de/httpdocs/includes/SpecialPage.php on line 684

Enviorment
MediaWiki 	1.19alpha (Version 98589)
PHP 	5.2.4-2ubuntu5.17 (apache2handler)
MySQL 	5.0.51a-3ubuntu5.8
Comment 1 Brion Vibber 2011-10-01 01:31:28 UTC
Per http://php.net/manual/en/function.func-get-arg.php it looks like for some reason func_get_args() didn't work inside parameter lists for another function call until PHP 5.3.0.

That's..... kinda odd. :)

Presumably assigning it to a var would work. Ah, PHP!
Comment 2 Brion Vibber 2011-10-01 02:05:26 UTC
Fixed on trunk in r98598, REL1_18 in r98598. Should probably go into 1.18wmf1 as I think there might be some PHP 5.2 machines hiding around still.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links