Content deleted Content added
ce |
|||
(4 intermediate revisions by 3 users not shown) | |||
Line 5:
There has always been a problem with the {{tlx|harv}} and {{tlx|sfn}} families of templates: except that every link that is created by these templates is tested at creation, editors don't know if the link works. A remedy for that has been user-scripts like [[User:Ucucha/HarvErrors]]. But, not all editors use that script so broken harv links can go undetected for a long time. At the moment, there is [[Wikipedia:Bots/Requests_for_approval/AntiCompositeBot|prospective bot]] that would mark broken-link harv templates by adding {{tlx|broken footnote}} after the broken-link harv template.
I have another possible solution. I have created a [[Module:Sandbox/trappist the monk/harv link test|lua module]] that extracts reference linking data from cs1|2
:the harv template does not have a matching citation template
:more than one citation template matches the harv template
Line 511:
|-
| <code><nowiki>{{Cite book |date={{ISOtoMOS|2020-03-05}} |last=Gray |last2=White |title=Title |ref=harv}}</nowiki></code> || {{Cite book |date={{ISOtoMOS|2020-03-05}} |last=Gray |last2=White |title=Title |ref=harv}}
|}▼
|-▼
| <code><nowiki>{{Harvard citation no brackets/sandbox|White|2020}}</nowiki></code> || {{Harvard citation no brackets/sandbox|White|2020}}▼
|-▼
|-▼
|}▼
|-▼
| <code><nowiki>{{Harvard citation no brackets/sandbox|White|Black|2020|ref=WhiteBlack2020}}</nowiki></code> || {{Harvard citation no brackets/sandbox|White|Black|2020|ref=WhiteBlack2020}}▼
! colspan="2" | using {{pipe}}ref=▼
! colspan="2" | using {{pipe}}ref= and {{pipe}}harvid=▼
|}
Line 695 ⟶ 652:
|-
| <code><nowiki>{{Cite CE1913 | wstitle = Ecclesiastical Heraldry}}</nowiki></code> || {{Cite CE1913 | wstitle = Ecclesiastical Heraldry}}
▲|-
▲| <code><nowiki>{{Harvard citation no brackets/sandbox|
▲|-
▲| <code><nowiki>{{Harvard citation no brackets/sandbox|
▲|-
| <code><nowiki>{{cite EB9 |last=Adamson |first=Robert |authorlink=Robert Adamson (philosopher) |wstitle=Henry St John, Viscount Bolingbroke |volume=4 |pages=4–7}}</nowiki></code> || {{cite EB9 |last=Adamson |first=Robert |authorlink=Robert Adamson (philosopher) |wstitle=Henry St John, Viscount Bolingbroke |volume=4 |pages=4–7}}
▲|-
| <code><nowiki>{{eb9 |wstitle=Henry St John, Viscount Bolingbroke |volume=IV |pages=4–7}}</nowiki></code> || {{eb9 |wstitle=Henry St John, Viscount Bolingbroke |volume=IV |pages=4–7}}
|}
|