Heiya,
on a wiki I unsuccessfully try to return users to the very page they started out with their user registration by adding: |
[{{fullurl:Special:UserLogin/signup|returnto={{FULLPAGENAMEE}}}} ''Login'' to this wiki (and come back here)]|.
So what happens: After registration the user stays on "Special:UserLogin" showing "Welcome, username" and below some other included system messages together with a link "Return to 'the page you last visited'". So there is no direct return to the original page.
On e.g. German Wikipedia I get directly to the original page. Does anyone know the trick to get MW obeying the "returnto" parameter instead of ignoring like described? I will document this as soon as the trick in know to me.
Thanks and cheers
Karsten
On Thu, 30 Apr 2015 19:20:37 +0200, [[kgh]] mediawiki@kghoffmeyer.de wrote:
So what happens: After registration the user stays on "Special:UserLogin" showing "Welcome, username" and below some other included system messages together with a link "Return to 'the page you last visited'". So there is no direct return to the original page.
On e.g. German Wikipedia I get directly to the original page. Does anyone know the trick to get MW obeying the "returnto" parameter instead of ignoring like described? I will document this as soon as the trick in know to me.
The "page you last visited" is probably actually a link to the 'returnto' page. The link was changed to an automatic redirect in MediaWiki 1.24 (https://gerrit.wikimedia.org/r/#/c/148144/ / d0439af89f6b254cea09b3773ab139f04f81a97d).
Am 07.05.2015 um 15:11 schrieb Bartosz Dziewoński:
The "page you last visited" is probably actually a link to the 'returnto' page. The link was changed to an automatic redirect in MediaWiki 1.24 (https://gerrit.wikimedia.org/r/#/c/148144/ / d0439af89f6b254cea09b3773ab139f04f81a97d).
Indeed it is. The particular wiki in question is currently on 1.22.15 (shame on me but there are reasons) and I did also try to make it work in 1.23.8 so I had not chance.
Thank you so much for your information on this which helps a lot. So I guess it's time to upgrade sooner than later anyway.
Cheers Karsten
mediawiki-l@lists.wikimedia.org