User:DannyS712/errors

From Wikipedia, the free encyclopedia
Errors
DescriptionAdd a link to WP:ERRORS when needed
StatusStable
First releasedJanuary 5, 2019; 5 years ago (2019-01-05)
Version1.0
Updated05:14, 5 January 2019 (UTC)
Skin supportVector
SourceUser:DannyS712/errors.js


Create a link to Wikipedia:Main Page/Errors, the page to report errors on the main page. This link is added next to the "talk" link, and only appears when the page has "Main Page" in the name (the main page, Talk:Main Page, Main Page/Tomorrow, etc.)

Importation

This script can be imported to skin.js or common.js by adding:
importScript('User:DannyS712/errors.js'); // [[User:DannyS712/errors.js]]
or
{{subst:Iusc|User:DannyS712/errors.js}}