头晕吃什么药好| 江西简称是什么| cj是什么意思| 茯苓是什么| 陈赫是什么星座的| 活检是什么检查| 音节是指什么| 1999年出生的属什么| 白果有什么功效| 见招拆招下一句是什么| 流鼻血是什么病| 国粹是什么| 经常饿是什么原因| 右手麻是什么原因| 冰袋里面装的是什么| 奕五行属什么| 囊中羞涩什么意思| 感冒发烧吃什么水果| 1921年是什么年| 通便吃什么药最快| plus什么意思| 甲减检查什么项目| 脖子凉是什么原因| npv是什么意思| 拉不出尿是什么原因| 送同学什么生日礼物好| 老抽和生抽有什么区别| 睾丸炎吃什么药最有效| 内急是什么意思| 虫合读什么| 什么原因会导致月经推迟| 钢琴8级什么水平| 神经外科和神经内科有什么区别| 腿痛挂什么科| 诗情画意的意思是什么| 红痣是什么原因引起的| 糖尿病人能吃什么| 纹身的人是什么心理| 18岁属什么的生肖| 什么是元气| 芼什么意思| 监守自盗什么意思| 什么粥减肥效果好| 惊奇地什么| 别车是什么意思| 口舌生疮吃什么药最好| 黑色裤子配什么颜色t恤| 电磁炉什么牌子好| 环状肉芽肿是什么皮肤病| 什么床品牌最好| 味精的主要成分是什么| ercp是什么意思| 硝酸是什么| 男人吃什么| 感统失调是什么意思| decaf是什么意思| 大便出血是什么原因| 太阳穴疼痛是什么原因| 宫颈短是什么意思| 什么的田野| 泡沫是什么材料做的| 什么样的贝壳| 弯是什么意思| 囊肿是什么原因造成的| 调制乳粉是什么意思| 一个黑一个俊的右边念什么| 大学校长是什么级别| 宗师是什么意思| 食邑万户是什么意思| 宰相是现在的什么官| 公务员属于什么行业| 伤口愈合为什么会痒| 打封闭针有什么坏处| 两肺纹理增重什么意思| ems代表什么| 什么是心衰| 百脚虫的出现意味什么| 异地办理临时身份证需要什么材料| 茶艺师是做什么的| 前列腺炎是什么原因引起| 拉肚子吃什么消炎药好| k开头的是什么车| 为什么超市大米不生虫| gi什么意思| 收尿干什么用的| 手麻胳膊麻是什么原因引起的| 总是抽筋是什么原因| 薜丁山是什么生肖| 提手旁的字与什么有关| 蒲公英什么时候开花| 什么地诉说| 记忆力衰退吃什么药| 血糖高吃什么水果降糖| 漫游是什么| 龙凤呈祥是什么生肖| 墨西哥用什么货币| 骨质疏松是什么症状| 眉眼是什么意思| 来大姨妈不能吃什么水果| 新加坡为什么说中文| 免疫十一项都检查什么| 小肠镜什么情况下需要做| 辅助生殖是什么意思| 尿蛋白十一什么意思| 旺夫脸是什么脸型| 宫颈口在什么位置| 私生子什么意思| 保家卫国是什么生肖| 大条是什么意思| 坐月子什么不可以吃| 骨密度低吃什么药最快| 声线是什么意思| 怀孕查雌二醇什么作用| 唐僧被封为什么佛| 腱鞘炎挂什么科| 人参果什么季节成熟| 什么发抖| 米娜桑是什么意思| 孕妇吃核桃对胎儿有什么好处| 长鱼是什么鱼| 1月13是什么星座| 梦到自己头发白了是什么意思| 仲夏夜是什么时候| 糖尿病什么水果不能吃| 看头发应该挂什么科| 石足念什么| 谷丙转氨酶偏高吃什么药| 呼吸道感染吃什么药最好| 什么人生病从来不看医生| 焱加木念什么| 腿麻是什么病的前兆吗| 下眼皮跳动是什么原因| 你正在干什么用英语怎么说| 什么是棱长| 干咳是什么原因| 肾结水是什么原因造成的| 什么什么的落叶| b型钠尿肽是什么意思| 桂皮是什么树的皮| 热伤风感冒吃什么药好| 黄芪最佳搭配是什么| 润物细无声是什么意思| 喝蜂蜜水对身体有什么好处| 岫玉是什么| 世界上最大的海是什么海| 鸢的俗称是什么| 放浪形骸是什么意思| 掰手指头响有什么危害| 男人前列腺炎有什么症状表现| 扁桃体发炎了吃什么药| 为什么会高反| 尿频尿急吃什么药最好| 尿里有红细胞是什么原因| 菩提树是什么树| 一夫一妻制产生于什么时期| 养老保险什么时候开始交| 什么是硬水| 老鸨什么意思| 什么是漏斗胸| 人的舌头有什么作用| 画龙点晴是什么生肖| 白术适合什么地方种植| ped是什么意思| 什么变化| 地道战在河北什么地方| 肠梗阻是因为什么原因引起的| 天煞孤星是什么意思| 什么水果助消化| 小资生活是什么意思| 香港买什么便宜| 山西的简称是什么| 927是什么意思| 输卵管堵塞有什么症状| 头发出汗多是什么原因| 什么里什么云| 扁头适合什么发型| 枫树的叶子像什么| 荪是什么意思| 2004属什么| 红花和藏红花有什么区别| 杨玉环是什么星座| 胡汉三回来了什么意思| 胃酸是什么症状| 脑供血不足吃什么中成药好| 莲子和什么搭配最好| 吃什么对前列腺有好处| 什么是湿热| 牙痛吃什么药| 什么去甲醛最快有效| 不建议什么意思| 月关是什么意思| 保税区是什么意思| 吃桂圆干有什么好处和坏处| 50分贝相当于什么声音| 螃蟹不能和什么食物一起吃| 孕妇缺铁对胎儿有什么影响| 双肾泥沙样结石是什么意思| 脸上老长痘痘是什么原因| 沐浴露什么牌子好| 淋巴细胞偏高说明什么问题| 被蜜蜂蛰了擦什么药| 农历又叫什么| 拥趸是什么意思| 和什么相什么| 介入超声是什么意思| 阴阳屏是什么意思| 尿道炎有什么症状| 耳朵后面疼是什么原因| 供奉财神爷有什么讲究| 不畏将来不念过往什么意思| 8月31日什么星座| 凉栀是什么意思| ip指的是什么| 多吃核桃有什么好处和坏处| 无话不谈是什么意思| 脚肿腿肿是什么原因引起的| 917是什么星座| 长得什么| ube手术是什么意思| 什么是人| 血糖高的人吃什么主食| 什么什么龙什么| 缺乏维生素b12的症状是什么| 拉杆箱什么材质的好| 洛阳白马寺求什么最灵| 铁杵是什么| 衤叫什么偏旁| 三跪九叩是什么意思| 大圣归来2什么时候上映| 吃了吐是什么原因| 鸟屎掉头上有什么预兆| 女性一般什么年龄绝经| 春风什么什么| 前列腺炎吃什么药效果好见效快| 盥洗是什么意思| 川崎病是什么| 丑什么意思| 什么的肥料| 脚掌疼是什么原因| 贝字旁与什么有关| 臀纹不对称有什么影响| 什么是uv| 梦见佛像是什么预兆| 梦见手机丢了又找到了是什么意思| 五月十六日是什么星座| 神采什么什么| 腘窝囊肿是什么原因引起的| 为什么会长阴虱| 经常放臭屁是什么原因| 贾宝玉的玉是什么来历| gmail是什么邮箱| 反常是什么意思| 头发为什么会变黄| 早孕期间吃什么最营养| 什么样的人容易得心梗| 孕酮偏低是什么原因| 911是什么| 一个虫一个尧念什么| 国民党为什么会失败| 没什么打什么| 梦见订婚是什么意思| 壬申日是什么意思| 非萎缩性胃炎是什么意思| 乌鸦嘴是什么意思| 百度
百度 耿爽表示,中方一贯尊重各国依据国际法在南海享有的航行和飞越自由,但坚决反对有关国家打着航行飞越自由的旗号,威胁和损害包括中国在内的沿海国的主权和安全利益。

This category holds articles that use any of the short-cite templates ({{harv}} and {{sfn}} template families, and {{harvc}}) where one or more of those short-cite templates do not properly link to a full citation, the target, or where multiple full cites can be the target of a single short-cite template.

Due to technical limitations, Category:Harv and Sfn no-target errors contains many articles with false-positive errors. No-target error messages are hidden by default. Articles with multiple-target errors are listed in Category:Harv and Sfn multiple-target errors. Multiple-target errors are not susceptible to false-positive errors so those errors are not suppressed. Several options to view error messages are detailed below, as well as possible ways to resolve errors.

Displaying error messages

edit

Currently, two user scripts relatively reliably detect errors

as well as a third experimental method based on customizing a .css page. The three methods are

Method 1 – Automatic script installation
Go in the 'Gadgets' tab of your preferences and select the 'Install scripts without having to edit JavaScript files' option at the bottom of the 'Advanced' section.
Click on the 'Install' button in at the top of either User:Svick/HarvErrors.js, or User:Trappist the monk/HarvErrors.js
Method 2 – Manual script installation
Go to Special:MyPage/common.js and add any of
importScript('User:Svick/HarvErrors.js'); // Backlink: [[User:Svick/HarvErrors.js]]
importScript('User:Trappist the monk/HarvErrors.js'); // Backlink: [[User:Trappist the monk/HarvErrors.js]]
in your skin page, like this. Alternatively, you can go to Special:MyPage/skin.js to make the script apply only to your current skin.
Method 3 – .css code for error messages emitted by the short-cite templates
Error messages are emitted by the various short-cite templates via Module:Footnotes and Module:Harvc. Because of technical limitations, the modules can emit false-positive error messages along with valid error messages. For this reason, no-target error messages are hidden by default. To show these hidden error messages, include the following text in your common.css page or your specific skin.css page:
.harv-error {display: inline !important;} /* display Module:Footnotes errors */
Error message display may be enabled in the future.

Error messages

edit

If short-cite template error messages are enabled, editors can see these messages:

  1. Harv/sfn error: no target: <anchor ID> – short-cite template cannot find <anchor ID> so cannot link to a full-cite target. Causes for this can be:
    1. the article does not have full-cite target with <anchor ID>
    2. the matching full-cite target is a cs1 or cs2 template that:
      1. has |ref=none
      2. uses a redirect name when that redirect does not begin with cite or cita – these two forms cover most of the cs1|2 redirects
    3. the full-cite target does not use exactly the same author or editor surnames and/or date as listed in <anchor ID>
    4. the short-cite template links to a full-cite target that is a wrapper-template; see false-positive errors below
  2. Harv/sfn error: multiple targets (n×): <anchor ID> – short-cite template found more than one full-cite target with a matching <anchor ID>. Causes for this can be:
    1. authors' writings from different sources produced in the same year cited without disambiguation |date=2020a, |date=2020b
    2. redundant use of the full cite where one full-cite target might be in a References section and a duplicate might be in a Further reading section

Similar (although not identical) messages are emitted by the user scripts. See the script documentation.

Resolving errors

edit

Ways of resolving legitimate no target errors include:

  • adding a missing full citation. When short citations are copied from one article to another without a full citation, you can sometimes find the full citation in a related article using Wikipedia's search feature.
  • correcting the author and/or editor names in either the short or full citation so that they match each other
  • correcting or adding dates in either the short or full citation so that they match each other; remember that date ranges are separated with an ndash character (–)
  • converting a plain-text full citation into a templated citation using one of the cs1|2 families of templates (e.g. {{Cite book}})
  • change cs1|2 template redirect names that do not begin with cite or cita to the target of the redirect (e.g. change {{encyclopedia}} to {{cite encyclopedia}})
  • create and use {{cite ...}} redirects for citation wrapper templates: {{<whatever>}}{{cite <whatever>}}. Consider renaming the wrapper template so that its canonical name is {{cite <whatever>}} because there are automated processes out there that rename redirects to their canonical names; once renamed by these drones, false-positive error messaging may reappear.
  • wrapping a plain-text citation inside {{wikicite}} and setting |ref= or |id= as appropriate to match the value expected by the short-cite template
  • placing {{anchor}} adjacent to the plain-text citation; set the {{anchor}} parameter value to the value expected by the short-cite template
  • set the short-cite parameter |ref=none to suppress anchor ID link creation

Ways of resolving false positive no target errors include:

Ways of resolving multiple targets errors include:

  • adding |ref=none to cs1|2 templates
  • adding disambiguation letters to |date= and to the {{sfn}} template when there are multiple full citations to works in the same year by identical authors or editors
  • converting redundant full citations into short citations using {{sfn}}, leaving only one full citation to the referenced work in the article
  • entirely removing a redundant full citation, e.g. identical full citations in a "Bibliography" section and in "Further reading"

No advice is given for resolving false-positive errors.

Current limitations and false-positive errors

edit

Brief explanation

edit

When a short-cite template links to a full citation that is rendered by a template that wraps a CS1 template, like {{cite DNB}} (which wraps {{cite encyclopedia}}), a no target error may be displayed even when the short-cite template is valid and the link works. That is a "false positive" error. If you find what looks like a false positive error, please report it on the talk page for this category, and another editor will either fix the article or add the template in question to Module:Footnotes/whitelist.

Details

edit

The short-cite templates employ an article reader to read the article's raw wikitext (the same text that you see in the source editor's edit window). While reading the wikitext, the article reader looks for a variety of templates that can create anchor IDs. For each such template found, the article reader attempts to extract the necessary information to determine the template's anchor ID, if it produces one. For cs1|2, the most common long-form citation templates, the article reader looks for:

  • The default anchor ID created by the template automatically: up to four author / editor / contributor surname(s) and the year portion of the date
  • |ref={{sfnref}}: the anchor ID generated by {{sfnref}} (or its redirect {{harvid}})
  • |ref=<plain text>: the anchor ID is the <plain text>

The article reader extracts similar information from other templates as appropriate for those templates.

Each long-form citation anchor ID is saved in a list along with a tally indicating how many of that ID the article reader found. When the short-cite template renders its output, it looks for its target anchor ID in the anchor-ID list:

  • anchor ID found and the tally is 1: short-cite template is rendered without error message
  • anchor ID found and the tally is 2 or more: short-cite template is rendered with a multiple target error message and the article is added to Category:Harv and Sfn template errors
  • anchor ID not found: short-cite template is rendered with a no target error message and the article is added to Category:Harv and Sfn template errors

The no target errors may be true errors or may be false-positive errors. For true errors, there is no anchor ID in the article to match the anchor ID expected by the short-cite template. A false-positive error occurs because the article reader can only read the article's raw wikitext, it cannot burrow into wrapper templates. Wrapper templates enclose the template that creates the anchor ID. This enclosure hides the necessary details, so the article reader cannot determine that wrapper template's anchor ID. For example, {{cite DNB}} is a wrapper template that encloses {{cite encyclopedia}}. The values assigned to the {{cite DNB}} parameters |year= and |supplement= tell {{Cite DNB}} how to set editor names and date in its call to the enclosed {{cite encyclopedia}}, which uses them to create the wrapper template's anchor ID. When a wrapped template creates a matching anchor ID that the article reader cannot see; the link from short-cite to long-form citation works but is marked with a no target false-positive error message.

Subcategories

This category has the following 2 subcategories, out of 2 total.

Pages in category "Harv and Sfn template errors"

This category contains only the following page. This list may not reflect recent changes.

大便呈绿色是什么原因 双子座是什么象星座 行动派是什么意思 胰尾显示不清什么意思 喝山楂水有什么功效与作用
莲子心和什么搭配最佳治失眠 呼和浩特有什么特产 食道癌有什么症状 为什么吃鸽子刀口长得快 云南有什么山
新生儿什么时候吃ad 孕妇可以喝什么饮料 138是什么意思啊 什么食物降血脂 早上起床口苦是什么原因
脑梗吃什么药好 耳钉后面的塞子叫什么 什么花能吃 缺氧是什么症状 发改委是管什么的
萎缩是什么意思hcv9jop3ns2r.cn 为什么会掉头发hcv9jop0ns8r.cn 拔胡子有什么危害hcv8jop2ns8r.cn 右后背疼是什么病imcecn.com 小腿肿胀是什么原因引起的hcv8jop7ns8r.cn
背德感是什么意思hcv7jop7ns3r.cn 梦见打苍蝇是什么意思hcv8jop8ns0r.cn 爱之深恨之切是什么意思hcv8jop2ns5r.cn 低频是什么意思hcv8jop0ns9r.cn 坐骨神经痛吃什么药好hcv9jop5ns6r.cn
后背发痒是什么原因hcv9jop5ns2r.cn 什么忙什么乱hcv9jop5ns5r.cn 阴谋是什么意思hcv8jop8ns9r.cn 2157是什么意思hcv8jop1ns0r.cn 直肠炎吃什么药效果好jiuxinfghf.com
葵水是什么hcv8jop6ns8r.cn 口吐白沫是什么原因gysmod.com 四六风是什么病gangsutong.com 尿道痒男吃什么消炎药wuhaiwuya.com 清晨醒来口苦是什么原因hcv8jop7ns7r.cn
百度