Page MenuHomePhabricator

Fatal error on invalid userspace pages
Closed, ResolvedPublic

Description

Author: jelle.zijlstra

Description:
See https://secure.wikimedia.org/wikipedia/en/wiki/User:/xxx . This is a userspace page with an invalid title, but WikiLove still tries to call Title::getTalkPage(), producing a fatal error.

I think this can be fixed by adding

if ( $baseTitle === null) {

return null;

}

around line 179 of http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/WikiLove/WikiLove.hooks.php?view=markup .


Version: unspecified
Severity: normal

Details

Reference
bz31557

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 21 2014, 11:48 PM
bzimport added a project: WikiLove.
bzimport set Reference to bz31557.
bzimport added a subscriber: Unknown Object (MLST).
  • Bug 31866 has been marked as a duplicate of this bug. ***