"Toniher" posted a comment on MediaWiki.r107877.
URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/107877#c29064

Commit summary for MediaWiki.r107877:

code for restricting by NS

Toniher's comment:

Hi ^demon, I did that way because I thought it might be better not to actually 
set those hooks in non-allowed namespaces.
Let's say, presently, in non-allowed namespaces:  {{#ifanon|You're 
anonymous|You're not anonymous}} would not be processed. If I changed it as you 
suggest, I guess I would receive an empty output, unless I tried to have an 
output that mimicked the original parser function by using the given 
parameters. I don't know any other way to do this…

In any case, I imagine that if I change it as you comment, coherently, maybe I 
should do the same for functions filtered by $wgUFEnablePersonalDataFunctions

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to