On 11/01/12 16:39, Sal Quintanilla wrote:
I agree with some of your points. If it's an intranet site this may be
just fine. If not, he has the if-test and he can use it however he wants.
No need to leave out the cache answer:
+ $parser->disableCache(); # Mark this content
It can work if it's just eg. show a different advice for anonymous and
logged in users. But if you wanted real security, it would be much harder.
Thus what Daniel said "Don't do it". But we won't stop you if you want
to use it.
___
MediaWiki-l mailin
riesen
Sent: Wednesday, January 11, 2012 7:31 AM
To: mediawiki-l@lists.wikimedia.org
Subject: Re: [Mediawiki-l] I need to Hide a single page from Un-login users
Quite frankly this is some pretty bad advice.
Firstly don't forget the parser cache. The parser cache will mean that the
page outpu
e content with something like
>
> {{#ifeq: {{LOGGEDIN}} | N | }}
> ... content ...
> {{#ifeq: {{LOGGEDIN}} | N | }}
>
> -Original Message-
> From: mediawiki-l-boun...@lists.wikimedia.org
> [mailto:mediawiki-l-boun...@lists.wikimedia.org] On Behalf Of
> sreelaxmi.all.
elaxmi.all...@cognizant.com
Sent: Wednesday, January 11, 2012 1:59 AM
To: MediaWiki-l@lists.wikimedia.org
Subject: [Mediawiki-l] I need to Hide a single page from Un-login users
Hi
I need to Hide a single page from Un-login users.. Can u help me regarding
dis.?
Regards
---
This e-mail an
Hi
I need to Hide a single page from Un-login users.. Can u help me
regarding dis.?
Regards
---
This e-mail and any files transmitted with it are for the sole use of the
intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient