Last modified: 2009-03-07 18:34:28 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 T19844, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 17844 - Redirect users to a specific page when they log in
Redirect users to a specific page when they log in
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
User login and signup (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-07 18:25 UTC by Simon Walker
Modified: 2009-03-07 18:34 UTC (History)
1 user (show)

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


Attachments
redirect on login patch (1.53 KB, patch)
2009-03-07 18:25 UTC, Simon Walker
Details

Description Simon Walker 2009-03-07 18:25:03 UTC
Created attachment 5899 [details]
redirect on login patch

This patch adds the functionality to redirect a user when they log in to a specified page in the wiki. If the variable $wgEnableRedirectOnLogin is set to true, all user logins will be redirected to the page specified in $wgRedirectOnLoginPage.

I recently needed to add this to a wiki that I'm administering, so I thought that MediaWiki might like to add this as an option for everyone

Apologies if I've made a mistake here - this is the first time I've done something like this :)
Comment 1 Chad H. 2009-03-07 18:34:28 UTC
Done in r48138. Rather than adding two variables, I added 1 ($wgRedirectOnLogin, default null). Set to a string to enable redirection and set the target.

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


Navigation
Links