get("#349") -- table functions -- without bridge stuff & invalidated function printShortenedReferenceTree(id, indent, seen, result) if seen[id] then table.insert(result, indent..id.." (see above)") else title = getSnippetTitle(id) if not (title:find("^Need bridge ") or title:find("^A bridge ") or title:find("^A master bridge ") or hasNTTitle("Invalidate "..id)) then table.insert(result, indent..id.. " - "..title) seen[id] = true local refs = getTitleReferences(id) --print("Refs: "..tableToString(refs)) for r in all(refs) do printShortenedReferenceTree(r, indent.." ", seen, result) end end end end