Validate External Links/Exceptions

From OniGalore
< Validate External Links
Revision as of 18:26, 1 November 2020 by Iritscen (talk | contribs) (replacing one excepted link, moving another)
Jump to navigation Jump to search

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 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.
  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 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.
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,Oni_2_(Angel_Studios) -- Mega doesn't seem to like 'curl'
403,https://www.artelino.com/articles/japanese_mythology.asp,Oni_(myth) -- returns 403 even though site works fine
000-28,https://www.echeat.com/free-essay/Symbolism-in-Fahrenheit-451-by-Ray-Bradbury-29746.aspx,Oni2:Phoenix -- site is just slow to respond
301,https://discord.gg/eqDMnkD,OniGalore:Community_portal -- intentional use of link shortener
301,http://www.zbrushcentral.com/showthread.php?163445-Earthquake,File:Earthquake_(Samurai_Shodown)_ZBrush_model_(clay).jpg -- spurious redirect
IW,http://meta.wikimedia.org/wiki/MediaWiki:Common.css,MediaWiki:Common.css -- wrongful detection of URL within JS code
404,http://www.example.com/example.mov,MediaWiki:Common -- deliberate fake link just to generate the desired link icon
404,http://www.example.com/example.mp3,MediaWiki:Common -- ditto
301,http://genius.com/10788822,Talk:Restless_Souls -- weird double redirect takes us back to this URL
302,https://www.nejm.org/doi/full/10.1056/NEJMoa2007764,User:Paradox-01/brain_dump -- ditto
EI,https://wiki.oni2.net/Special:ListFiles?limit=500&ilsearch=Fallen,File:Fallen_Enemies.jpg -- EI link is necessary because this special page can't take these parameters when linked to internally
EI,https://wiki.oni2.net/Special:AllMessages?prefix=&filter=modified&lang=en&limit=50,User:Iritscen/WikiMods -- ditto
404,https://commonfund.nih.gov/hmp/,Oni2:Slaves_of_War/Neo-Biology -- returns 404 even though site works fine
404,https://www.turnerconstruction.com/experience/project/12AC/charlotte-douglas-international-airport-daily-parking-deck,Oni2:Slaves_of_War/Settings -- returns 404 even though site works fine
302,https://javadl.oracle.com/webapps/download/AutoDL?BundleId=78825,Playing_in_Linux -- this is a d/l request that redirects to a one-time-use file link
503,https://archive.is/r7NFH,User:Paradox-01/brain_dump -- accessing with 'curl' always gets a 503
503,https://archive.is/d1sNZ,User:Paradox-01/brain_dump -- ditto
403,https://www.rki.de/DE/Content/Infekt/EpidBull/Archiv/2020/Ausgaben/38_20.pdf?__blob=publicationFile,User:Paradox-01/brain_dump -- 
END LIST