Another solution: when one wants a link to a tiddler that will never
change: create a "URL-safe" tiddler (i.e. a name that will never change)
with the only purpose of transcluding a tiddler with a title that could be
subject to change at any time.
So, if you have "Tiddler XYZ", have an auto-generated-title tiddler (Say
"Tid-0000001"), and have "Tid-0000001" have in it's text only {{Tiddler
XYZ}}. For external references to your TiddlyWiki's "Tiddler XYZ",
actually grab the URL for "Tid-0000001".
Then you can change the title for "Tiddler XYZ" willy nilly, knowing that
the external reference to "Tid-000001" will always be rock-soid.
All of that said, had I been involved in TiddlyWiki right from the start, I
would have screamed and hollered for TiddlyWiki to have auto-generated
unique ID's for all Tiddlers, such that external URL references to a
TiddlyWiki's Tiddler always has the unique ID of the tiddler and never the
name. Sigh ...
In the same way as I like all tables in Oracle databases to use sequence
numbers as primary keys.
On Wednesday, May 5, 2021 at 11:02:21 AM UTC-3 ludwa6 wrote:
> I've been following your forms development w/ interest, Charlie -and this
> makes it all the more interesting- but i really think this idea of
> permalinks using createdate is much simpler, if indeed that attribute
> satisfies the 2 aforementioned criteria. There is so much goodness in a TW
> instance that is title-dependent, i'm afraid that throwing some
> auto-generated code into the title would compromise its human-friendliness,
> if nothing else. /w
>
> On Wednesday, May 5, 2021 at 2:43:16 PM UTC+1 [email protected] wrote:
>
>> G'day walt,
>>
>> That is a huge pain point for me. In my previous career, I relied
>> heavily on the ProjectForum Wiki to keep track of everything. It did not
>> use page names in URL links, but rather used auto-generated unique
>> identifiers. So I could change page titles to my heart's content, knowing
>> that URL links were always stable.
>>
>> My approach, still formulating it, is to edit tiddlers via custom forms.
>> The tiddlers have auto-generated unique identifiers stored in the title.
>> What would normally be the title goes in a field.
>>
>> That works fine right as-is for structured data. I haven't looked into
>> setting up the formatting buttons (bold, italics, etc.) for formatting text.
>>
>> I think this could still work for you well if you have an easy way to
>> lookup tiddlers via a field instead of via title, and if you can overcome
>> that mindset change.
>>
>> On Wednesday, May 5, 2021 at 5:34:24 AM UTC-3 ludwa6 wrote:
>>
>>> The more i use TW, the more concerned i become about maintaining data
>>> integrity -and so this issue has boiled to the top of my queue: how can i
>>> continue to enjoy the benefits of TW (+ Relink plugin) flexibility, without
>>> compromising the integrity of Permalinks?
>>>
>>> This feels like a deep problem that goes right to core TW architecture-
>>> since, as PMario explained in last thread
>>> <https://groups.google.com/g/tiddlywiki/c/kTrAbuneCkA/m/lAsdkriFAgAJ>,
>>> tiddler immutability is tied to its Title (so how can Relink even work, i
>>> wonder?)- but if i've learned anything here, it is to not underestimate the
>>> creative problem-solving ability of this group :-)... SO:
>>>
>>> From a non-technical perspective, what i'd like to do is have some
>>> immutable UID (based on date-time, or maybe date+ a serial number, like
>>> yyyy-mm-dd-serialnum) that is used for Permalinks (i.e. shared w/ the
>>> outside web that is not Relink-aware), but still have Title field and
>>> Relink plugin (and everything else for that matter) work just as it does
>>> now, from the TW editor's perspective.
>>>
>>> Is this a reasonable feature design goal, i wonder? If so, i'd like to
>>> do what i can to help make it happen!
>>>
>>> /walt
>>>
>>>
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/6286948e-07e1-48e5-b504-07ee57492ab8n%40googlegroups.com.