Jump to content

Manual:$wgRedirectOnLogin

From mediawiki.org
This page is a translated version of the page Manual:$wgRedirectOnLogin and the translation is 45% complete.
その他の設定: $wgRedirectOnLogin
Redirect users to page on login
導入されたバージョン:1.15.0 (r48138)
除去されたバージョン:使用中
許容される値:(文字列) または null
既定値:null

詳細

$wgRedirectOnLogin uses the returnto URL parameter to redirect users to a specific page when they log in.

Specify the name of a page in the wiki where they should be sent automatically when they log in, for example: 'Main Page', or 'Special:MyPage'. Setting this option to null will make the user be redirected back to the page they came from.

$wgRedirectOnLogin = 'Special:MyPage';

This will redirect users to 'Special:MyPage', i.e. the respective user's user page.

関連項目