This script,

  • For each note,
    • Goes through each distinct “to current note”/“from note” pair in the links database table populated by the process wikilinks script
    • Adds each link to an appended ‘Backlinks’ section if one or more backlinks are discovered.
      • If no backlinks are discovered, no ‘Backlinks’ section is appended to the note.