ValExtLinks: The messages about skipping URLs now show the wiki page's namespace. Added 504 to known response codes.
ValExtLinks: Val can now recognize bad YouTube links (no thanks to YouTube). Fixed some math errors. Added error 429 to known codes.
ValExtLinks: Changed --suggest-snapshots to --suggest-snapshots-ng and added --suggest-snapshots-ok for getting snapshot URLs for all good links. This can be used to confirm that sites are backed up in case they die in the future, but note that this argument will take hours to run due to the API rate limit. Added awareness of API rate limit so Archive.org will not start blocking script.
ValExtLinks: Replace all occurrences of HTML-encoded '&'s in exception URL, not just the first.
ValExtLinks: Added .do to recognized page suffixes.
ValExtLinks: Changed --skip-archive-links argument to --check-archive-links because the default should be to skip them. Val now uploads all three formats of its report, and links to the RTF and TXT versions from the HTML one. Val can also now tell whether each upload succeeded. A report with no link issues will print a placeholder message in that section of the report. Fixed a bug where Val thought a link should be an interwiki link when it was really a link to an archive.org snapshot from said wiki.
Val now tries each URL three times. This has proven more effective than giving Val a long timeout and trying each URL once. The summary report has been refined a bit; the most notable change is that the final number and breakdown of link issues leaves out the excepted links. Also stopped Val from getting confused by HTML-encoded '&'s in the exceptions list.
Committing the changes to Val which I meant to commit over a week ago. I committed everything but the updated script itself. See last Val commit message for list of changes.
ValExtLinks: Added '.full' as a recognized page suffix.
ValExtLinks now reads its exceptions list from a wiki page instead of a text file that only I can change.
Added option to not validate archive.org URLs, as those are unlikely to go bad, and we have an increasing number of them. Val now reports trivial redirect settings in Config section.
Val now counts redirects from youtu.be to youtube.com as OK links. These links will be reported on if the argument --show-yt-redirects is used. Renamed --show-https-upgrade to --show-https-upgrades for consistency. Also sorted the file and page suffix arrays and added some more items to them. Now handling status codes 400, 418, 502 and 530. Fixed incorrect nbsps in HTML report. Val is no longer confused by URLs ending in '(' or ')', or which contain a '%' towards the end.
Val no longer prints the result codes for IW and EI links, since that doesn't really make sense. Fixed a spacing issue in HTML report.
Val now removes the annoying ':80' in many Archive links.
Fixed bug in Val that was causing dozens of 403 errors to be returned unnecessarily. Polished report wording and messages a little.
Val now links to wiki pages using HTTPS instead of HTTP. Fixed code that exempts minor forms of redirects from being listed. New arguments --show-added-slashes and --show-https-upgrade allow one to turn off these exemptions. Reworked summary section extensively to be more readable.
Val's reports now print section headers for the init/config stage and for the link results themselves.
Properly fixed Val's parsing of Archive API responses this time. Added a little space between each link result, making report much easier to read.
Fixed ValExtLinks' reading of Archive API replies. Fix for reading links that happen to have a shebang in them. Now knows how to handle NULL namespace links. Now prints elapsed time.
ValExtLinks: Fixed bug in interwiki link suggestions. Corrected documentation error.
ValExtLinks improvements: - Now advises reader of external internal links. - The exceptions file now allows finer-grained exemption of a URL by matching to the specific page that contains it instead of exempting all occurrences of that URL (but the '*' wildcard will match all containing pages). Currently you can only list a URL once, however. - The exceptions file now allows external internal and potential intrawiki links to be exempted from the report. - The path to Google Chrome (for taking screenshots) is now external to the script, supplied as an argument after "--take-screenshots". - All of OniGalore's interwiki shortcuts are now recognized. - Protection against failed retrieval of redirect URL. - Better recognition of unimportant redirects (http->https, added ending slash).
ValExtLinks: IW links now reported as separate category from OK links. RD links that are just redirecting from http:// to https:// are now regarded as OK.
Val now understands HTTP redirect responses and will report the URL we're redirected to. Also now tallies IW links.
Updating Val to new location of files on oni2.net and slight changes to Archive API.
Committing my wiki link validation script, as it is reasonably mature now.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.