Edit request on 23 April 2013Edit

{{#ifeq:{{NAMESPACENUMBER}} |3 | {{#ifexist:{{FULLPAGENAME}} |<!-- do nothing, page exists and might have a clashing template --> | {{tmbox|image=none|text=<div class="floatleft" style="margin-bottom: 0"> [[Image:Shared IP.svg|75px|Shared IP address]]</div><span style="font-size: 150%; line-height: 150%">'''Welcome!'''</span> <span style="font-size: 120%">Interested in becoming a regular contributor to Wikipedia? '''[[Special:Userlogin|Create an account!]]'''</span> Your [[IP address]], {{PAGENAME}}, may be shared by multiple users, so you might see messages on this page that were not intended for you. To have your own [[Wikipedia:User pages|user page]], keep track of articles you've edited in a [[WP:Watchlist|watchlist]], and have access to [[Wikipedia:Why create an account?|a few other special features]], please consider [[Special:Userlogin|registering an account]]! It's fast and free. }} }} |<!-- not anontalk --> }}

The above code provides an abbreviated version of {{SharedIP}} at the top of non-existent anon talk pages. I think this can be considered non-controversial. See also Wikipedia:Village_pump_(proposals)#Partial_solution_only.2C_so_how_about_this. Rd232 talk 15:29, 23 April 2013 (UTC)

That's an expensive parser function call on every talk page. Not sure that's worth it? Amalthea 13:00, 26 April 2013 (UTC)
I thought we weren't supposed to care about that? Anyway, (a) it's only on anon talk pages, not all talk pages (b) I envisage the IFEXIST being temporary, as the templates will later be adapted to prevent clashes that way. Rd232 talk 13:21, 26 April 2013 (UTC)
Well, unless a developer says otherwise. We were once advised to avoid expensive stuff in common interface message. Not sure whether user talk pages count as common.
Two other problems though:
1) As written above it's not just anon talk pages, this message is also displayed for registered accounts. Probably needs a {{IsIPAddress}}
2) I'm not sure I understand what this is trying to solve. When do IP users ever visit their non-existing talk page? They can really only get there by making an edit and visiting the page history. If the goal is to warn anon users that a message might be old, wouldn't it make more sense to add such a disclaimer to MediaWiki:Youhavenewmessages/MediaWiki:Youhavenewmessagesfromusers?
Cheers, Amalthea 14:19, 26 April 2013 (UTC)
  1. OK, my mistake, it does need IsIPAddress. But that makes it more expensive, doesn't it?
  2. When do IP users ever visit their non-existing talk page? - probably not very often. As I said, this was supposed to be a first step, with the message later being shown on existing talk pages, once clashes with existing templates are sorted. (Maybe you have some bright idea how clashes can be avoided by just suppressing the talkheader part if a template like {{SharedIP}} exists on the page?)
  3. MediaWiki:Youhavenewmessages/MediaWiki:Youhavenewmessagesfromusers may be a very good idea, actually, if the disclaimer can be targeted at IP users. Can it? Rd232 talk 14:35, 26 April 2013 (UTC)

← Probably only with javascript since the {{REVISIONUSER}} hack doesn't work anymore. And the idea comes too late since Wikipedia:Notifications will be introduced in a few days, and I believe the orange bar will be retired with it. :)
IsIPAddress will certainly make it a bit more expensive. Looking at an empty user talk page again, {{No article text}} is displayed there, and nobody cares how expensive that one is. If you still want to show the message, how about having it added there? Amalthea 14:56, 26 April 2013 (UTC)

{{No article text}} would be only for empty talkpages though, and as you say, that's of limited use. The only two messages shown on non-empty anon talkpages are MediaWiki:anontalkpagetext (at the bottom) and MediaWiki:Talkpageheader (at the top). I suppose we could ask for a new MediaWiki:Anontalkpageheader - but who knows how long we'd have to wait? But you're right about the new Echo system - we may as well wait a bit and see what happens with that. Rd232 talk 15:09, 26 April 2013 (UTC)
Return to "Talkpageheader" page.