Jump to content

Validate External Links/Exceptions: Difference between revisions

m
wording
No edit summary
m (wording)
Line 1: Line 1:
If the Validate External Links script is mis-reporting certain external links as issues when they actually work fine, add them here in order to except them from ValExtLinks' reports. Each line needs three fields, separated by commas:
If the Validate External Links script is mis-reporting certain external links as issues when they actually work fine or when the link has to be presented that way for a specific reason, add them here in order to exempt them from ValExtLinks' reports. Each line supports four comma-separated fields, the first three required:
#The response code that ValExtLinks should expect. For NG and RD links, this should be the exact HTTP response code or the 'curl' result code, whichever applies. You can also put an IW or EI link here if that's how the link has to be presented on a certain wiki page.
#The response code that ValExtLinks should expect. For NG and RD links, this should be the exact HTTP response code or the 'curl' result code, whichever applies. You can also put "IW" or "EI" here to exempt a warning about an interwiki or external internal link.
#The recurring "problem" link.
#The recurring "problem" link. Place a '*' as a wildcard at the end of a URL to match multiple links.
#The wiki page that this link is appearing on. Use the proper page name, i.e. underscores where the displayed name has spaces. To exempt this link from Val's report regardless of where it appears on the wiki, put a '*' here.
#The wiki page that this link is appearing on. Use the proper page name, i.e. underscores where the displayed name has spaces. To exempt this link from Val's report regardless of what page it appears on, put a '*' here.
#(optional) A comment explaining the exception. The only requirements are that the comment be separated from the previous field by a space and that you don't use any commas in the comment since this is a comma-separated value list. The "--"s used below are just for human readability.
#(optional) A comment explaining the exception. The only requirements are that the comment be separated from the previous field by a space and that you don't use any commas. The "--"s used below are only for human readability.


<pre>
<pre>