Last modified: 2012-09-16 07:22:06 UTC
On the Dutch Wikipedia we have a fair share of templates that display different things, based on the fact if the template is placed on the talk page of an ip or an registered user. This is currently done via {{#ifeq: {{uc:{{PAGENAME}} }} | {{lc:{{PAGENAME}} }} | foo | bar }}. This however only works IPv4. With the introduction of IPv6 this trick doesn't work. If we would try to catch every IPv6 with a template, it would get rather complex. [[MediaWiki:Anontalkpagetext]] is printed under all talk pages of anonymous users, so somewhere inside the software we know it's an anonymous user. I want to utilize that knowledge inside the wikitext. I would like something like: {{ANONYMOUSUSER}} or {{ANONYMOUSUSER:pagename}} which would either be 1/true or 0/false. Someone else can probably think of a better word for such a magic word. or {{#ifanontalkpage| true | false }} or {{#ifanontalkpage:pagename | true | false }}
related: bug 15352
Mark as dupe, because it makes no sense to provide a parser function only for anontalkpages, because than people want the same for the anonuserpage. Having a #ifip parser function makes more sense. *** This bug has been marked as a duplicate of bug 15352 ***