Last modified: 2009-06-27 21:24:51 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 T21421, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 19421 - UserBoard login redirect broken (patch proposed)
UserBoard login redirect broken (patch proposed)
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
SocialProfile (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Jack Phoenix
http://www.mediawiki.org/wiki/Extensi...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-06-27 21:10 UTC by Ivo Roper
Modified: 2009-06-27 21:24 UTC (History)
0 users

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


Attachments

Description Ivo Roper 2009-06-27 21:10:49 UTC
This presumes that you have the SocialProfile extension installed and working.

The redirect code in SocialUserBoard.php, function execute() is broken.  If someone isn't logged in, and they attempt to use a notification link or access a UserBoard, they receive a "No such special page" message.

As described here [http://www.mediawiki.org/wiki/Extension_talk:SocialProfile#No_Such_Special_Page_error] there is a one line fix.

The redirect in SocialUserBoard.php, function execute() should probably read thus:
           $wgOut->redirect( $login->getFullURL("returnto=Special:UserBoard") );

This fix was found by comparing the working code in UserViewRelationshipRequests.php
Comment 1 Jack Phoenix 2009-06-27 21:24:51 UTC
Fixed in r52499, thank you for the patch.

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


Navigation
Links