Kategorî:Harv and Sfn no-target errors
Xuyakirin
Displaying error messages
[biguhêre | çavkaniyê biguhêre]Currently, two user scripts reliably detect errors
- en:User:Svick/HarvErrors.js – Errors only
- en: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 two methods are
- Method 1 – Manual script installation
- Go to Taybet:MyPage/common.js and add any of
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Svick/HarvErrors.js&action=raw&ctype=text/javascript');
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 Taybet: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 Modul:Footnotes and Modul: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.
Gotarên di kategoriya "Harv and Sfn no-target errors" de
Di vê kategoriyê de 98 rûpel hene. Jêr 98 rûpel tên nîşandan.