Help talk:Cite errors/Archive 4
From Wikipedia, the free encyclopedia
| This is an archive of past discussions about Help:Cite errors. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
| Archive 1 | Archive 2 | Archive 3 | Archive 4 | Archive 5 | Archive 6 | → | Archive 8 |
Showing cite errors on other pages
A class has been added to {{broken ref}} so that errors on talk and other pages will show if enabled in Special:MyPage/skin.css. This does not add the page to a maintenance category.
span.brokenref {
display: inline;
}
For example, an error will show here if this is enabled.[1]
---— Gadget850 (Ed) talk 13:39, 3 April 2011 (UTC)
Fixing broken reference name: what if it was initially broken?
While fixing Category:Pages with broken reference names, I've found some of the references are broken since its add. Such as , which editor added <ref name="Gold Platin Datenbank"/>--the incorrect reference!
In other words, there's no history for these broken ref. They were not broken because someone deleted another ref like explained in the category:
This error usually occurs because someone deleted another ref with that same name that had text in it.
So, how to fix these broken refs? Delete them? Korrawit (talk) 05:51, 27 May 2011 (UTC)
- If they are broken from the start, then you have no way to fix them. Remove the broken ref and discuss it with the editor who added it. I suspect that they did a copy/paste from another article. ---— Gadget850 (Ed) talk 10:36, 27 May 2011 (UTC)
- ThanksKorrawit (talk) 13:50, 27 May 2011 (UTC)
Question: Who decided that refs should display a big red message when their personal stylistic preferences aren't followed
I'm just wondering who weighed the options and decided that a big unruly red message borking up an article is the means to justify the end - that being "descriptive ref names"? This is the case where if you name a ref with a number, an error message states that the ref name can't be an integer and should be more descriptive. There have been many cases were a year is far more appropriate to use as the name, but can't be because somebody has ensured that this template imposes their personal preferences. - ʄɭoʏɗiaɲ τ ¢ 11:39, 30 August 2011 (UTC)
- The error is generated by the Cite software extension— you can look at the code versions to see the authors. When the extension generates an error, it calls a MediaWiki interface page that defines the displayed message.
- I think your issue is that you can't use an integer as a reference name. Looking at the HTML output, the entries in the reference list are given HTML ids such as
cite_ref-0for an unnamed reference andcite_ref-name-0for a named reference. By using an integer, there is some chance that the software may generate duplicate ids which would result in invalid HTML and ambiguous links. You can easily resolve this by prefixing the integer with a character like an asterisk or percent. ---— Gadget850 (Ed) talk 13:43, 30 August 2011 (UTC)