Last modified: 2011-10-21 22:12:59 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 T33866, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31866 - Wikilove causes fatal when viewing User:/ ( getTalkPage() on a non-object )
Wikilove causes fatal when viewing User:/ ( getTalkPage() on a non-object )
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-21 21:04 UTC by Bawolff (Brian Wolff)
Modified: 2011-10-21 22:12 UTC (History)
1 user (show)

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


Attachments

Description Bawolff (Brian Wolff) 2011-10-21 21:04:59 UTC
noticed when looking at bug 24708

Appears as if WikiLove is not checking that some title object it makes is actually a valid title.

Go to http://en.wikipedia.org/wiki/User:/  (or http://en.wikipedia.org/wiki/User_talk:/ )

Gets error: PHP fatal error in /usr/local/apache/common-local/php-1.18/extensions/WikiLove/WikiLove.hooks.php line 185:
Call to a member function getTalkPage() on a non-object 

(the user_talk case gives: PHP fatal error in /usr/local/apache/common-local/php-1.18/extensions/WikiLove/WikiLove.hooks.php line 192:
Call to a member function isRedirect() on a non-object  )
Comment 1 Ryan Kaldari 2011-10-21 22:11:30 UTC
I believe this was fixed in r99374.

*** This bug has been marked as a duplicate of bug 31557 ***
Comment 2 Sam Reed (reedy) 2011-10-21 22:12:59 UTC
Both are the same error, but are missing the same error handling trunk has

r100464

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


Navigation
Links