Last modified: 2011-10-21 22:11:30 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 T33557, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31557 - Fatal error on invalid userspace pages
Fatal error on invalid userspace pages
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikiLove (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-09 13:58 UTC by Jelle Zijlstra
Modified: 2011-10-21 22:11 UTC (History)
2 users (show)

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


Attachments

Description Jelle Zijlstra 2011-10-09 13:58:19 UTC
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 .
Comment 1 Ryan Kaldari 2011-10-09 20:13:30 UTC
Nice find. Fixed in r99374.
Comment 2 Ryan Kaldari 2011-10-21 22:11:30 UTC
*** Bug 31866 has been marked as a duplicate of this bug. ***

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


Navigation
Links