Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

730375 rewrite userpreferences #131

Merged
merged 1 commit into from
Mar 12, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions configs/htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ RewriteRule ^(admin(/.*)?)$
# For debug_toolbar, mainly on dev VMs
RewriteRule ^(((en-US|de|el|es|fr|fy-NL|ga|hr|hu|id|ja|ko|nl|pl|pt-BR|pt-PT|ro|sl|sq|th|x-testing|zh-TW|zh-CN)/)?__debug__(/.*)?)$ /mwsgi/$1 [PT,L]

RewriteCond %{REQUEST_URI} ^/Special:UserPreferences$ [NC]
RewriteRule (.*) /profile/edit/ [L,R]

RewriteCond %{REQUEST_URI} ^/Special:Userlogin$ [NC]
RewriteRule (.*) /users/login? [L,R]

Expand Down