MediaWiki talk:Talkpageheader

Edit request on 23 April 2013
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 Village_pump_(proposals). 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. 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)
 * OK, my mistake, it does need IsIPAddress. But that makes it more expensive, doesn't it?
 * 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?)
 * 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)

&larr; Probably only with javascript since the hack doesn't work anymore. And the idea comes too late since 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)