Last modified: 2007-07-10 10:54:21 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 T12066, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 10066 - wfnewuserloghook() requires default value for $user param
wfnewuserloghook() requires default value for $user param
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Newuserlog (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
: easy, patch, patch-need-review
Depends on:
Blocks:
  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: ---


Attachments

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.


Navigation
Links