Its 1.6.8. Yes, the login link is preserved in the first scenario, when the user hits login, as a "returnto" parameter, but not when the user hits edit first- which is the 2nd scenario.
It would be good if its preserved in the 2nd scenario as well because thats the one that most non-logged in users go through the most. People are more likely to hit "Edit" first, then 'Login'. Definitely there's not a solution for this without modifying the MW code. What the ideal program would so is: - still use the 'Returnto' parameter when Edit is clicked - Edit the page, if user is already logged is, OR, if he's not logged in, then keep storing the 'returnto' parameter until he logs in and then return him to the original page using the 'Returnto' parameter.
This is a better user experience than, making him log in and stranding him to a link to the "Main page", rather than the page he wanted to edit in the first place.
I guess this is more like a feature request, but I wondered if anyone had any way around this or modified this current sytem in some way.
Erik
Rob Church robchur@gmail.com wrote: On 28/12/06, Eric K wrote:
Here's scenario #1:
- User sees page
- Clicks "login"
- is redirected to the page, where he can edit.
This is a good, however the following scenario #2 is not good:
- User sees page
- Clicks "Edit"
- Prompted for login, and he logs in
- But, now loses the link of the page he wanted to edit
What version of MediaWiki?
If the user hits the "log in" link we provide in the message, then the page title should be preserved throughout the login process as the "returnto" parameter.
Rob Church _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com