User:Pdebee/My sandbox1

From Wikipedia, the free encyclopedia

Introduction[edit]

The purpose of this user page is to keep track of articles that share a common problem which I am unable to fix myself. After collecting the names of such articles in a section below, I will ask fellow editor (User:Slivicon, who understand templates) to have a look at the symptom(s) of the problem, and then to teach me by example how to fix the first article in the list, so that I can apply the same solution to all the others.

Background[edit]

In the List of municipalities in Quebec, some articles have reference templates nested inside their 'References' section. They also have reference tags in the article's other sections, with duplicated name="..." clauses for different contents, which therefore cause this "cite error" message to appear in the references. For some reason, making the name="..." text strings unique for each ref tag content in the reference tags coded in the body of the article does not fix the problem and the "cite error" message persists.

However, articles which do not have reference templates nested inside their 'References' section but also have reference tags in other sections with duplicate name="..." clauses for different contents (and therefore also exhibit the same "cite error"), can be fixed by simply ensuring that those names="..." are unique for each ref tag located in the article.

Since I don't know how templates work, I don't understand the root cause of the problem and am currently unable to fix it. However, if a fellow editor were able to show me what to do by fixing just one article (or the template(s)!), then I am confident I would be able to learn and replicate the fix to all the others.

The two sections below show both cases:

  • of articles without reference templates nested inside their 'References' section, and the list of articles in which I have already fixed the "cite error" condition;
  • the list of all articles with reference templates nested inside their 'References' section, which exhibit the "cite error" message.

Article without reference templates nested in its 'References' section[edit]

In the article on Aguanish , the template shown in the Population section has two footnote parameters (area_footnotes = and population_footnotes =) that included a ref tag with name="cp2011", which caused this "cite error". As you can see, I fixed it by changing the name= value from "cp2011" to "crp2011", for the "2011 Community Profiles". (The "r" that I added simply stands for the first letter of Recensement.)

So far, I have applied the same fix to the following articles, but will obviously revert it if there is a better fix for all articles (i.e. with and without reference templates in their 'References' section):

Articles with reference templates nested in their 'References' section[edit]

The first one of these is: