Ok, though the caching issues I was thinking of have to do with a
limited area.
I've noticed that on Wikia the newtalk notice sometimes persists after
you've read your talkpage, or will show on one page, but not on another,
or on one wiki but not on another (Wikia has global notification), so I
didn't know if there was some actual caching thing on the page that
could affect it, because it doesn't look like update latency or
anything, more like a squid cached page.
But if there's no issue with it. I would opt for making the
[[Special:Userlogin]] form send the user back to the page that the user
came from and display a successful notice at the top of the page...
Perhaps with a JavaScript "Dismiss" button.
And also, as an addition, a JavaScript, possibly AJAX login method which
would pop up a form (It should be possible to do JavaScript intercepting
on the login button, or place a second link beside it using JS or not-js
for the AJAX login), attempt login, and then if it's the AJAX technique
automatically place the message at the top of the page. Perhaps saying
something like "You will need to refresh to see the changes to the
page." Or just use the in page JS form instead.
~Daniel Friesen(Dantman) of:
-The Gaiapedia (
http://gaia.wikia.com)
-Wikia ACG on
Wikia.com (
http://wikia.com/wiki/Wikia_ACG)
-and
Wiki-Tools.com (
http://wiki-tools.com)
Platonides wrote:
DanTMan wrote:
Heh, interesting "fix".
Actually, on that note I have a few thoughts.
Firstly, how wide is the browser support for that meta tag for
refreshing the page and redirecting it to another url?
I don't know, so I don't know if the meta tag, or javascript would be
better. (Though you should also consider that some people explicitly
disable JS because they don't want automatic redirection, so JS might be
better, dunno).
The meta refresh tag has been around for ages. So there's a wide support
for it, although i remember some browser offering to disabling it.
Secondly, the logged in successful page is rather
small. Has anyone
actually thought of instead enabling this as a message in the page above
the title (Like Sitenotice, or the (un)watch, or usernotice messages),
however that may have light caching issues...
I think it's the proper fix. There shouldn't be any caching issues.
The
same is made for eg. user talk messages. Complete pages aren't cached
for logged in users. And the "you're logged in" certainly can't ever
be.
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l