Last modified: 2010-05-15 15:42:50 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 T10252, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 8252 - Call to function 'userCan' with empty $user parameter
Call to function 'userCan' with empty $user parameter
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
1.8.x
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: easy
Depends on:
Blocks:
  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: ---


Attachments

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
Bernhard

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.


Navigation
Links