Validate External Links/Exceptions: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(let's try something different (as of now, Val does not recognize this page))
 
(wording of instructions)
Line 1: Line 1:
If you believe that the Validate External Links script is mis-reporting certain external links as issues, add them here in order to remove 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, add them here in order to except them from ValExtLinks' reports. Each line needs three fields, separated by commas:
#The HTTP response code that ValExtLinks should expect, the expected 'curl' result code, or the code "IW" or "EI" — whatever you are seeing as the result in Val's report.
#The response code that ValExtLinks should expect. For NG links, this should be the exact HTTP response code or the 'curl' result code, whichever applies. You can also put "IW" or "EI" links here if that's how the link has to be presented on a certain wiki page.
#The recurring "problem" link.
#The recurring "problem" link.
#The wiki page that this link is appearing on; 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 where it appears on the wiki, put a '*' here.
#(optional) A comment explaining the exception.
#(optional) A comment explaining the exception. The only requirement is that the comment be separated from the previous field by a space. The "--"s used below are just for human readability.


<pre>
<pre>

Revision as of 13:35, 18 July 2020

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:

  1. The response code that ValExtLinks should expect. For NG links, this should be the exact HTTP response code or the 'curl' result code, whichever applies. You can also put "IW" or "EI" links here if that's how the link has to be presented on a certain wiki page.
  2. The recurring "problem" link.
  3. 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.
  4. (optional) A comment explaining the exception. The only requirement is that the comment be separated from the previous field by a space. The "--"s used below are just for human readability.
BEGIN LIST
000-28,http://tain.totalcodex.net/,* -- always times out when accessed by 'curl'; link appears on multiple pages
EI,http://wiki.oni2.net/Main_Page,MediaWiki:Common -- necessary EI link to demonstrate circular arrow
000-28,https://mega.nz/#!x9oHxaLZ!-bOo-wwdj1fh925DYv1Qc6ErDSRl2HEgtWC-i2FtxtY,* -- Mega doesn't seem to like 'curl'
403,https://www.artelino.com/articles/japanese_mythology.asp,Oni_(myth) -- returns 403 despite being perfectly functional
END LIST