Template talk:Spinout

From Wikipedia, the free encyclopedia

[edit] Question

Does anyone know a way to get the edit section link to go in the right place without adding "[edit]" to the entry in the table of contents? Geometry guy 14:04, 19 April 2008 (UTC)

Wow, that is tricky. Putting the edit span before the h2 looks reasonably good except for the first section. The problem there is that mediawiki inserts the TOC after the span and before the h2. This can be fixed by explicitly asking for the TOC (with __TOC__) before the first section, if that section is a spinout. There is perhaps the teeniest bit more space than there should be, but one could use style= tweaks to move it down a few pixels if it looks bad. Let me know if you want a sample. JackSchmidt (talk) 22:44, 27 May 2008 (UTC)
Hrm, using CSS to move it down might be a little tricky and fairly fragile. Ideally we want the h2 to contain the edit span, but then it shows up in the table of contents. It would be trivial to write javascript to do this, but currently people are working on trimming down Mediawiki:common.js and might look down on yet another addition. I think the span before the h2 looks better than the span after, but the span after is more robust and makes more sense semantically. Hard problem, I think. JackSchmidt (talk) 22:56, 27 May 2008 (UTC)

[edit] Worth having?

I don't think this is a very good idea. Copy-pasting a lead from another article is a very lazy way of summarizing it, and the internal links and perhaps other formatting in that article's lead are often going to be undesirable repetitions. I would suggest deleting this or redirecting to something else. Richard001 (talk) 22:39, 19 April 2008 (UTC)

Please see Wikipedia talk:Summary style. There isn't much point in discussing the merits of this template here. Geometry guy 23:58, 19 April 2008 (UTC)

[edit] Fullurl magic word for secure

It would probably be better to use a magic word than to have the URL verbatim. I tend to use https://secure.wikimedia.org/wikipedia/en/w/index.php while on public wifi and this template's edit link would take me back to the insecure site. The fullurl magic word (documented at Help:Parser functions for instance) should fix this.

Should I just be bold and fix this, or just suggest and let GG commit it? JackSchmidt (talk) 22:17, 27 May 2008 (UTC)

I just did this. JackSchmidt (talk) 22:44, 27 May 2008 (UTC)