[16:13] <OliverKrueger> MTempest: you want to store all external urls that reference to a topic? [16:14] <MTempest> No - just the fact that it is referenced. <OliverKrueger> Over time, all the booleans will be set to yes. [16:15] <Babar> you know there is a really easy way to solve your current problem? <OliverKrueger> Maybe an inference counter would be more useful. [16:16] <MTempest> In my case - at most 10% of them would be set to yes. And that is assuming that people take the trouble to link to the wiki [16:17] <MTempest> Babar: How? <OliverKrueger> Do your external sources actively/automatically update this boolean? [16:18] <OliverKrueger> but, well,... its just a detail. <Babar> MTempest: add a handler on rename that creates the old topic with a redirect to the new one, using RedirectPlugin or something similar * Babar saw that somewhere, but can't find it back right now [16:23] <MTempest> I expect the uid to be something like an MD5 hash, but I would like sensible names in the database UI, so why not let the database ask Foswiki what the "pretty" name isBabar's suggestion of a redirect topic would work for many cases. However, it could potentially litter the wiki with "redirect" topics. The "redirect" approach does not work if the original topic name may be reused.
| When | Who | Said what |
|---|---|---|
| 2006-03-08 | Soronthar | bitca: Do you feel like writing a PermaLinkPlugin? |
| 2006-04-09 | Soronthar | I really, really hate the concept of CoolURIsDontChange (in a wiki context, i mean) |
| Drusilla | Especially when it's used to justify fossilization | |
| Soronthar | Anyone for a quick idea for a PermalinkPlugin? | |
| Drusilla | Only thing I've come up with is something vaguely like TinyURL | |
| Soronthar | good enough a small skin modification to allow the permalink to be shown someplace, et voila Did I mention before that I think that we need a TWikiOrgSkin? |
|
| Drusilla | Don't forget that it has to adjust to moved topics. Or not. Don't forget to think about it, anyway | |
| 2008-10-28 | MotoLavr | At web level it would be good with some feature that can define an alias for a web which people can setup so TWiki.something is an alias to whatever we call our system web in future. |
| SvenDowideit | Babar, because we are changing so much stuff | |
| gmc | MotoLavr: i was thinking about implementing something like mediawiki anyway | |
| SvenDowideit | it would be silly to change more | |
| MichaelDaum | MotoLavr, how about RewriteRules | |
| gmc | when you remove a page on mediawiki, the old url is still available and redirects to the new s/remove/rename/ |
|
| MichaelDaum | Someone proposed a PermalinkPlugin some tome aggo. Merredith was it. | |
| MotoLavr | RewriteRules is not good enough. It has to work at Perl level. There is plenty of stuff we all have done that depends on TML containing Web.Topic where Web is TWiki sometimes. | |
| SvenDowideit | yup, there's alot of her stuff that will get done | |
| MichaelDaum | don't promiss too much your proposed-for-twiki-5 bucket is rather full already, SvenBo. | |
| SvenDowideit | grin | |
| MotoLavr | If we make an alias feature that can alias what today is Main and TWiki we will help a lot of people that hate both names today - and maintaining compatibility. |
/bin/view/Project/ArticleFoo would have a GUID metadata field whose value might be ABCDEF0123456789.... /bin/rest/GuidHandler/mark (?).
rest/GuidHandler/view script to deal with hash collisions (multiple topics with same GUID).
/bin/rest/GuidHandler/view/ABCDEF0123456789... view script to discover the proper web/topic path from the GUID
rest/GuidHandler/view script would just be a wrapper to the view script; after discovering the proper topic name we hand off to the view script.
view script anyway).
Thoughts?
-- PaulHarvey - 09 Jul 2009
I wasnt aware of this topic (anymore). I implemented the PermLinkPlugin in the meantime. Basic functionality is there, but the code is still beta.
-- OliverKrueger - 09 Jul 2009
| TopicSummary | It would be nice if Foswiki provided invariant links, that work even if a topic is moved or renamed. |
| CurrentState | ImplementedAsExtension |
| CommittedDeveloper | OliverKrueger |
| ReasonForDecision | None |
| DateOfCommitment | |
| ConcernRaisedBy | |
| BugTracking | |
| RelatedTopics | |
| PlannedFor |
