Page MenuHomePhabricator

SkinTemplate::makeTalkUrlDetails calls member on a non-object
Closed, InvalidPublic

Description

Author: mickey

Description:
There is a problem in SkinTemplate::makeTalkUrlDetails where under some circumstances a call to a member function on a non-object occurs:

$title = Title::newFromText( $name );
$title = $title->getTalkPage();

The call to Title::newFromText might return NULL but the code in makeTalkUrlDetails doesnt check it properly.

Actually im not sure how i ran into this but it locked out any users from logging into the wiki.


Version: 1.8.x
Severity: blocker
OS: Linux

Details

Reference
bz11761

Event Timeline

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

Probably IPv6 localhost... upgrade MediaWiki to a current version which does not suffer from that bug.