Validate External Links/Exceptions

From OniGalore
< Validate External Links
Revision as of 17:24, 25 September 2022 by Iritscen (talk | contribs) (added exception)
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
EI,https://wiki.oni2.net/Special:ListFiles?ilsearch=door+poster,* -- EI link is necessary; used on all door poster image pages
000-35,https://www.easycalculation.com/decimal-converter.php,Adding_spawnable_characters
000-35,https://www.easycalculation.com/hex-converter.php,Adding_spawnable_characters
503,https://www.sharecg.com/v/18378/3d-model/Halo-Masterchief,AE:BGI
404,https://www.youtube.com/watch?v=6GKAbX1BB9I,AE:Trailer -- video blocked in my country
403,https://www.java.com/en/download/,Anniversary_Edition
000-35,https://bgigroup.ca/projects-1,BGI
403,https://gordillo.artstation.com/projects/4bNKW4,Duality
301,http://www.zbrushcentral.com/showthread.php?163445-Earthquake,File:Earthquake_(Samurai_Shodown)_ZBrush_model_(clay).jpg
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
403,https://www.adobe.com/products/catalog.html#category=3d-ar,Fuse
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
EI,http://wiki.oni2.net/Main_Page,MediaWiki:Common -- necessary EI link to demonstrate circular arrow
IW,http://meta.wikimedia.org/wiki/MediaWiki:Common.css,MediaWiki:Common.css -- wrongful detection of URL within JS code
000-92,https://chicagoreader.com/news-politics/monsters-in-a-box/,Oni
403,https://www.sec.gov/Archives/edgar/data/946581/000112528202003845/b320556.htm,Oni
403,https://www.artelino.com/articles/japanese_mythology.asp,Oni_(myth)
403,https://www.deviantart.com/hinxlinx/gallery?catpath=/&edit=0&q=oni,Oni_2_(Angel_Studios)
000-28,https://mega.nz/#!x9oHxaLZ!-bOo-wwdj1fh925DYv1Qc6ErDSRl2HEgtWC-i2FtxtY,Oni_2_(Angel_Studios) -- Mega doesn't seem to like 'curl'
302,https://www.nejm.org/doi/full/10.1056/NEJM199611143352004,Oni2:Slaves_of_War/Neo-Biology -- circular redirect
000-35,https://web.williams.edu/Biology/explodingflower/movies.html,Oni2:Slaves_of_War/Neo-Biology
404,https://www.turnerconstruction.com/experience/project/12AC/charlotte-douglas-international-airport-daily-parking-deck,Oni2:Slaves_of_War/Settings
000-92,https://khsuites.wordpress.com/tag/things-to-see-at-mexico-city/,Oni2:Slaves_of_War/Settings
000-92,https://emshort.blog/2011/06/18/choice-of-romance/,Oni2:Slaves_of_War/Story
302,https://www.urbandictionary.com/define.php?term=OP,Oni2_talk:Truth_Number_Zero/Course_Of_Events
301,https://discord.gg/eqDMnkD,OniGalore:Community_portal
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
403,https://www.researchgate.net/publication/262485473_The_Russia-China_Security_Partnership_in_the_Asia-Pacific_Region_Conjectural_and_Structural_Dimensions,Restless_Souls/Summary
302,https://www.nzz.ch/international/chinas-palast-diplomatie-in-afrika-ld.1692436,Restless_Souls/Summary
403,https://idw-online.de/de/attachmentdata8851.pdf,Restless_Souls/Technology
000-35,https://wexnermedical.osu.edu/blog/researchers-develop-regenerative-medicine-breakthrough,Restless_Souls/Technology
301,http://genius.com/10788822,Talk:Restless_Souls -- a double redirect takes us back to this URL
303,https://youtu.be/8KH6FWs99Aw?t=282,Talk:Restless_Souls/Summary -- video behind expanded URL is blocked in my country
404,https://www.youtube.com/watch?v=8pwD4J35-i8&t=350s,Talk:Restless_Souls/Summary -- video blocked in my country
000-92,https://bioethicsbytes.wordpress.com/2008/06/30/epigenetics-the-ghost-in-your-genes/,Talk:Restless_Souls/Technology
302,https://www.urbandictionary.com/define.php?term=skiddie,Talk:War_on_spam
403,https://www.amd.com/en/support,Troubleshooting
EI,https://wiki.oni2.net/Special:AllMessages?prefix=&filter=modified&lang=en&limit=50,User:Iritscen/WikiMods -- EI link is necessary
503,https://www.computerhope.com/jargon/w/wildcard.htm,XmlTools
END LIST