Last modified: 2011-09-19 14:12:48 UTC
Could we have for the English Wikipedia a parser function which detects if the user is registered or not, e.g. {{#ifanon: then | else }}. This would be used in some mediawiki messages. Such parser functions exist, see Extension UserFunctions, but I think they need to be adapted due to caching - which I think is possible since we have {{REVISIONUSER}}.
Unlikely to happen due to e.g. http://en.wikipedia.org/w/index.php?diff=177429486
(In reply to comment #1) > Unlikely to happen due to e.g. > http://en.wikipedia.org/w/index.php?diff=177429486 That was a different issue -- parsing of template syntax on a message displayed on every page view. Implementing this would mean caching separate page renders for anonymous and logged-in users. But that basically happens already, and is also done based on certain user preferences, so it's nothing new. I think this would be very useful in certain help pages. Instead of constantly having to say "if you have an account, then do this, else you have to do this", it could just say the right thing. Only problem with that is, half the things you have to be autoconfirmed to do and there would have to be another one to detect that. (The real problem there, of course, is unnecessarily restricting things in the first place.) It would be OK in system messages provided they were only editing-related messages, or other ones that are only seen on a tiny fraction of page views. Using it to spew stuff into messages on every page would of course be bad (for reasons quite apart from server load).