Kategorî:Harv and Sfn no-target errors

Ji Wîkîpediya, ensîklopediya azad.
Ambox warning pn.svg
Ev kategorî ji bo kontrolkirina çewtiyên rûpelan in. Vê kategoriyê tenê ji bo ku vala ye jê nebin.

Displaying error messages[biguhêre | çavkaniyê biguhêre]

Currently, two user scripts reliably detect errors

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

Method 1 – Manual script installation
Go to Special:MyPage/common.js and add any of
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Trappist the monk/HarvErrors.js&action=raw&ctype=text/javascript');
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 2– .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.