https://bugzilla.wikimedia.org/show_bug.cgi?id=19421

           Summary: UserBoard login redirect broken (patch proposed)
           Product: MediaWiki extensions
           Version: any
          Platform: All
               URL: http://www.mediawiki.org/wiki/Extension_talk:SocialProfi
                    le#No_Such_Special_Page_error
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: SocialProfile
        AssignedTo: j...@countervandalism.net
        ReportedBy: ivoluc...@gmail.com


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


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to