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}}