On Tue, 12 Jun 2012, Jeremy Ruston wrote:
Here, as Chris has already suggested, we could keep both wikitexts as text/x-tiddlywiki, and make it a per-space setting to control which parser is used.
This actually isn't my preferred solution. A preferred solution is that each space declares which mime type they want their (new) tiddlers to default to. The global view on tiddyspace is that it just has tiddlers and a tiddler can be _anything_. How they are presented is dependent on their type. That those tiddlers that currently exist which have no type are treated as tiddlywiki2text is an accident of history. To avoid continuing that accident in the future, when a new syntax is introduced, tiddlers using that syntax should get a mime type and be handled explicitly. That the change from tw2 to tw5 syntax is small doesn't much matter: it still will require a transform and that transform process can (and should) set the mime type. This is all in alignment with tiddlyweb raising the tiddler to the primary entity. It's not the application (tiddlywiki etc) that matters, it's the tiddler.[1] This means, effectively, that a user can come along and say "I'm going to start creating my textual tiddlers using tw5 syntax" _and_ they can say "I'm going to use this app to do a one time transform of my existing tiddlers to the new syntax" _and_ they can say "For these tiddlers I'm going to use markdown". And from an administrative side there is a time when we _could_ say "The default app for new spaces creates tiddlywiki5 syntax tiddlers (because it _is_ tiddywiki5)".
Just to be clear, the benefit would be that the majority of TiddlyWiki users (ie those people who are not yet using it) would see a nice simple world with a content type that just means "wikitext". They wouldn't see any residue showing that there was once two different wikitext formats.
This seems at least spritually aligned with what I'm saying above.
Yes, but this discussion strays into something else, much more intricate and interesting: how do we upgrade what constitutes a wikitext tiddler?
If we treat a tiddler as a thing with a type, this doesn't seem all that hard to me. The details are in how we present to the existing tiddler keepers that they have the option to change if they want. [1] http://cdent.tiddlyspace.com/Evolution -- Chris Dent http://burningchrome.com/ [...] -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tiddlywikidev?hl=en.
