ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Validate External Links/Sample files/exceptions.txt
Revision: 1139
Committed: Wed Aug 26 18:33:35 2020 UTC (5 years, 1 month ago) by iritscen
Content type: text/plain
File size: 2524 byte(s)
Log Message:
ValExtLinks: The 'I Just Broke All The Diff-Gazing' Commit. Revised file structure of the project and added the MIT license. Revised all documentation. HTTP and curl codes are now wiki-formatted and hosted online. In Val itself, I made these changes: Added --timeout argument to change default URL query timeout of 10 seconds. Revised the report header to be easier to read. Less advice is printed directly in the report and more is online at the location linked to under the Legend section.

File Contents

# Content
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:
2 #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.
3 #The recurring "problem" link.
4 #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.
5 #(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.
6
7 <pre>
8 BEGIN LIST
9 000-28,http://tain.totalcodex.net/,* -- always times out when accessed by 'curl'; link appears on multiple pages
10 EI,http://wiki.oni2.net/Main_Page,MediaWiki:Common -- necessary EI link to demonstrate circular arrow
11 000-28,https://mega.nz/#!x9oHxaLZ!-bOo-wwdj1fh925DYv1Qc6ErDSRl2HEgtWC-i2FtxtY,Oni_2_(Angel_Studios) -- Mega doesn't seem to like 'curl'
12 403,https://www.artelino.com/articles/japanese_mythology.asp,Oni_(myth) -- returns 403 despite being perfectly functional
13 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
14 301,https://discord.gg/eqDMnkD,OniGalore:Community_portal -- intentional use of link shortener
15 301,http://www.zbrushcentral.com/showthread.php?163445-Earthquake,File:Earthquake_(Samurai_Shodown)_ZBrush_model_(clay).jpg -- spurious redirect
16 IW,http://meta.wikimedia.org/wiki/MediaWiki:Common.css,MediaWiki:Common.css -- wrongful detection of URL within JS code
17 404,http://www.example.com/example.mov,MediaWiki:Common -- deliberate fake link just to generate the desired link icon
18 404,http://www.example.com/example.mp3,MediaWiki:Common -- ditto
19 301,http://genius.com/10788822,Talk:Restless_Souls -- weird double redirect takes us back to this URL
20 EI,https://wiki.oni2.net/Special:ListFiles?limit=500&ilsearch=Fallen,File:Fallen_Enemies.jpg -- EI link is necessary because ListFiles only takes a username parameter when linked to internally
21 END LIST
22 </pre>