Create new from all missing, a fix needed

Hi everyone,

I tried this snippet and it didn’t work. I had used a similar button to create tiddlers for every missing tiddler. So I either typed it wrongly, or else something changed in TiddlyWiki that renders it worthless. What might be wrong wrong?

<$button><$action-sendmessage $message="tm-new-tiddler" /> <$list filter={{$:/core/Filters/Missing!!filter}}><$action-createtiddler $basetitle=<<currentTiddler>> tags="topic" /></$list>Create from missing</$button>

Doing Batch processing like this consider How to have your code and action it too - batch operations on multiple tiddlers, refactoring your wiki

This “your button” works for me on Tiddlywiki.com or do you really want to do this, see sidebar > more > missing

  • By rights it will create a set of system tiddlers as well as config tiddlers without appropriate values

Expanded for readability

<$button>
   <$action-sendmessage $message="tm-new-tiddler" />
   <$list filter={{$:/core/Filters/Missing!!filter}}>
      <$action-createtiddler $basetitle=<<currentTiddler>> tags="topic" />
   </$list>
   Create from missing
</$button>
  • {{$:/core/Filters/Missing!!filter}} uses [all[missing]sort[title]]
  • perhaps use filter="[all[missing]!is[system]]" no need to sort
  • I am still not sure this is valid, I don’t think it is logical.