Skip to content

verify-page drops citations whose URL is in a no-hyphen CS1 alias (chapterurl, conferenceurl) #62

Description

@schiste

Severity: P2 — flagged by Codex on #47 (crates/sp42-server/src/parsoid_editor.rs:484 thread).

Problem

URL_PARAM_ALIASES (crates/sp42-server/src/parsoid_editor.rs:482) lists only the hyphenated CS1 URL aliases (chapter-url, conference-url, contribution-url, article-url, section-url, entry-url, map-url, transcript-url). The documented no-hyphen CS1 variants (chapterurl, conferenceurl, contributionurl, articleurl, sectionurl, entryurl, mapurl, transcripturl) fall through to the continue in push_template_sources, so a ref like {{cite book|chapterurl=https://…}} with no top-level url= is reported as a non-URL source and dropped from the verify-page report — undercounting refs and skipping verification for citations the feature is meant to cover.

Fix direction

Add the no-hyphen variants alongside the dashed forms in URL_PARAM_ALIASES (and add a fixture for chapterurl= with no top-level url=).

Refs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions