There is nothing AFAIK but it would mess with ParserCache so if someone needs to implement it, it means they have to fragment parser cache based on status of logged in or logged out which can be quite expensive in large places (like Wikipedia)
HTH On Tue, Jan 11, 2022 at 5:42 PM Patrick Schleizer via MediaWiki-l < [email protected]> wrote: > Is there a magic variable {{LOGGED-IN}} or a similar mechanism that > could be used to detected from within the wiki markup, CSS or > Extension:Widgets? > > Background: > Creating menus / content which is different for anonymous visitors and > logged in users (mostly wiki administrators). > > Cheers, > Patrick > _______________________________________________ > MediaWiki-l mailing list -- [email protected] > To unsubscribe send an email to [email protected] > > https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/ > -- Amir (he/him)
_______________________________________________ MediaWiki-l mailing list -- [email protected] To unsubscribe send an email to [email protected] https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/
