Skip to content

Don't include 'subscript' links #2

@HebeHH

Description

@HebeHH

The codebase works by assuming all links in a Wikipedia infobox table row are relevant to that keyword. This is not always the case.

Specific issue: Random notations in the row will include links.
For example, the Successor section for Laodice IV's position as consort gives Unknown, then notes (in notation format) that this is because the Antiochus V didn't marry.
image

In the graph, this turns into Antiochus V being her successor.
image

Useful note:
This specific kind of note is using the HTML format <small>:
image

Suggested fix:

  1. Ignore links inside <small> tags
  2. Ignore links inside brackets

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions