Last modified: 2008-12-26 10:27:43 UTC
When I validate an edit a page, I've the following message critical error : Parse error: syntax error, unexpected ')' in /var/www/wiki/extensions/NewUserNotif/NewUserNotif.class.php on line 99 Impossible to access to Special:specialpages, too Il faudrait arrêter de jouer aux apprentis sorciers.
Version mediawiki : 45041
This appears to be a bug in the NewUserNotif extension, and not the MediaWiki core. Changing component accordingly.
Created attachment 5623 [details] Patch It appears to be an extraneous comma introduces in r45017.
What version of PHP is this? If an extra comma causes fatal errors in some versions, we have a lot of code to clean up -- we use those all over the place.
I tested it with 5.2.6 (actually 5.2.6-0.1+b1 with Suhosin-Patch 0.9.6.2 from Debian). Extra commas are apparently allowed in arrays, but not in function parameter lists.
Ah, there wasn't enough context in the diff for me to see that that was a function call. That makes sense, then. Fixed in r45042.
It runs now.