Page MenuHomePhabricator

Call to function 'userCan' with empty $user parameter
Closed, InvalidPublic

Description

Author: wikimedia

Description:
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.


Version: 1.8.x
Severity: normal
OS: Linux
Platform: PC

Details

Reference
bz8252

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:30 PM
bzimport set Reference to bz8252.
bzimport added a subscriber: Unknown Object (MLST).

Title::userCan doesn't have a $user parameter.

wikimedia wrote:

Incomplete intialization of the $user object by an external script.

> Not a MediaWiki issue.

> Closed.