Last modified: 2010-05-15 15:42:50 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 8252 - Call to function 'userCan' with empty $user parameter
Call to function 'userCan' with empty $user parameter
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: easy
Depends on:
  Show dependency treegraph
Reported: 2006-12-13 21:01 UTC by Bernhard
Modified: 2010-05-15 15:42 UTC (History)
0 users

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


Description Bernhard 2006-12-13 21:01:38 UTC
Before showing a page, mediaWiki calls the function 'userCan' of title.php several times 
in order to get the user's rights.
The first one of these calls has an empty $user parameter.

Unfortunately I don't know how to determine where this first call comes from.

Greetings from Germany

P.S. Due to the side effects I've the impression that the mentioned call is in relation to 
the "source code" tab.
Comment 1 Brion Vibber 2006-12-13 22:38:37 UTC
Title::userCan doesn't have a $user parameter.
Comment 2 Bernhard 2006-12-15 00:20:16 UTC
Incomplete intialization of the $user object by an external script.
=> Not a MediaWiki issue.
=> Closed.

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