This category holds articles that use any of the short-cite templates ({{harv}}
and {{sfn}}
template families, and {{harvc}}
) where multiple full cites can be the target of a single short-cite template. See guidance at Category:Harv and Sfn template errors to resolve.
Search this category for a topic
Displaying error messages
Currently, two user scripts relatively reliably detect errors
- User:Svick/HarvErrors.js – Errors only
- User:Trappist the monk/HarvErrors.js – Errors + Warnings about potential errors when short footnote templates are used. This has substantially fewer pointless warnings than Ucucha's old script.
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.
Pages in category "Harv and Sfn multiple-target errors"
The following 54 pages are in this category, out of 54 total. This list may not reflect recent changes.
You must be logged in to post a comment.