> (http://trac.tiddlywiki.org/ticket/472). Although the fix
> is simple to implement, it breaks a number of Eric's plugins so we
> didn't put the fix in release 2.6.2 so that he would have time to fix
> those plugins.

There were a small number of places where TiddlyTools plugins were
using:
   story.idPrefix+tiddler.title
to construct a tiddler element ID, which was then being passed to
   document.getElementById(...)
to retrieve the rendered tiddler element from the story.

Fortunately, as of 11/30/2010, *all* of these occurences were replaced
with
   story.getTiddler(tiddler.title);

As a result, all TiddlyTools plugins now rely upon the core's
implementation of
   story.getTiddlerID(tiddler.title);
and will automatically handle any changes in the generation of tiddler
element IDs (i.e., mapping spaces to "_" to ensure valid IDs).  Thus,
as far as TiddlyTools plugins are concerned, there are no *known*
barriers to fixing ticket 472.

However, the same may not be true for other, non-TiddlyTools plugins
that are still constructing their own tiddler element IDs.  I suggest
that, before releasing any fix for #472, we should perform a simple
text search through as many known, published plugins as possible, to
attempt to identify code that needs to be changed.  For example,
searching for any of these literal strings:
   idPrefix
   "tiddler"+
   "tiddler" +
   'tiddler'+
   'tiddler' +
should locate nearly all instances of code that manually constructs
tiddler element IDs.

Of course, once identified, the work of actually altering that code
would fall to the individual plugin authors... but at least we can
attempt to notify them in advance and provide them with some guidance,
so that they are aware of the impending change and will have time to
prepare and publish their own plugin updates.

enjoy,
-e

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To post to this group, send email to tiddlywikidev@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywikidev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywikidev?hl=en.

Reply via email to