Moin,
On Tuesday 25 April 2006 14:58, Rob Church wrote:
On 25/04/06, Christiaan Briggs
<christiaan(a)yurkycross.co.uk> wrote:
On our setup users are required to login to see
anything other than
the Main Page. If a user clicks on a link from the Main Page and
they're not logged in they're prompted to login, after which they are
taken back to the Main Page.
Is there any way to configure MediaWiki to make it forward the user
to the page they clicked on before being prompted to login, instead
of the Main Page?
The user should be returned to the page from which the login link was
clicked, assuming the use of the standard login link; a "returnto"
argument is added to the request string which is then used to dictate
the location of the redirect.
This is a known bug, it doesn't work in 1.5.x or 1.6.x.
If you click a red link, it says you need to login. The link on _that_
page does not forward the page from where you came, so logging in via it
will return you to the main page (this has frustrated my users to no
end).
However, when you are presented with the login page, clicking on the "Log
in" on the upper right corner does preserver the "returnto".
Go and try it on any wiki, logout, press edit, then click on the word
"login" on the page that apears. On my wiki it leads from:
http://bloodgate.com/wiki/index.php?title=Main_Page&action=edit
to:
http://bloodgate.com/wiki/index.php?title=Special:Userlogin
Upper right corner instead goes to:
http://bloodgate.com/wiki/index.php?title=Special:Userlogin&returnto=Ma…
This is very frustrating, even if you know it, since your instinct is to
click on the link that appears in front of you.
Best wishes,
Tels
--
Signed on Tue Apr 25 19:17:02 2006 with key 0x93B84C15.
Visit my photo gallery at
http://bloodgate.com/photos/
PGP key on
http://bloodgate.com/tels.asc or per email.
"My name is Felicity Shagwell. Shagwell by name, shag very well by
reputation."