ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Validate External Links/Development/ValExtLinks to-do.rtf
(Generate patch)

Comparing Validate External Links/Development/ValExtLinks to-do.rtf (file contents):
Revision 1175 by iritscen, Tue Aug 23 14:15:48 2022 UTC vs.
Revision 1182 by iritscen, Sun May 7 19:53:19 2023 UTC

# Line 1 | Line 1
1 < {\rtf1\ansi\ansicpg1252\cocoartf2639
2 < \cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
3 < {\colortbl;\red255\green255\blue255;}
4 < {\*\expandedcolortbl;;}
5 < \margl1440\margr1440\vieww12600\viewh6980\viewkind0
6 < \deftab720
7 < \pard\pardeftab720\qc\partightenfactor0
8 <
9 < \f0\fs28 \cf0 \ul \ulc0 ValExtLinks to-do list\ulnone \
10 < \
11 < \pard\pardeftab720\partightenfactor0
12 < \cf0 - Don't rely on extlinks table to find external links, as only links within square brackets are tracked there.  Use a Pywikibot script like find_external_images.py to find \ul all\ulnone  external links.  Consider porting entire script to Python.  Will need to make sure to ignore links marked with <nowiki>.\
13 < \
14 < - Add argument --only-200-ok which doesn't treat the other entries in my OK_CODES array as OK.  This may allow us to catch additional problems.\
15 < \
16 < - Automatically highlight pages that do not have archive.org or archive.is snapshots (see {\field{\*\fldinst{HYPERLINK "http://mementoweb.org/depot/native/archiveis/"}}{\fldrslt here}} for the archive.is API).  When checking for snapshots, we shouldn't just ask archive.org if it has one.\
17 < \
18 < - OneDrive links like http://cid-639aa31296681bfe.skydrive.live.com/self.aspx/Oni/Images/head.png are 404s but return 200.  Need to detect these!}
1 > {\rtf1\mac\ansicpg10000\cocoartf\nisusversion50300 {\*\nisusorigapp Cocoa}{\*\nisusorigdate\yr2023\mo5\dy6\hr8\min46 }{\*\nisussysvers 13.3.1}\deff0
2 > {\*\fonttbl
3 > {\f0\fswiss\fcharset77 Helvetica;}}
4 > {\colortbl ;\red0\green0\blue254 ;}
5 > {\*\nisustoctable
6 > {\nisustoc\tcf68 {\nisustocname Default TOC}{\*\nisustoctabrep  }{\*\nisustocretrep  }{\nisustoclevelstyle TOC 1}{\nisustoclevelstyle TOC 2}{\nisustoclevelstyle TOC 3}{\nisustoclevelstyle TOC 4}{\nisustoclevelstyle TOC 5}{\nisustoclevelstyle TOC 6}{\nisustoclevelstyle TOC 7}{\nisustoclevelstyle TOC 8}{\nisustoclevelstyle TOC 9}}\nisusactivetoc68 }
7 > {\*\nisusxetable
8 > {\nisusxe\xef68 {\nisusxename Default Index}{\nisusxeheaderstyle Index Heading}{\nisusxelevelstyle Index 1}{\nisusxelevelstyle Index 2}{\nisusxelevelstyle Index 3}{\nisusxelevelstyle Index 4}{\nisusxelevelstyle Index 5}{\nisusxelevelstyle Index 6}{\nisusxelevelstyle Index 7}{\nisusxelevelstyle Index 8}{\nisusxelevelstyle Index 9}{\*\fldinst INDEX \\k ". " \\g \endash  \\e "\tab " \\l ", " \\f D}}\nisusactivexe68 }
9 > {\stylesheet
10 > {\s104\snext104 \ltrpar\pardirnatural\ql\widctlpar\sb0\sa0\sl240\slmult1\hyphpar1\li0\lin0\fi0\ri0\rin0 Header;}
11 > {\s105\snext105 \ltrpar\pardirnatural\ql\widctlpar\sb0\sa0\sl240\slmult1\hyphpar1\li0\lin0\fi0\ri0\rin0 Footer;}
12 > {\*\cs106\ul\cf1 Hyperlink;}}
13 > \defformat {\*\generator Nisus Writer Express 4.3 [0503.0004.01]}{\info {\*\nisusgmtoffset -4:00}{\author Admin}{\creatim\yr2020\mo4\dy30\hr11\min38 }{\revtim\yr2023\mo5\dy6\hr20\min41 }}
14 > {\*\userprops }\nisusrulerunits0\nisusstatusbar1\nisusareaid1\viewkind4\viewscale100\nisusviewruler1\nisusviewrulerh1\nisusviewrulerv0\nisusviewtoolbar1\nisusviewtooldrawer0\nisusviewtoolswidth0\nisusviewpagenumtype1\nisusviewrulericons0\donotshowcomments1
15 > {\*\nisusviewsettings\viewkind4\viewscale100 {\nisusnavsettings {\*\visible 0}{\*\width 160}{\*\isOnRightSide 0}{\*\mode toc}{\*\sort location}}{\nisuscommentsettings {\*\visible 0}{\*\showPane 1}{\*\isOnRightSide 0}{\*\width 180}{\*\titlebarInfo 2}{\*\showTextHighlighting 1}{\*\showGutterIcons 1}}{\nisusrevisionsettings {\*\visible 0}{\*\showPane 1}{\*\isOnRightSide 1}{\*\width 180}{\*\titlebarInfo 4}{\*\showTextHighlighting 1}{\*\showGutterIcons 1}}}
16 > {\*\nisusviewsettings\viewkind1\viewscale100 {\nisusnavsettings {\*\visible 0}{\*\width 160}{\*\isOnRightSide 0}{\*\mode toc}{\*\sort location}}{\nisuscommentsettings {\*\visible 0}{\*\showPane 1}{\*\isOnRightSide 0}{\*\width 180}{\*\titlebarInfo 2}{\*\showTextHighlighting 1}{\*\showGutterIcons 1}}{\nisusrevisionsettings {\*\visible 0}{\*\showPane 1}{\*\isOnRightSide 1}{\*\width 180}{\*\titlebarInfo 4}{\*\showTextHighlighting 1}{\*\showGutterIcons 1}}}
17 > \nisusareasplitv0
18 > {\*\nisuswindow\x718\y102\w613\actualw613\h631 }
19 > \nshwinv0\nshwpg1\nisusinlinespell0\nisushyphnone\spltpgpar\nisusselectstart500\nisusselectlength0\fet2\ftnbj\paperw12240\paperh15840\margl1440\margr1440\margt1440\margb1440\gutter0\pgnstart1\nocolbal \f0
20 > \sectd\endnhere\cols1\ltrsect\colbalsxn0\pgwsxn12240\pghsxn15840\marglsxn1440\margrsxn1440\margtsxn1440\margbsxn1440\guttersxn0\headery720\footery360\pgncont\pgndec\sxnstarts1\sxnrestart\sxndec
21 > {\header\plain\pard\s104\ltrpar\pardirnatural\ql\widctlpar\f0\fs28 }
22 > {\footer\plain\pard\s105\ltrpar\pardirnatural\ql\widctlpar\f0\fs28 }
23 > \deftab720 {\*\nisusscroll\nisusarea1\xoffset0\yoffset2 }{\pard\ltrpar\pardirnatural\qc {\fs28\ul ValExtLinks to-do list}{\fs28 \par
24 > \par }}
25 > {\pard\ltrpar\pardirnatural\ql {\fs28 - Consider porting entire script to Python.  This will allow me to unify it with the existing Pywikibot scripts for checking interwiki links and intrawiki section links, which are not in the extlinks table that ValExtLinks depends upon.  If reading page markup directly, will need to make sure to ignore links marked with <nowiki>.\par
26 > \par
27 > - Add argument --only-200-ok which doesn't treat the other entries in my OK_CODES array as OK.  This may allow us to catch additional problems.{\nisusselectcaret \par }
28 > \par
29 > - OneDrive links like http://cid-639aa31296681bfe.skydrive.live.com/self.aspx/Oni/Images/head.png are 404s but return 200.  Need to detect these!\par }}}

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)