Last modified: 2007-07-10 10:54:21 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 10066 - wfnewuserloghook() requires default value for $user param
wfnewuserloghook() requires default value for $user param
Product: MediaWiki extensions
Classification: Unclassified
Newuserlog (Other open bugs)
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
: easy, patch, patch-need-review
Depends on:
  Show dependency treegraph
Reported: 2007-05-29 21:02 UTC by Jim R. Wilson
Modified: 2007-07-10 10:54 UTC (History)
1 user (show)

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


Description Jim R. Wilson 2007-05-29 21:02:30 UTC
Under PHP 4, MediaWiki 1.6, upon creating a new user the following warning is generated:

Warning: Missing argument 1 for wfnewuserloghook() in /home/content/j/i/m/jimbojw/html/wiki/extensions/Newuserlog.php on line 46

This can be resolved by changing the declaration of the wfnewuserloghook method from this:

function wfNewuserlogHook( $user )

To this:

function wfNewuserlogHook( $user=null )
Comment 1 Rob Church 2007-07-10 10:54:21 UTC
Fixed in r23948.

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