维基百科:AutoWikiBrowser/Template redirects
外观
文档
简介
- 本页列出模板重定向规则,供AWB读取后自动替换(当选取General Fixes选项时)。
- 每次AWB运行时都会载入本列表(当选取General Fixes选项时)。
- 在此加入模板重命名规则时,须先得到社群共识。
- 如果条目编辑只是更改模板名以避免重定向,那这算作“琐碎编辑”,因此不符合AWB的使用规则。一般来说,除非有共识认为有特别必要,否则替换模板使用名称必须伴随别的“非琐碎”编辑,而不是单独进行。
规则格式
备注
- 一个或多个模板可以重定向至某个目标模板,所有模板都以{{tl}}格式显示,多个模板间以半形逗号加空格隔开,“重定向至”应以“→”表示,目标模板以粗体标示。
- 首字母大小写不敏感,如{{full}}和{{Full}}会被当做同一个模板。
- 目标模板名的首字母大小写会根据原模板名的首字母大小写,名称为缩写的条目除外(即首三个字母都是大写)。
- 每项规则占一行。
- 包含在nowiki或HTML comment标签中的规则不会被读取。
- 每个实际模板应只有一项对应的规则。
- 工具不会看规则项目的排序,但建议以字母排序增加可读性。
- AWB的general fixes功能不会改动nowiki/pre/math等标签里面的模板名。
- AWB会盲目读取以下列表,不会确保目标模板的存在或者模板参数的正确。
范例
- 一对一模板重定向:{{tl|重定向1}} → '''{{tl|實際模板}}'''
- 一对一模板重定向: {{tl|Cn}} → '''{{tl|Citation needed}}'''
- 多对一模板重定向:{{tl|重定向1}}, {{tl|重定向2}} → '''{{tl|Actual template}}'''
- 多对一模板重定向:{{tl|Cn}}, {{tl|Fact}} → '''{{tl|Citation needed}}'''
Main and Category namespace rules
General templates
- {{FootnotesSmall}}, {{Refs}}, {{参考列表}}, {{脚注}} → {{Reflist}}
- {{Clearleft}} → {{Clear left}}
- {{Clearright}} → {{Clear right}}
- {{TA}} → {{NoteTA}}
Category templates
- {{Catmain}}, {{Cat more}}, {{Catmore}} → {{Category more}}
- {{CatRel}}, {{Cat see also}}, {{Related category}}, {{Catseealso}}, {{Catrel}}, {{See also category}}, {{See also cat}}, {{Catlink}}, {{See cat}}, {{Seealsocat}}, {{See also cats}} → {{Category see also}}
- {{Commons cat}}, {{Commonscat}}, {{Commons Category}}, {{Commonscategory}}, {{共享资源分类}}, {{共享资源分类}}, {{Cc}} → {{Commons category}}
- {{隐藏分类}}, {{隐藏分类}}, {{Hiddencat}}, {{Hcat}}, {{Hidden cat}} → {{Hidden category}}
消歧义模板
- {{Otheruses4}}, {{关于}}, {{关于}}, {{This article is about}}→ {{About}}
- {{About-not}} → {{About-distinguish}}
- {{About-distinguish2}}, {{About-not2}} → {{About-distinguish-text}}
- {{不是}}, {{Not}}, {{提示}}, {{混淆}}, {{分别}}, {{区别}}, {{NOT}}, {{本条目的主题不是}}, {{本条目主题不是}}, {{条目主题不是}}, {{主题不是}}, {{Confused}}, {{区分}}, {{Confusion}}, {{Confuse}}, {{RedirectNOT}}, {{Misspelling}}, {{Other uses2}}, {{不同于}}→ {{Distinguish}}
- {{姓氏顶注}} → {{Family name hatnote}}
- {{Details}}, {{See}}, {{More}}, {{相关条目}}, {{Detail}}, {{更多资料}}, {{Further information}}, {{更多资讯}}, {{More information}}, {{更多信息}}, {{相关条目}}, {{更多资料}}, {{更多资讯}} → {{Further}}
- {{Rellink}}, {{HAT}}, {{顶注}} → {{Hatnote}}
- {{印度姓名}} → {{Indian patronymic}}
- {{Main articles}}, {{主条目}}, {{Hurricane main}}, {{条目}}, {{主}}, {{页面}}, {{主页面}}, {{主页}}, {{主题目}}, {{MAIN}}, {{Main article}}, {{AP}}, {{主条目}} → {{Main}}
- {{Maincat}}, {{Main cat}} → {{Main category}}
- {{Mainlist}}, {{更详尽的列表}} → {{Main list}}
- {{Otherpeople}}, {{Other people2}}, {{同名人物}}, {{同名人物2}} → {{Other people}}
- {{Otheruse}}, {{条目消歧义}}, {{他用}}, {{Otheruses}} → {{Other uses}}
- {{重定向至此}}, {{Redirects here}}, {{Redirect to}}, {{Redirect here}}, {{重定向至}} → {{Redirect}}
- {{Distinguish-redirect}}, {{Redirect-not}}→ {{Redirect-distinguish}}
- {{多个重定向}} → {{Redirect-multi}}
- {{Redirect-also}}, {{重定向(同义)}}, {{重定向(同义词)}} → {{Redirect-synonym}}
- {{自我参照}} → {{Self-reference}}
- {{Seealso}}, {{参看}}, {{参见}}, {{另见}}, {{SeeAlso}}, {{See Also}}, {{Also}}, {{参见}}, {{参看}}, {{另见}}→ {{See also}}
- {{Seewikt}}, {{见维基词典}} → {{See Wiktionary}}
- {{技术原因}}, {{技术限制}}→ {{Technical reasons}}
页面讯息模板
维护模板
- {{Articleissues}}, {{Issues}}, {{多个问题}}, {{问题条目}}, {{Mi}}, {{数个问题}}, {{Article issues}}, {{多个问题}}, {{数个问题}}, {{问题条目}} → {{Multiple issues}}
- {{BLPunsourced}}, {{Blpunsourced}}, {{Blp unsourced}}, {{生者传记来源}}, {{BLP unreferenced}} → {{BLP unsourced}}
- {{Cn}}, {{FACT}}, {{来源请求}}, {{请求来源}}, {{Citationneeded}}, {{来源要求区}}, {{Cn span}}, {{Cn-span}}, {{Fact span}}, {{Cns}}, {{Fact-span}}, {{Reference necessary}}, {{CN}}, {{Citation needed span}}, {{来源要求}}, {{来源请求区}}, {{求来源}}, {{Cnspan}}, {{Fact}}, {{Source needed}}, {{来源请求}}, {{请求来源}}, {{来源请求区}}, {{来源要求}}, {{求来源}}, {{Need citation}}→ {{Citation needed}}
- {{Citationstyle}} → {{Citation style}}
- {{Attention}}, {{关注}}, {{Cleanup-date}}, {{清理}}, {{整理}}, {{Clean up}} → {{Cleanup}}
- {{Rewrite}}, {{Cleanup-rewrite}}, {{重写}} → {{Cleanup rewrite}}
- {{Copyedit}}, {{Grammar}} → {{Copy edit}}
- {{Deadlink}} → {{Dead link}}
- {{Dn}}, {{Disambiguation needed}} → {{需要消歧义}}
- {{Dispute}} → {{Disputed}}
- {{Expand-section}}, {{Sect-stub}}, {{Section-stub}} → {{Expand section}}
- {{Incomplete-list}}, {{Expand-list}}, {{Listdev}} → {{Expand list}}
- {{Expert}}, {{Expert-subject}}, {{专家}}, {{学者}}, {{专业}}, {{需要专家关注}}, {{需要专家关注}} → {{Expert needed}}
- {{Fansite}} → {{Fanpov}}
- {{Globalview}} → {{Globalize}}
- {{Howto}} → {{How-to}}
- {{OriginalResearch}}, {{Originalresearch}} → {{Original research}}
- {{ProseTimeline}}, {{Proseline}}, {{Prosetimeline}} → {{Prose}}
- {{Unverified}}, {{Not verified}}, {{Verify}}, {{Cleanup-verify}}, {{未经查证}}, {{RefImprove}}, {{改善来源}}, {{补充来源}}, {{增加来源}}, {{添加来源}}, {{更多来源}}, {{补充来源}}, {{Ref improve}}, {{Moreref}}, {{More references}}, {{Better source top}}, {{More citations needed}}, {{+r}}, {{+R}}, {{Ri}} → {{Refimprove}}
- {{Categorise}}, {{Categorize}}, {{Nocat}}, {{Uncat}}, {{Uncategorised}} → {{Uncategorized}}
- {{Unsourced}}, {{缺少来源的条目}}, {{Unref}}, {{Unreference}}, {{缺乏来源}}, {{Reference}}, {{Noreference}}, {{Noreferences}}, {{来源}}, {{没有来源}}, {{无来源}}, {{没来源}}, {{缺来源}}, {{缺少来源}}, {{Noref}}, {{No reference}}, {{No references}}, {{需要来源}}, {{出典の明记}}, {{Unr}} → {{Unreferenced}}
- {{Unreferencedsection}}, {{Unreferenced-section}}, {{Unreferencedsect}}, {{无来源章节}}, {{无来源章节}}, {{章节无来源}}, {{S-noref}}, {{Urs}}, {{Unrefsect}} → {{Unreferenced section}}
- {{Toolong}}, {{Verylong}}, {{超长}}, {{过长}}, {{超长}}, {{过长}}, {{太长}}, {{冗长}}, {{太长}}, {{Long}}, {{Too long}}, {{冗长}} → {{Very long}}