Hopp til innhold

Kategori:Harv and Sfn multiple-target errors

Fra Wikipedia, den frie encyklopedi

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

[rediger | rediger kilde]

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 en:User:Svick/HarvErrors.js, or en: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: [[:en:User:Svick/HarvErrors.js]]
importScript('User:Trappist the monk/HarvErrors.js'); // Backlink: [[:en: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.

Sider i kategorien «Harv and Sfn multiple-target errors»

Under vises 10 av totalt 10 sider som befinner seg i denne kategorien.