On Wikipedia, hoping I can drop something into my css page or something.
----- Original Message ----- From: Platonides Platonides@gmail.com To: mediawiki-l@lists.wikimedia.org Date: Fri, 14 May 2010 23:35:21 +0200 Subject: Re: [Mediawiki-l] Logging in
Steve VanSlyck wrote:
No response on village pump technical... so maybe someone here knows
the
answer:
== Return to page logged in from ==
How do I get login to return me to the page I logged in from, e.g. Main Page, instead of dropping me into a "login successful" page and forcing me to return manually?
On wikipedia, on your wiki, for one user, for any user of your wiki... ?
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Steve VanSlyck wrote:
On Wikipedia, hoping I can drop something into my css page or something.
You can force the redirection on your monobook.js / vector.js by adding
if (wgCanonicalSpecialPageName == "Userlogin") addOnloadHook( function() { document.location = document.getElementById('mw-returnto').getElementsByTagName('a')[0].href; } );
On Fri, May 14, 2010 at 5:35 PM, Platonides Platonides@gmail.com wrote:
Steve VanSlyck wrote:
On Wikipedia, hoping I can drop something into my css page or something.
You can force the redirection on your monobook.js / vector.js by adding
if (wgCanonicalSpecialPageName == "Userlogin") addOnloadHook( function() { document.location = document.getElementById('mw-returnto').getElementsByTagName('a')[0].href; } );
I thought it did this already?
On Sat, May 15, 2010 at 8:40 AM, OQ overlordq@gmail.com wrote:
I thought it did this already?
No, it offers a link to where you were.
mediawiki-l@lists.wikimedia.org