Bug? After editing ColorPalette, colors appear as missing tiddlers.

1 view
Skip to first unread message

Raphael

unread,
Nov 19, 2009, 12:17:38 PM11/19/09
to TiddlyWikiDev
After changing the ColorPalette tiddler, all color names written as
WikiWords appeared as "Missing" tiddlers. I fixed this by prefixing
the names with a tilde in ColorPalette.
Shouldn't the color names in the ColorPalette tiddler be prefixed by a
tilde per default?
Im using the current tiddlywiki version.

Derek Peschel

unread,
Nov 23, 2009, 1:04:55 PM11/23/09
to TiddlyWikiDev, dpes...@eskimo.com
On Nov 19, 9:17 am, Raphael <rmaj...@gmx.de> wrote:
> After changing the ColorPalette tiddler, all color names written as
> WikiWords appeared as "Missing" tiddlers. I fixed this by prefixing
> the names with a tilde in ColorPalette.

Do you have time to do a little test? Start with an unmodified
TiddlyWiki and view the ColorPalette rather than editing it.
It should say "built-in shadow tiddler" above the contents. See if
most of the color names are blue and point to missing tiddlers.
Those are the results I get with an unmodified copy of version 2.5.3.
In other words, changing isn't the cause. It's simply the fact that
colors look like tiddler names and have no actual tiddlers.

> Shouldn't the color names in the ColorPalette tiddler be prefixed by a
> tilde per default?

How brilliantly simple. (You can also put {{{ }}} around the contents
of ColorPalette, to mark it as preformatted code.) Surprisingly,
color lookup works even with the tildes.

Tobias Beer

unread,
Nov 24, 2009, 10:06:32 AM11/24/09
to TiddlyWikiDev
Tag ColorPalette with "excludeMissing" and gone they are from the
missing-list.

Also, if you want a visual aid for playing with the ColorPalette, I
highly recommend taking a look at:
http://www.tiddlytools.com/#PaletteMaker

Tobias.

FND

unread,
Nov 27, 2009, 3:18:56 AM11/27/09
to tiddly...@googlegroups.com
> Tag ColorPalette with "excludeMissing" and gone they are from the
> missing-list.

I agree that's probably the best solution.
I'm wary of adding escaping tildes to the core's shadow tiddlers, as
that introduces some complexity and should be considered a last resort.


-- F.

Reply all
Reply to author
Forward
0 new messages