Википедия:Ошибки шаблонов CS1/2
Ниже перечислены некоторые часто встречаемые ошибки шаблонов цитирования CS1/2. Полный список см. на странице en:Help:CS1 errors.
Содержание
- 1 Нет заголовка
- 2 Неизвестный параметр
- 3 Проверьте параметр |url=
- 4 Используется устаревший параметр |<xxxx>
- 5 |firstn= требует |lastn=
- 6 Некорректное значение <параметр>=<значение>
- 7 Параметры |<параметр1>= и |<параметр2>= дублируют друг друга
- 8 Текст «????» пропущен
- 9 <символ> в |<параметр>= на позиции №n
- 10 Внешняя ссылка в |<параметр>=
- 11 |access-date= требует |url=
- 12 Непереведённое
- 12.1 Проверьте дату в |<param1>=, |<param2>=, …
- 12.2 |archive-url= is malformed
- 12.3 |archive-url= requires |archive-date=
- 12.4 |archive-url= requires |url=
- 12.5 |arxiv= required
- 12.6 |chapter= ignored
- 12.7 Check |doi= value
- 12.8 Check |isbn= value
- 12.9 Check |<param>-link= value
- 12.10 |class= ignored
- 12.11 |contributor= ignored
- 12.12 |contributor= requires |<param>=
- 12.13 Empty citation
- 12.14 |format= requires |url=
- 12.15 Missing |lastn= in Authors/Editors list
- 12.16 Missing or empty |url=
- 12.17 |trans-<param>= requires |<param>=
- 12.18 Unsupported parameter(s) in cite arXiv
- 12.19 URL-wikilink conflict
- 12.20 Vancouver style error
- 12.21 |<param>-access= requires |<param>=
- 13 Примечания
Нет заголовка[править код]
URL без заголовка[править код]
|<параметр>=требует указать название
Ошибка появляется, если у одного из параметров шаблонов CS1/2, содержащих URL, нет подходящего заголовка.
Также эта ошибка возникает, если одновременно присутствуют параметры |title-link= и |url=. В таком случае необходимо перенести содержимого одного из них в более подходящий параметр.
| URL | Заголовок |
|---|---|
|archive-url=
|
|title=
|
|chapter-url=
|
|chapter=, |contribution=, |entry=, |article=
|
|conference-url=
|
|conference=
|
|contribution-url=
|
|chapter=, |contribution=, |entry=, |article=
|
|transcript-url=
|
|transcript=
|
|url=
|
|title=
|
Исключительный случай: если заполнен параметр |pmc=, а параметр |url= пуст или отсутствует, то параметр |title= односится к обоим ссылкам — URL и PMC.
Статьи с этой ошибкой автоматически добавляются в категорию Категория:Ошибки CS1: прочее с ключом «голый URL».
Совсем нет заголовка[править код]
|title=пусто или отсутствует
Ошибка появляется, если в шаблоне серии CS1/2 каждый из параметров |title=, |trans-title= и |script-title= пуст или отсутствует, поскольку у шаблона цитирования должен быть заголовок.
Это может произойти потому, что шаблон цитирования используется в качестве короткой сноски — используйте взамен {{sfn}} или один из шаблонов семейства {{harv}}. Также возможно, что {{citation}} используется вместо {{citation needed}}.
|series=пусто или отсутствует
(не актуально для рувики) Ошибка появляется, если у {{cite episode}} параметр |series= пуст или отсутствует (даже если присутствует параметр |title=).
Статьи с этой ошибкой автоматически добавляются в категорию Категория:Ошибки CS1: не хватает названия.
Неизвестный параметр [править код]
- Неизвестный параметр
|xxxx= - Неизвестный параметр
|xxxx=(предлагается|yyyy=)
Ошибка появляется, если название параметра шаблона серии CS1/2 не распознаётся как одно из воспринимаемых названий. Старые шаблоны цитирования просто игнорируют такие ошибки, сохраняя мусор в тексте шаблона, в то время как шаблоны CS1/2 информирует о проблеме.
Обычно ошибка происходит из-за неправильной капитализации (|Title= вместо |title=) или опечатки. Попробуйте исправить название параметра или перенести его содержимое в другой параметр.
Большинство параметров шаблонов цитирования CS1/2 именуются строчными буквами. Если задан параметр с заглавными буквами (например, |Xxxx=, |xxXx= или |XXXX=), а шаблон распознаёт параметр со строчными (например, |xxxx=), то он будет предложен взамен. Также предлагаются некоторые устаревшие синонимы, популярные опечатки и переводы с других языков.
Параметры-идентификаторы могут могут быть введены также с заглавными буквами, но только всеми: |ISBN= или |isbn=, но не |Isbn=.
Список допустимых параметров можно найти на странице en:Help:Citation Style 1.
Статьи с этой ошибкой автоматически добавляются в категорию Категория:Ошибки CS1: неизвестные параметры.
Проверьте параметр |url=[править код]
- Проверьте параметр
|url=
Внешняя ссылка в шаблонах CS1/2 должна состоять из двух частей — заголовок (в параметрах |title=, |chapter= и т. д.) и URL (в параметрах |url=, |archive-url=, |chapter-url=, |lay-summary= и т. д.). Параметр |url= должен начинаться с одной из поддерживаемых схем URI, наиболее частые — http://, https:// и относительная схема //; также поддерживаются irc://, ircs://, ftp://, news:, mailto: и gopher://.
Поле URL проверяется на отсутствие нелатинских букв, пробелов и других недопустимых символов. Если схема не является относительной (начинающейся с //), то URL должен соответствовать RFC 3986.[1].
Для интернационализации URL’ов, которые находятся в нелатинских доменах вроде .рф, можно использовать онлайн инструменты, например IDNA Conversion tool.
Статьи с этой ошибкой автоматически добавляются в категорию Категория:Ошибки CS1: URL.
Используется устаревший параметр |<xxxx>[править код]
- Используется устаревший параметр
|<xxxx>
Устаревшие параметры — параметры, которые ранее активно использовались, но были заменены другими или просто объявлены устаревшими, а потому не рекомендуются к использованию. Устаревшие параметры шаблонов CS1/2 и рекомендованные замены перечислены ниже. Участникам Википедии следует ожидать постепенного отключения устаревших параметров, а потому использовать их только на свой страх и риск.
| Параметр | Замена |
|---|---|
|month=
|
как часть |date= вместе с |year=
|
|coauthors=
|
по степени рекомендованности, начиная с наиболее желательных:
|
|deadlink=
|
|dead-url= или |deadurl=
|
|class=
|
поддерживается только {{cite arXiv}}
|
|ASIN-tld=
|
|asin-tld=
|
Статьи с этой ошибкой автоматически добавляются в категорию Категория:Ошибки CS1: устаревшие параметры.
|firstn= требует |lastn=[править код]
|firstn=требует|lastn=в Authors list|firstn=требует|lastn=в Editors list
Шаблоны CS1/2 требуют указывать фамилию человека в параметре |lastn=, если его имя указано в параметре |firstn=.
Отображается только первая из подобных ошибок. Отображение в ошибке названия параметра как |lastn= — это некоторое упрощение, на самом деле ошибка может быть в одном из его синонимов вроде |editor-firstn= и т. д.
При наличии |lastn= наличие |firstn= не обязательно, но корректным будет указывать имя в отдельном параметре или указывать всё вместе в параметре |authorn= или другом соответствующем — например, |editorn=.
Статьи с этой ошибкой автоматически добавляются в категорию Категория:Ошибки CS1: авторы.
Некорректное значение <параметр>=<значение>[править код]
- Некорректное значение
|<параметр>=<значение>
Некоторые параметры шаблонов CS1/2 принимают только конечный набор допустимых значений и выдают эту ошибку для любого другого значения.
| Параметр | Возможные значения |
|---|---|
|dead-url= |
no, true, y, yes, unfit, usurped
|
|df= |
dmy, dmy-all, mdy, mdy-all, ymd, ymd-all
|
|ignore-isbn-error= |
true, y, yes
|
|last-author-amp=
| |
|mode= |
cs1, cs2
|
|name-list-format= |
vanc
|
|nopp= |
true, y, yes
|
|no-tracking=
| |
|registration=
| |
|subscription=
| |
|url-access= |
subscription, registration, limited
|
|bibcode-access= |
free
|
|doi-access=
| |
|hdl-access=
| |
|jstor-access=
| |
|ol-access=
| |
|osti-access=
|
Статьи с этой ошибкой автоматически добавляются в категорию Категория:Ошибки CS1: некорректное значение параметра.
Параметры |<параметр1>= и |<параметр2>= дублируют друг друга[править код]
- Параметры
|<параметр1>=и|<параметр2>=дублируют друг друга
Ошибка появляется, если у шаблона серии CS1/2 указано несколько параметров, имеющих одинаковый смысл. Например, параметры |author=, |last= и |last1= являются синонимами друг друга, поэтому из них можно использовать не более одного.
- Параметры author-name-list parameters дублируют друг друга
- Параметры editor-name-list parameters дублируют друг друга
Ошибка появляется, если используется сразу несколько схем указания имени автора. Например, наряду с параметрами |lastn= / |firstn= используется параметр |authors= или параметр |vauthors=.
Для исправления ошибки приведите имена к какой-нибудь одной из схем. Пожалуйста, используйте одну и ту же схему для авторов и редакторов.
Статьи с этой ошибкой автоматически добавляются в категорию Категория:Ошибки CS1: дублирующиеся параметры.
Текст «????» пропущен[править код]
- Текст «????» пропущен
В отличие от многих других шаблонов, шаблоны CS1/2 не используют нумерованных параметров. Если между вертикальными чертами нет знака равенства, то шаблон игнорирует этот фрагмент и выдаёт ошибку, даже если этот фрагмент является поддерживаемым именем параметра.
Также ошибка может возникать из-за вертикальной черты в URL или заголовке. Замените вертикальную черту в URL на %7c, а в викитексте — на | или {{!}}
Статьи с этой ошибкой автоматически добавляются в категорию Категория:Ошибки CS1: неименованные параметры.
<символ> в |<параметр>= на позиции №n[править код]
- <символ> в
|<параметр>=на позиции №n
Ошибка возникает, если в шаблоне серии CS1/2 параметр содержит невидимый служебный символ. Список символов, при появлении которых возникает такая ошибка:
- заменяющий символ, U+FFFD
- hair space, U+200A
- zero width space, U+200B
- zero width joiner, U+200D (может быть необходим для некоторых неевропейских языков)
- мягкий перенос, U+00AD
- табуляция, U+0009 (HT)
- перевод строки, U+0010 (LF)
- возврат каретки, U+0013 (CR)
- delete character, U+007F (DEL)
- C0 control, U+0000-U+001F (NULL-US)
- C1 control, U+0080-U+009F (XXX-APC)
Для удаления такого символа отсчитайте нужную позицию, начиная слева от знака равенства, но не учитывая пробелы между знаком равенства и значением параметра.
- <name> stripmarker в
|<параметр>=на позиции №n
Stripmarkers — служебные последовательности символов, которые MediaWiki использует как замену некоторых XML-тэгов, например, <gallery></gallery>, <math></math>, <nowiki></nowiki>, <pre></pre> и <ref></ref>. Stripmarkers заменяются на соответствующий контент перед рендерингом страницы. Шаблоны CS1/2 игнорируют stripmarkers для тэгов <math></math> и <nowiki></nowiki>.
Для устранения ошибки удалите лишний текст из параметра шаблона.
Статьи с этими ошибками автоматически добавляются в категорию Категория:Ошибки CS1: невидимые символы.
Внешняя ссылка в |<параметр>= [править код]
- Внешняя ссылка в
|<параметр>=
Ошибка происходит, если параметр шаблона серии CS1/2, предназначенный для заголовков — |title=, |chapter=, |publisher=, |work= или один из их синонимов: |journal=, |magazine=, |newspaper=, |periodical= и |website= — содержит внешнюю ссылку (URL). Такие ссылки загрязняют метаданные и могут приводить к нежелательным последствиям.
Ссылку можно удалить или перенести в подходящий параметр:
- для
|chapter=ссылка должна размещаться в|chapter-url=, - для остальных параметров — в
|url=.
Статьи с этой ошибкой автоматически добавляются в категорию Категория:Ошибки CS1: внешние ссылки.
|access-date= требует |url= [править код]
|access-date=требует|url=
Отображение этой ошибки временно отключено! Но категория добавляется.
В шаблонах CS1/2 параметр |access-date= и его синоним |accessdate= должны содержать дату, когда онлайн-источник, указанный в параметре |url=, был добавлен в статью.
Этот параметр не должен использоваться для онлайн-источников, которые содержат публикацию или другой текст с фиксированной датой. Перед удалением этого параметра постарайтесь узнать причину появления ошибки. Если параметр |url= отсутствовал или был удалён из-за нарушения авторских прав, удалите параметр |access-date=. Если параметр |url= был удалён, потому что ссылка стала мёртвой, верните его назад и попытайтесь починить его.
Статьи с этой ошибкой автоматически добавляются в категорию Категория:Ошибки CS1: accessdate без URL.
Непереведённое[править код]
Проверьте дату в |<param1>=, |<param2>=, …[править код]
- Проверьте дату в
|<param1>=, |<param2>=, ...
Отображение этой ошибки временно отключено! Но категория добавляется.
Необходимо перевести с учётом специфики русского варианта!
Шаблоны CS1/2 проверяют параметры, содержащих даты — на корректный формат, на существование таких дат и т. д.
См. ниже таблицу с примерами исправления ниже. Некоторые причины ошибок:
- невозможные даты — например, 29 февраля 2011
|access-date=должен содержать день, а не только месяц и год- ошибочная пунктуация
- лишний текст
- минусы или слэшы вместо дефиса в диапазонах дат
- опечатка или ошибочная капитализация
- несколько дат в одном параметре
- дата до 100 года н. э. — используйте
|orig-year=
See Help: Citation Style 1 for information about limitations in the CS1 citation templates' handling of date formats. The MOS section on date ranges describes how to separate dates in a date range. Do not use , –, or {{spaced ndash}} as these corrupt the metadata. To add an en dash, use the CharInsert edit tool or see Wikipedia:How to make dashes. You may also use this one: -. A bot is often able to correct the separator, provided the overall format is unambiguous.
Future dates in |date= in CS1|2 citations are limited to current year + 1; that is, for 2018, citation dates in 2019 are acceptable but citation dates in 2020 and beyond are not.
Dates prior to 1582 are treated as Julian calendar dates. Dates from 1582 onward are treated as Gregorian calendar dates. The Julian calendar was used in some places until approximately 1923. Three Julian calendar dates in the overlap period, 29 February in the years 1700, 1800, and 1900, will cause this error message because those years are not leap years in the Gregorian calendar.
The access date (in |access-date=) is checked to ensure that it contains a full date (day, month, and year) and is between 15 January 2001 (the founding date of Wikipedia) and today’s date plus one day, because it represents the date that an editor viewed a web-based source to verify a statement on Wikipedia. Because editors may be in time zones that are one day ahead of the UTC date, one extra day is accepted.
Статьи с этой ошибкой автоматически добавляются в категорию Категория:Ошибки CS1: даты.
| Проблема | Некорректное заполнение | Корректное заполнение |
|---|---|---|
| Hyphen in date range (use en dash) | |date=2002-2003 |
|date=2002–2003
|
| Slash in date range (use en dash) | |date=2002/2003 or |date=July/August, 2003 |
|date=2002–2003 or |date=July–August 2003
|
| Hyphen in date range (use en dash) | |date=April-May 2004 |
|date=April–May 2004
|
| Missing space around en dash for range of full dates | |date=April 2003–May 2004 |
|date=April 2003 – May 2004
|
| Month capitalization | |date=28 february 1900 |
|date=28 February 1900
|
| Month capitalization | |date=28 FEBRUARY 1900 |
|date=28 February 1900
|
| Season capitalization | |date=spring 2011 |
|date=Spring 2011
|
| Future date (typo) | |date=2102 |
|date=2012
|
| Access date in future (see note above) | |accessdate=Шаблон:Day+1, 2018 |
|accessdate=Шаблон:Currentmonthday, 2018
|
| Access date impossibly far in the past (typo) | |access-date=1 January 2001 |
|access-date=1 January 2010
|
| Access date only specifies month | |access-date=January 2015 |
|access-date=12 January 2015
|
| Ambiguous date range or year and month | |date=2002-03 |
|
| Bad abbreviation | |date=Febr. 28, 1900 |
|
| Nonexistent date | |date=February 29, 1900 |
|
| Undated | |date=Undated |
|date=n.d.
|
| Comma in month and year | |date=February, 1900 |
|date=February 1900
|
| Comma in season | |date=Winter, 1900–1901 |
|date=Winter 1900–1901
|
| Missing comma in format which requires it | |date=February 28 1900 |
|date=February 28, 1900 or |date=28 February 1900
|
| Non-date text | |date=2008, originally 2000 |
|date=2008 |orig-year=2000
|
| Zero-padding | |date=January 04, 1987 |
|date=January 4, 1987
|
| Date with slashes | |date=12/6/87 |
|
| Two-digit year | |date=87-12-06 |
|date=1987-12-06
|
| One-digit month or day | |date=2007-3-6 |
|date=2007-03-06
|
| Wikified date | |date=[[April 1]], [[1999]] |
|date=April 1, 1999
|
| «mm-dd-yyyy» or «dd-mm-yyyy» date format | |date=07-12-2009 |
|date=7 December 2009 or |date=12 July 2009or |date=July 12, 2009 or |date=December 7, 2009
|
| Approximate or uncertain dates | |date=circa 1970 or |date={{circa}} 1970 |
|date=c. 1970
|
|archive-url= is malformed [править код]
- Плохой
|archive-url=: <причина>
Archive.org allows a variety of urls to access snapshots of an archived page. Some of these are:
https://web.archive.org/web/YYYYMMDD— a single snapshot; this is the preferred form for use withhhmmss/http://www.example.com |archive-url=https://web.archive.org/web/*/http://— a wildcard search results page; useful for locating an appropriate snapshot but not appropriate in a citationwww.example.com https://web.archive.org/web/— incomplete timestamp; archive.org returns the most recent snapshot201603/http://www.example.com https://web.archive.org/save/http://— saves a new snapshot of the current target; do not use this formwww.example.com
There are two forms of the basic url:
https://web.archive.org/<timestamp>/...— the old formhttps://web.archive.org/web/<timestamp><flags>/...— the new form
The error message identifies the reason for the message. The reasons are:
- save command — the archive.org url is the save command
- path — web/ was expected but something else was found
- timestamp — the timestamp portion of the url path is not 14 digits
- flag — the flag portion of the url path (if present; new form urls only) is not 2 lowercase letters followed by an underscore: 'id_'
- liveweb —
liveweb.archive.orgis a deprecated form of the domain name
When the archive.org url has any of these errors, Module:Citation/CS1 does not link to archive.org and emits an appropriate error message.
To resolve this error, choose the url of an appropriate snapshot from those held at archive.org. Search for the target url.
Статьи с этой ошибкой автоматически добавляются в категорию Категория:Ошибки CS1: прочее с ключом "".
|archive-url= requires |archive-date= [править код]
|archive-url=требует|archive-date=
|archive-date= (or its alias, |archivedate=), identifies the date that the web resource was archived.
To resolve this error, provide a value for |archive-date=. For web resources archived at archive.org,[2] the archival date can be found in the |archive-url=; for resources archived at webcitation.org,[3] the cache date is included in the archive header.
Статьи с этой ошибкой автоматически добавляются в категорию Категория:Ошибки CS1: прочее с ключом "".
|archive-url= requires |url= [править код]
|archive-url=требует|url=
A properly formatted citation that includes |archive-url= and |archive-date= requires |url=. When the citation includes |dead-url=no, the ordering of elements in the rendered citation is changed to put the original url first.
To resolve this error, provide a value for |url=. For web resources archived at archive.org,[2] the original url can be found in the |archive-url= value; for resources archived at webcitation.org,[3] the original url is included in the archive header.
Статьи с этой ошибкой автоматически добавляются в категорию Категория:Ошибки CS1: прочее с ключом "".
|arxiv= required[править код]
- Не хватает
|arxiv=
{{cite arXiv}} requires one, but not both, of the identifier parameters |arxiv= or |eprint=.
To resolve this error, ensure that the template has |arxiv= or |eprint= with a properly constructed value.
Статьи с этой ошибкой автоматически добавляются в категорию Категория:Ошибки CS1: прочее с ключом "".
|chapter= ignored[править код]
- Параметр
|chapter=пропущен
CS1 templates {{cite web}}, {{cite news}}, {{cite journal}}, {{cite press release}}, {{cite podcast}}, {{cite newsgroup}}, as well as template {{citation}} when it uses |work= or any of its aliases, do not support |chapter= or the aliases |contribution=, |entry=, |article=, or |section=.
To resolve this error:
- use a more appropriate citation template, or
- place the content of the
|chapter=parameter in|title=, or - for {{cite news}},
|department=can be used to give the name of the newspaper’s section (e.g. Obituaries)
Статьи с этой ошибкой автоматически добавляются в категорию Категория:Ошибки CS1: прочее с ключом "".
Check |doi= value[править код]
- Проверьте параметр
|doi=
When CS1 and CS2 templates contain |doi=, a test is done to see if the prefix portion of the DOI value contains the proper 10. registry identifier. Additionally, the |doi= value is checked to make sure that it does not contain spaces or en dashes and does not end with punctuation. Further validation of the DOI is not performed.
To resolve this error, ensure that the |doi= value is correct.
Статьи с этой ошибкой автоматически добавляются в категорию Категория:Ошибки CS1: прочее с ключом "".
Check |isbn= value[править код]
- Проверьте параметр
|isbn=: <type>
CS1 and CS2 templates that contain |isbn= are checked to ensure that the ISBN is the proper length (ten or thirteen digits), that the ISBN uses the correct optional separators (simple space or hyphen), and that the final check digit is correct according to the ISBN specification. Only one ISBN is allowed in this field because the whole |isbn= value is included in the citation’s COinS metadata. See also Wikipedia:COinS. More than one ISBN, or characters that are not part of the ISBN, corrupt the COinS metadata and may also corrupt the link to Special:BookSources.
The error message <type> indicator can be:
- length — ISBN is not 10 or 13 digits
- checksum — ISBN has one or more incorrect digits; look for typos and transposition
- invalid character — ISBN has one or more 'digits' that is not in the allowed set appropriate to ISBN length
- invalid prefix — 13-digit ISBNs must begin with '978' or '979'
- invalid form — 10-digit ISBNs with the mis-positioned 'X' character
To resolve this error, ensure that the |isbn= value is correct, that only one ISBN is used, that the proper optional separators are used, and that no other text is included. Use the 13-digit ISBN when it is available. When a 10-digit ISBN is used, if the check digit is a lowercase 'x', change it to an uppercase 'X'.
- Do not try to resolve the error by simply recalculating the check digit. The check digit is there to check whether the main part of the number is correct. If the ISBN is failing to validate, it is likely that there is a typo in the main part of the number. In this case, recalculating the check digit results in an apparently valid ISBN that leads to the wrong source (or to nowhere).
- If you only have a 10-digit ISBN, do use the number as-is, do not try to convert it to the 13-digit form.
- If the ISBN as printed in your source is refusing to validate, do check both the front matter and the book cover for ISBNs. It is not uncommon for the ISBN to be misprinted in the front matter but correct on the cover.
- Do preview your edit and check that the new ISBN does now link to the correct source.
In very rare cases, publishers have released books with malformed ISBNs. If you are certain that a non-conforming ISBN truly corresponds to the published work, then you can add |ignore-isbn-error=true to the citation in order to suppress the error message. In many cases, books may have been reissued with a corrected ISBN. Use a corrected ISBN when possible.
Sometimes there are numbers assigned to |isbn= that appear to be legitimate — length is right, check digit is correct — but that aren’t true ISBN numbers. This tool may be helpful.
See also Wikipedia:ISBN.
Статьи с этой ошибкой автоматически добавляются в категорию Категория:Ошибки CS1: прочее с ключом "".
Check |<param>-link= value[править код]
- Проверьте параметр
|<param>-link= - Проверьте параметр
|<param>=
These link-holding parameters and their matching title-holding parameters are combined to create a working wikilink to a related article.
|
|
(Parameters checked for this error may also be of the form |authorlink=, |authorlink1=, |author1-link=, or |author-link1=.)
This error occurs when any of these |<param>-link= parameters contain a wikilink or a URL, or they contain any of the characters not permitted in Wikipedia article titles per WP:TITLESPECIALCHARACTERS (except _ (underscore), used as a replacement for spaces, and #, used as a fragment identifier when linking to article sections). The prohibited characters are: < > [ ] | { }.
The |<param>-link= parameter value should contain only the title of a Wikipedia article or a link to a section of a Wikipedia article. Модуль:Citation/CS1 checks the |<param>-link= parameter values for wikimarkup and for a URI scheme (http://, https://, the protocol relative scheme //, etc.).
This error can also be caused when there is a |<param>-link= value and the matching |<param>= parameter contains a wikilink.
To resolve this error, do one of the following:
- Ensure that the
|<param>-link=value is the full name of a Wikipedia article (without brackets) or a section of an article, and not a link to an external web site. - Make sure that there are no wikilinks in the matching
|<param>=parameters. - If you want to link to a URL outside of Wikipedia, move the link to
|url=or a similar parameter, if one is available in the template you are using.
Статьи с этой ошибкой автоматически добавляются в категорию Категория:Ошибки CS1: прочее с ключом "".
|class= ignored[править код]
|class=проигнорирован
Only used in {{cite arXiv}} templates, |class= is only appropriate when the template uses |arxiv=YYMM.NNNN or |arxiv=YYMM.NNNNN identifier formats; see Cite arXiv §Usage.
To resolve this error, remove |class=.
Статьи с этой ошибкой автоматически добавляются в категорию Категория:Ошибки CS1: прочее с ключом "".
|contributor= ignored[править код]
|contributor=проигнорирован
Only used in book citations, |contributor= identifies the author of a contribution, typically an afterword, forward, introduction, preface, etc., to another (primary) author’s work. This error occurs when |contributor= is used in a template that is not {{cite book}} or {{citation}} or is one of these two templates and one of the |work= parameter aliases is set.
To resolve this error, choose a more appropriate CS1 or CS2 template or remove |contributor=.
Статьи с этой ошибкой автоматически добавляются в категорию Категория:Ошибки CS1: прочее с ключом "".
|contributor= requires |<param>= [править код]
|contributor=требует|author=|contributor=требует|contribution=
Only used in book citations, |contributor= identifies the author of a contribution, typically an afterword, forward, introduction, preface, etc., to another (primary) author’s work. As such, the primary author is required (|author= or appropriate alias) as is the title of the contribution (|contribution=).
To resolve this error, include the book’s primary author in |author1=, or |last1=, |first1=, or |vauthors= and include the contribution title in |contribution=; or remove |contributor=.
Статьи с этой ошибкой автоматически добавляются в категорию Категория:Ошибки CS1: прочее с ключом "".
Empty citation[править код]
- Пустая ссылка на источник
A CS1 or CS2 template marked as «Empty» contains no recognizable parameter identifiers. For example, this citation is marked as «empty» even though it contains usable information:
{{cite web | http://www.foobar.com | The Foobar Bar}}
The citation is «empty» because it does not contain the necessary parameter identifiers (in this case |url= and |title=) that tell {{cite web}} how to use the information that the citation does contain.
A citation is also marked as «empty» when it contains only parameters that it doesn’t recognize:
{{cite book |titolo=The Foobar Bar |anno=2015}}
This citation is empty because the Italian-language parameters |titolo= and |anno= are not recognized as valid parameter names on the English Wikipedia.
«Empty citation» may also mean that an editor meant to use another template entirely. Perhaps the editor used {{citation}} when the intent was to use {{citation needed}} or {{quote}}.
To resolve this error, add appropriate parameter identifiers, translate foreign language parameter names to their English equivalents, or replace the CS1|2 template with a more appropriate template.
Статьи с этой ошибкой автоматически добавляются в категорию Категория:Ошибки CS1: прочее с ключом "".
|format= requires |url= [править код]
|format=требует|url=|...-format=требует|...-url=
These errors occur when CS1 and CS2 templates use |format= or |...-format= without also providing a corresponding URL for |url= or |...-url=, respectively. The |format= and |...-format= parameters are used to specify the file format of a web resource (e.g. PDF, DOC, XLS, etc.). In some cases an editor may have intended to use |type= to specify a kind of document (e.g. hard cover, paperback, pamphlet, etc.) The |format= and |...-format= value is always displayed.
The list of |...-format= parameters is:
|archive-format=,|chapter-format=,|conference-format=,|contribution-format=,|event-format=,|lay-format=,|section-format=,|transcript-format=
As of 29 November 2014, |chapter-format= is a new parameter. Citations that relied on the old, somewhat odd use of |url= and |format= may need adjustment.
To resolve this error, remove |format= or |chapter-format=; define |url= or |chapter-url=; or change |format= to |type= (or to |chapter-format= if |chapter-url= is used without |url=.
Статьи с этой ошибкой автоматически добавляются в категорию Категория:Ошибки CS1: прочее с ключом "".
Missing |lastn= in Authors/Editors list[править код]
- Не хватает
|lastn=в Authors list - Не хватает
|lastn=в Editors list
So that all authors and editors are listed in a rendered citation, CS1 and CS2 templates requires n in |lastn= (and its aliases) to increment by 1 for each author or editor. This error message is emitted when there is a 'hole' in the numbering (an author list made up of |author1= and |author3= but without |author2= for example).
The test will not detect a 'hole' that is larger than 1. It is presumed that when |authorn= and |authorn+1= are both not present, then the test has reached the end of the list.
The error message uses a sort of shorthand: |lastn= can refer to any of the legitimate |author= aliases in the authors list. Similarly, |lastn= refers to any of the |editor-last= aliases in the editors list.
To resolve this error, ensure that the numbering of the |lastn= parameters increments properly.
Статьи с этой ошибкой автоматически добавляются в категорию Категория:Ошибки CS1: авторы.
Missing or empty |url= [править код]
|url=пуст или отсутствует
This error message is reported by {{cite web}}, {{cite podcast}}, and {{cite mailing list}} when the template parameters |url= and |archive-url= are both missing, blank or not properly entered. Note that |website= or |work= is the name of the site, not the URL.
To resolve this error, provide a value for |url= or use a more appropriate template such as {{cite book}}, {{cite journal}} or other CS1 or CS2 template.
Статьи с этой ошибкой автоматически добавляются в категорию Категория:Ошибки CS1: прочее с ключом "".
|trans-<param>= requires |<param>= [править код]
|trans-title=требует|title=|trans-chapter=требует|chapter=
CS1 and CS2 templates report this error when the citation has an English translation of the title in |trans-title= or chapter title in |trans-chapter= but does not have the original-language title in |title= or original-language chapter title in |chapter=.
To resolve this error, provide the original language title for |title= or chapter title for |title=. Consider adding |language= if not already part of the citation.
Статьи с этой ошибкой автоматически добавляются в категорию Категория:Ошибки CS1: прочее с ключом "".
Unsupported parameter(s) in cite arXiv[править код]
- Не поддерживаемые параметры в cite arXiv
{{cite arXiv}} uses a limited subset of the common CS1 parameters. This error message is emitted when parameters not in the {{cite arXiv}} subset occur in a {{cite arXiv}} template.
To resolve this error, remove the unsupported parameters. See Шаблон:Cite arXiv for the complete list of supported parameters.
Статьи с этой ошибкой автоматически добавляются в категорию Категория:Ошибки CS1: прочее с ключом "".
URL-wikilink conflict[править код]
- Конфликт URL — викиссылка
External links in a rendered citation are a combination of url-holding parameters, |url=, |chapter-url=, etc., with title-holding parameters, |title=, |chapter=, etc. Title-holding parameters may be wikilinked to another Wikipedia article but not when there is a matching url-holding parameter in the citation. When this condition occurs, the wikilink is suppressed, the wiki markup ignored, and the rendered citation links to the external site.
Some templates will also cause this error if they are part of a title-holding parameter. The error occurs when the template produces wikilinked content. For example, {{lang}} templates output a wikilinked category. Templates in url-holding parameters may also corrupt the citation’s COinS metadata. As a general rule, avoid using templates in title-holding parameters unless you know that the template’s effects are entirely visual ({{!}} and the like).
This type of error may also occur in identifier-based templates ({{cite doi}}, etc.). When this happens, the error message is shown in the article but the error is actually located in the identifier-based citation template.
To resolve this error, remove wikilinks from title-holding parameters that are intended to be externally linked or remove the external URL, which will allow the internal wikilinks to work as expected. If wikilink-producing templates are important to the citation, move them out of the CS1 template but leave them inside the citation’s <ref></ref> tags. Some of the functionality provided by templates may also be available through CS1 parameters.
To resolve errors in identifier-based citation templates, the template must be edited to correct the error. Exercise caution when editing these templates because identifier-based citation templates are often used in multiple articles.
Статьи с этой ошибкой автоматически добавляются в категорию Категория:Ошибки CS1: прочее с ключом "".
Vancouver style error[править код]
- Ошибка ванкуверского стиля цитирования: ошибка
This error is reported for citations that use |name-list-format=vanc. Vancouver style restricts author or editor names to the Latin alphabet. For the purposes of this test, Модуль:Citation/CS1 defines the Latin alphabet as the letters defined in the Unicode Latin character sets:
- C0 Controls and Basic Latin[4] (0041-005A, 0061-007A)
- C1 Controls and Latin-1 Supplement[5] (00C0-00D6, 00D8-00F6, 00F8-00FF)
- Latin Extended-A[6] (0100-017F)
- Latin Extended-B[7] (0180-01BF, 01C4-024F)
This error is also reported when a corporate or institutional author is listed in |vauthors= without proper delimiters. Corporate authors should be listed this way:
|vauthors=First Surname FM, Surname AB,((Corporate or institutional Author)), Lastsurname XY
This error is also reported when more than two initials are used: in case of more than two initials, list only the first two.
While normally correct, sometimes the names listed on a PMID page contain errors when the author surname has a lowercase nobiliary particle. For example, PMID 17726700 lists Magnus von Knebel Doeberitz as Doeberitz Mv which is not correct. This author’s name should be listed as |vauthors=von Knebel Doeberitz M.[8]
Certain punctuation will be flagged as an error. For example, Unicode U+2019, right single quotation mark, causes an error because it is not a member of the Latin character sets identified above: |vauthors=Van’t Veer M. Replace this character with the straight (or typewriter) apostrophe: |vauthors=Van't Veer M.
To resolve this error, Romanize author and editor names.[9] Romanizing can result in two-letter initials, for example, the Greek letter 'Θ' Romanizes to 'Th'.[10] When author names have this kind of initial, Module:Citation/CS1 can’t know if this kind of initial is a typo or a legitimate Romanized character so it will emit the Vancouver error. To suppress the error after determining that the two-character initial is correct and not a typo, treat the name as if it were a corporate name by wrapping it in doubled parentheses: |vauthors=..., Tatarinov IuS, ... → |vauthors=..., ((Tatarinov IuS)), ...
Similarly, Chinese hyphenated given names may appear in PubMed listings. For example: 'Wang Hsien-yu' may be listed on PubMed as 'Wang Hy' which will result in a Vancouver error. When this occurs, and upon verification that such names are correct, wrap them in doubled parentheses.
Статьи с этой ошибкой автоматически добавляются в категорию Категория:Ошибки CS1: прочее с ключом "".
|<param>-access= requires |<param>=[править код]
|<param>-access=требует|<param>=
This error is reported when an access level has been specified for some external link, but the corresponding required parameter is missing or empty. The parameter can be one of
| specifier | required parameter |
|---|---|
|url-access= |
|url=
|
|bibcode-access= |
|bibcode=
|
|doi-access= |
|doi=
|
|hdl-access= |
|hdl=
|
|jstor-access= |
|jsor=
|
|ol-access= |
|ol=
|
|osti-access= |
|osti=
|
To resolve this error, either provide a value for the parameter, or remove the access level specification.
Статьи с этой ошибкой автоматически добавляются в категорию Категория:Ошибки CS1: прочее с ключом "".
Примечания[править код]
- ↑ "Scheme", Uniform Resource Identifier (URI): Generic Syntax, Internet Engineering Task Force, January 2005
- ↑ 1 2 archive.org website.
- ↑ 1 2 webcitation.org website.
- ↑ C0 Controls and Basic Latin. Unicode. Проверено 19 апреля 2015.
- ↑ C1 Controls and Latin-1 Supplement. Unicode. Проверено 19 апреля 2015.
- ↑ Latin Extended-A. Unicode. Проверено 19 апреля 2015.
- ↑ Latin Extended-B. Unicode. Проверено 19 апреля 2015.
- ↑ Other surname rules. National Center for Biotechnology Information.
- ↑ Patrias, K. Names in non-roman alphabets or character-based languages // Citing Medicine: The NLM Style Guide for Authors, Editors, and Publishers [Internet].. — 2nd. — Bethesda : National Library of Medicine, 2007.
- ↑ Greek. Library of Congress.