CAT-K11: form-only versions: plain titles and links of the one form, proven to change form alone
A record imported with file-named sections gets plain titles, and its links to files become references of the one form, in one version written after the move by the tool knowledge_form_only: marked form, listing the names changed, accepted without a judgement because a check proves each section's text with its links replaced by their labels is the same and each new link names the record the old one named. The old names stay as aliases get takes; the parts' reviews carry over; a record waiting for its review is skipped. Issue 1966. Claude-Session: https://claude.ai/code/session_01JG73KJNrH5EgFXMKKYSrig
This commit is contained in:
@@ -29,7 +29,7 @@ var (
|
||||
// linkToFile says whether a link's target is a relative path or a file, not an address or an anchor.
|
||||
func linkToFile(target string) bool {
|
||||
switch {
|
||||
case strings.HasPrefix(target, "#"), strings.HasPrefix(target, "mailto:"):
|
||||
case strings.HasPrefix(target, "#"), strings.HasPrefix(target, "mailto:"), strings.HasPrefix(target, "ref:"):
|
||||
return false
|
||||
case regexp.MustCompile(`^[A-Za-z][A-Za-z0-9+.-]*://`).MatchString(target):
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user