Help talk:Style/Article summary templates

From ArchWiki
< Help talk:Style
Revision as of 12:01, 4 May 2014 by Kynikos (talk | contribs) (Non-English articles: mention Template:Related2)
Jump to: navigation, search

See also or Related in Article Summary?

I think we'd better be coherent whether to keep links, references etc. either in a "See also" section at the bottom of the article, or in one (or more) boxes under the Article Summary at the top right of the article.

See also #Article summary templates.

-- Kynikos 15:15, 21 September 2011 (EDT)

This is more a reminder than other, but I'm starting to like the idea of adding the rule to keep related ArchWiki articles in the Article Summary box only, and external links in See also sections only. Well, this way the "See also" default may even be changed (with bots, don't worry!) to a non-imperative, descriptive title like "Additional resources", "External links" or something like that. -- Kynikos 07:06, 14 December 2011 (EST)
Also remember that many external links in summaries can be found with Special:WhatLinksHere/Template:Article_summary_link. -- Kynikos 07:41, 24 January 2012 (EST)

Advantages of links in See also:

  • There is more space for link descriptions
  • It is likely one will read or skim the article before actively looking for additional reading material. This naturally leaves the reader at the end of the article. It is convenient for the reader in this case if links are at the end of the article. James Eder 00:29, 22 September 2011 (EDT)
  • It seems more common (elsewhere) to have links at the end of articles (when they are not inline with the rest of the text). Following common convention it may be better from a usability perspective. James Eder 00:29, 22 September 2011 (EDT)
    Especially for people used to Wikipedia, which uses the same wiki software. Vadmium 11:12, 26 October 2011 (EDT).
  • I am not sure how much we care about this but it having the links at the end could be more friendly to small form factor screens and screen readers. James Eder 00:29, 22 September 2011 (EDT)
  • As a section, "See also" gets its own TOC entry granting easy access from near the top of the article. Alternatively one may press the END key. James Eder 00:29, 22 September 2011 (EDT)
  • More formatting options here than in summary. Emiralle 13:12, 15 October 2011 (EDT)
  • More inclined to put external, or less closely related stuff here. Emiralle 13:12, 15 October 2011 (EDT)
  • See also section would not be skipped if you start reading the main text sequentially from the top. Vadmium.
  • [add more advantages...]

Advantages of links in Article Summary:

  • Immediately visible
  • Beyond some minor editing inconvenience, is there any real disadvantage of having the most interesting links in both locations? It could be advantageous for the reader to have some links in both locations. James Eder 00:29, 22 September 2011 (EDT)
  • I think putting very closely related links in the summary gives the topic more cohesion, and as James Eder said, they could be included at the bottom as well. Emiralle 13:12, 15 October 2011 (EDT)
  • It would theoretically be more effective in preventing duplication of content within the wiki, as (unexperienced) editors would have a clearer view of the articles where related content could already exist (true especially with series (or "rings") of articles on the same subject). -- Kynikos (talk) 02:46, 29 September 2013 (UTC)
  • [add more advantages...]

Deprecation of summaries and overviews

As discussed in #Original discussion, although article summaries were intended to have a different use from introductions, this difference is really too subtle to be understood by many, and this is reflected by the fact that in the vast majority of articles, if not in all of them, article summaries are misused, especially in two ways:

  • they substitute or duplicate the introduction
  • they provide a useless summary that is already evident by looking at the table of contents

Often an article summary is added only to justify the floated box in order to add related links, just click a few times on Special:Random and see for yourself.

Second, as touched on in ArchWiki:Requests#Mention UEFI boot loaders in the overview, overviews are hard to maintain and they seem an unnecessary complication, as a link to the main "overview" article would serve the purpose much better (Boot Loaders in that example), or, if an overview article is absent, an overview could be easily added to the article itself, e.g. in the introduction. Note that overviews are used very sparingly, so they can also be seen as a non-standard feature of our articles.

This discussion, therefore, intends to plan the deprecation of both article summaries and overviews, leaving the right-floated box only for related links.

Now, there would be 2 * 2 main ways to implement this:

1. Create a single Template:Related links template, that will host the links as its first argument

2. Create two templates, Template:Related links start, Template:Related links end that start and end the floated div, just like Template:Article summary start and Template:Article summary end

A. Create a Template:Related template in order to induce users to use a standard formatting

B. Allow content to be liberally added to the floated box


{{Related links|
{{Related|Link A}}
{{Related|Link B}}
{{Related|Link C}}


{{Related links start}}
{{Related|Link A}}
{{Related|Link B}}
{{Related|Link C}}
{{Related links end}}


{{Related links|
[[Link A]]

[[Link B]]

[[Link C]]


{{Related links start}}
[[Link A]]

[[Link B]]

[[Link C]]
{{Related links end}}

My preference goes to 1B.

I would be very strict and only allow simple internal links in the floated box, so no alternative link anchor, no link descriptions, no external links, no subheadings... That kind of links should only be used in "See also" sections. Of course any opposing opinions will be considered.

-- Kynikos (talk) 05:30, 10 November 2013 (UTC) (EDIT: Kynikos (talk) 06:30, 10 November 2013 (UTC))

My preference is 2B. It support [[fstab (简体中文)|fstab]] which is more clean. -- Fengchao (talk) 13:05, 10 November 2013 (UTC)
Good point, I didn't think of language tags. I'd prefer using a Related template in order to discourage exotic uses of the floated box, and also because otherwise links should be separated by blank lines, or <br> tags, or listed with bullet points, all solutions that look ugly to me.
My compromise proposal is localized Related templates:
{{Related articles start (简体中文)}}
{{Related (简体中文)|Link A}}
{{Related (简体中文)|Link B}}
{{Related (简体中文)|Link C}}
{{Related articles end (简体中文)}}
this would also allow using localized shortcut redirects:
{{Related articles start (简体中文)}}
{{zh-CN shortcut|Link A}}
{{zh-CN shortcut|Link B}}
{{zh-CN shortcut|Link C}}
{{Related articles end (简体中文)}}
Note that the Related_articles_start/end templates should need localized versions in any case. -- Kynikos (talk) 15:55, 10 November 2013 (UTC)
Is it possible to create optional second parameters for text to show. This could eliminate localized template:
{{Related links start|Start text}}
{{Related|Link A (简体中文)|Link A}}
{{Related|Link B (简体中文)|Link B}}
{{Related|Link C (简体中文)|Link C}}
{{Related links end}}
If this can not be done, then I am OK with 3A.
-- Fengchao (talk) 13:14, 11 November 2013 (UTC)
Ok, let's allow alternative anchors for Template:Related, but Template:Related_articles_start (better name than Template:Related_links_start) will have to have localized versions because I want to prevent anyone from using an alternative heading for purposes different than listing internal related articles. -- Kynikos (talk) 11:34, 12 November 2013 (UTC)
(I don't know if I'll be able to implement this before the weekend) -- Kynikos (talk) 13:52, 12 November 2013 (UTC)
Sorry for the late reply, I took an important test in Theoretical Physics today...
Note that the approach with Template:Related won't save you from unintended content - see Fonts. Though I completely support it, the additional description is really redundant, bad looking etc. Let's keep it as clean as possible.
We should also consider keeping Template:Article summary heading (under different name of course), it is appropriately used in Xorg. Though Xorg is pretty special in this case and most of the links are already linked from the article, so I won't miss it so much if it just goes away.
-- Lahwaacz (talk) 19:59, 13 November 2013 (UTC)
(Ok, we'll let you off this time, but remember that the ArchWiki always comes before trivial things like university exams :P Just kidding, I hope you did great!)
I know that the template approach is not fool proof, but as I've written it will be effective in discouraging misuses of the floated box.
About sub-heading templates I'm against, I don't really like exceptions, keeping it simple always pays back in the end, it will only be a matter of getting used to the new formatting.
-- Kynikos (talk) 09:43, 14 November 2013 (UTC)
OK, on second thought Xorg is just an exception and can be easily changed (the right box is almost as long as the table of contents, so slimming down will only help). Let's keep it simple. -- Lahwaacz (talk) 18:20, 14 November 2013 (UTC)
Right, starting work on #Procedure. -- Kynikos (talk) 01:40, 16 November 2013 (UTC)


Once the deprecation plan is approved, the steps for the transition are:

  1. [done] Create the new templates
  2. [done] Replace the documentation in all article summary and overview templates with warnings about their deprecation Update the relevant Help articles: Help:Style, Help:Template...
  3. [done] Update the relevant Help articles: Help:Style, Help:Template... Replace the documentation in all article summary and overview templates with warnings about their deprecation
  4. [done] Update the most important articles so that they will be taken as examples by everybody (remember to link to this discussion from the edit summary)
  5. Slowly update all the other articles, no need to rush this step; of course there's no way to do it with a bot, as there are too many variables
  6. Delete all article summary and overview templates

For each article:

  • If there's no introduction, just use the article summary
  • If there are both an introduction and a summary, merge the summary into the introduction, or just delete it if completely useless
  • If there's an overview, either copy it in the introduction, or, better, simply replace it with related links
  • Restyle all the existing related links to use the new formatting
  • Any other type of content should be moved to the article body, for example the "See also" section

A list of the articles currently using an article summary box can be found at Special:WhatLinksHere/Template:Article summary start. Note that they are really a lot, use Special:MostLinkedTemplates for following the countdown.

-- Kynikos (talk) 05:30, 10 November 2013 (UTC)

May I propose an additional step between 4) and 5): include some modified version of Template:Out of date with fixed message and links to this discussion (or other relevant page) into Template:Article summary start in order to induce contribution of other people and speed up the transition. -- Lahwaacz (talk) 19:50, 13 November 2013 (UTC)
Well, this conflicts a bit with the "no hurry" clause in 5). I wouldn't like to add an invasive note, maybe we could consider adding a superscript link like "Summary1" and/or a message in ArchWiki:News. -- Kynikos (talk) 09:43, 14 November 2013 (UTC)
We can wait a week (or longer) to see how things are going, do the problematic stuff ourselves and discover as much potential problems as possible etc., and then "invite" other people to help with the huge amount of simple stuff.
My point is that when the transition is in progress, at first sight there won't be any difference (assuming that Template:Related articles start will look the same as Template:Article summary start), only the updated pages will miss the Summary and Overview. If we add some deprecation note, then I'd expect at least some people to become involved.
I'd more like some text in the link, perhaps "SummaryDeprecated template" would be better. Anyway, this can be discussed when the time comes...
-- Lahwaacz (talk) 18:20, 14 November 2013 (UTC)
Of course some additional help for the simple cases would be very welcome; my intention would be not to confuse those readers who don't know/care what a template is (I suppose they are the vast majority), especially avoiding words like "deprecated", which may be associated to the piece of software discussed in the article.
What about something like "Summaryhelp replacing me"? Does it look very weird?
As you note, of course there's time to refine this, we'd better get to 4) (included) by ourselves.
-- Kynikos (talk) 15:12, 15 November 2013 (UTC)
The current stage of the procedure is rather slow, so I think we've already reached point 5). Btw. I'm fine with "help replacing me", even if it might seem weird - we want those templates to go away, right? -- Lahwaacz (talk) 21:56, 10 December 2013 (UTC)
Fair enough, let's see how effective it is. -- Kynikos (talk) 06:51, 11 December 2013 (UTC)
Swapped 2 and 3. -- Kynikos (talk) 02:42, 16 November 2013 (UTC)
1, 2 and 3 are done, 4 can be started. -- Kynikos (talk) 04:36, 16 November 2013 (UTC)
I hope that Arch Boot Process an related count as important articles, though I made a couple of silly mistakes, so the edits are by no means exemplary :(
Anyway, Special:WhatLinksHere/Template:Boot_process_overview and Special:WhatLinksHere/Template:Access_control_overview are almost empty, is it fine to just remove the overview template (English text) from localized pages? Or just replace it with the included text so that the templates can be deleted?
-- Lahwaacz (talk) 14:34, 16 November 2013 (UTC)
Arch Boot Process and related are indeed important, I like what you've done there, what mistakes have you done?
Yes, let's just hardcode Template:Boot_process_overview and Template:Access_control_overview where they're left transcluded and then I'll delete them.
-- Kynikos (talk) 06:06, 17 November 2013 (UTC)
...or better, let's replace them with direct transclusions of the categories where the text actually resides. -- Kynikos (talk) 06:14, 17 November 2013 (UTC)
Well, [1] speaks for everything... I also screwed up several edit summaries, copying only the text without adding brackets for the link ^^. (Actually I have an excuse for this one: for this weekend I'm stuck with really slow computer and Midori browser that does not have suggestions/completions for form entries, so I had to manually copy every single summary.)
I've taken care of Special:WhatLinksHere/Template:Boot_process_overview, the template can be deleted.
-- Lahwaacz (talk) 11:16, 17 November 2013 (UTC)
Eheh it's good to see that you strive for perfection ;) The template is deleted, good job again! -- Kynikos (talk) 10:27, 18 November 2013 (UTC)
Template:Networking_overview and Template:Graphical user interface overview can be deleted, just Pointone's userspace remains: Special:WhatLinksHere/Template:Networking_overview, Special:WhatLinksHere/Template:Graphical_user_interface_overview.
Well, Template:Graphical user interface overview is actually used also in #A crazy idea (about Summary templates, Overview templates and categories) in a way that changing it would compromise the discussion. I'll leave this problem to you as the originator of that discussion :)
-- Lahwaacz (talk) 16:15, 22 November 2013 (UTC)
All fixed, templates terminated. -- Kynikos (talk) 01:10, 23 November 2013 (UTC)
Tip: Wiki Monkey has a plugin that facilitates changing the templates.

List of deprecated templates

Probably all their translations should be replaced too... -- Kynikos (talk) 06:28, 17 November 2013 (UTC)

Replacing Article summaries with Related articles

The above discussion deprecated Template:Article summary start and related. This discussion is now directly linked from every instance of such template and explains how to perform the replacement.

English articles

Basically you want to go from this set of templates:

{{Article summary start}}
{{Article summary text|This is a short summary}}
{{Article summary heading|Required software}}
{{Article summary link|Name of software (version)|}}
{{Article summary heading|Required hardware}}
{{Article summary text|Name of hardware (Manufacturer)}}
{{Article summary heading|Related}}
{{Article summary wiki|Related article title 1}}
{{Article summary wiki|Related article title 2}}
{{Article summary wiki|Related article title 3}}
{{Article summary end}}

To this one:

{{Related articles start}}
{{Related|Related article title 1}}
{{Related|Related article title 2}}
{{Related|Related article title 3}}
{{Related articles end}}
  • If the article doesn't have an introduction, use the first {{Article summary text}}'s argument.
  • If the article already had an introduction, see if the first {{Article summary text}}'s argument can be merged there.
  • Any other type of content should be moved to the article body, for example {{Article summary link}}'s arguments should go in the "See also" section

Non-English articles

The procedure is the same as for #English articles, except that you will have to append the normal language suffix to {{Related articles start}}, for example in a Danish article:

{{Related articles start (Dansk)}}
{{Related|Related article title 1}}
{{Related|Related article title 2}}
{{Related2|Related article title 3|Translated title}}
{{Related articles end}}

You may need to create the translated template, for example Template:Related articles start (Dansk), by copying there the contents of Template:Related articles start and possibly translating them.

As you can see, in non-English articles it is also possible to use Template:Related2, which allows to enter a translated title as a second argument.

-- Kynikos (talk) 07:02, 11 December 2013 (UTC) (last edit: 12:01, 4 May 2014 (UTC))