Ignore:
Timestamp:
Oct 3, 2017, 5:01:32 AM (7 years ago)
Author:
iritscen
Message:

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).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Validate External Links/exceptions.txt

    r1064 r1070  
    1 If a link loads for you in your browser, but is consistently returning an NG response code when the Validate External Links script checks it, add it here in order to remove it from ValExtLinks' reports.
     1If 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. The first field is the expected HTTP response code, the expected 'curl' result code, or the "IW" or "EI" code -- whatever you are seeing in Val's report. The second field is the link itself. The third field is the wiki page that this link appears on; to exempt this link from Val's report regardless of where it appears, put a '*' here.
    22
    3 403,http://usa.autodesk.com/adsk/servlet/pc/item?siteID=123112&id=22694909
    4 000-28,http://tain.totalcodex.net/
    5 403,http://wolfire.com/overgrowth
     3403,http://usa.autodesk.com/adsk/servlet/pc/item?siteID=123112&id=22694909,*
     4000-28,http://tain.totalcodex.net/,*
     5403,http://wolfire.com/overgrowth,*
     6IW,https://commons.wikimedia.org/wiki/$1,*
     7IW,https://meta.wikimedia.org/wiki/$1,*
     8IW,https://www.mediawiki.org/wiki/$1,*
     9IW,https://en.wikibooks.org/wiki/$1,*
     10IW,https://www.wikidata.org/wiki/$1,*
     11IW,https://wikimediafoundation.org/wiki/$1,*
     12IW,https://en.wikinews.org/wiki/$1,*
     13IW,https://en.wikiquote.org/wiki/$1,*
     14IW,https://wikisource.org/wiki/$1,*
     15IW,https://species.wikimedia.org/wiki/$1,*
     16IW,https://en.wikiversity.org/wiki/$1,*
     17IW,https://en.wikivoyage.org/wiki/$1,*
     18IW,https://en.wiktionary.org/wiki/$1,*
     19IW,https://en.wikipedia.org/wiki/$1,*
     20EI,http://wiki.oni2.net/Main_Page,MediaWiki:Common
Note: See TracChangeset for help on using the changeset viewer.