Here we go -- a Halloween themed code for finding "spooky" links:
\define chimera-counts-filter() $(boo)$ +[nsort[]] +[!prefix[1-]] \define scares-ghost() [[$(scares)$-$(ghost)$]] \define chimera-counts() <$list filter="[all[tiddlers]links[]is[missing]!is[system]]" variable= "ghost"> <$list filter="[<ghost>backlinks[]count[]]" variable="scares" > <$text text=<<scares-ghost>>/> </$list> </$list> \end <$wikify name="boo" text=<<chimera-counts>>> <$list filter=<<chimera-counts-filter>>> </$list> </$wikify> The results are presented as false links, with a number and a link name, which shouldn't matter since the "real" links don't exist either. The first macro allows you to trim down the results. The snippet "+[!prefix[1-]]" removes all the links with just one reference. You can add more snippets if you don't want to see other numbers (2,3 ,etc) It works this way because TW doesn't have number comparison tools. Keep in mind that most of the links will result from camel-case code where the fix is to put a ~ in front of the false link. -- Mark On Monday, October 29, 2018 at 10:04:55 PM UTC-7, Linda Moss wrote: > > Is there a way I can list all missing tiddlers, that shows a count of how > many references there are to the missing tiddler, and sort the list by the > count descending? (even better if I can give it a cut-off, such as not > listing missing tiddlers with only a single reference). > > I've got a 12-megabyte tiddly-wiki in which I've frequently included links > to things that don't exist yet but that I plan to add. (Also, I make a lot > of typos). As a result, my "missing tiddlers" list is currently far too > long to be useful. When doing wiki maintenance, I'd love to be able to > focus on the most-referenced missing tiddlers. Is this possible? > > Thanks! > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/02631761-a3cf-4c4b-a00b-5152af93077e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

