Jan,

I have worked on the principals behind doing this, as a result of 
discussions arising from the New Comments plugin in 5.1.18 and my desire to 
publish noteself Wikis online from which people can export and send any 
tiddlers they modify or create for subsequent inclusion in another Wiki.

A Quick work around, is to install Marios 
bundle https://wikilabs.github.io/editions/bundler/#%24%3A%2FControlPanel 
that has a setting to allow you to stop overwrites during import.

Personally I think the best approach is to build an new import feature. The 
$:/import tiddler is created from $:/core/ui/ImportListing Each time an 
import takes place. 

I have added a list to add additional columns to the import table

<$list filter="[tag[$:/tags/importcolumn]]" variable=import-column-tiddler> 
<td> <$transclude tiddler=<<import-column-tiddler>> field="text"/> </td> 
</$list>

This is not at all complete, but I would like to add the ability to add a 
prefix during import.


I would suggest in your case the tiddlers are prefixed something like 
$:/importfrom/modifier/"original tiddler name"


Then it would be a simple matter of adding to the view template, the ability to 
list below any given tiddler, a list of tiddlers who's suffix is the same as 
the current tiddler name 

eg; "original tiddler name" From there you can decide how you will treat each 
one.


Of course we could make this even more sophisticated to facilitate your needs, 
ie accepting collaborative input, but I believe this lies with the import 
facility.


I hope to add a feature to the import, not to import tiddlers that have a 
wiki-owner field set to the current wiki, to stop over-writing the tiddlers 
"source of truth".


Regards

Tony 




On Wednesday, November 7, 2018 at 10:24:19 AM UTC+11, Jan wrote:
>
> Hi Tony
> the problem I want to solve by creating tiddlernames including the 
> modifier is that this would prevent overwriting tiddlers.
> When my students write stories there is a strong probability that some 
> have a tiddlers with matching names [[In the morning]] or [[later]]
> Importing both would ruin one of the stories.
>
> Yours Jan
>
>
> Am 06.11.2018 um 22:51 schrieb TonyM:
>
> Jan, 
>
> If the $:/status/UserName is set, it will populate hidden fields in each 
> tiddler called creator and/or modifier see 
> https://tiddlywiki.com/#TiddlerFields
>
>
>    - You could then use normal filter operators to select the different 
>    users tiddlers via these fields
>    - You could set these field manually in tiddlers <$edit-text 
>    tiddler=tiddlername field="modifier"/> (From another tiddler - not the 
>    current) or by other using a template. 
>
> With the above information, I wonder if your question is still relevant?
>
> Regards
> Tony
>
> On Tuesday, November 6, 2018 at 8:37:23 AM UTC+11, Jan wrote: 
>>
>> Dear Writers
>>
>> Is there something like
>> <$action-sendmessage $message="tm-edit-text-operation" 
>> $param="write-selection-to" title/>
>>
>> I want to use Tiddlywiki to write nonlinear stories with a group of 
>> students. To import and mix stories it is necessary to add the usernames to 
>> the Tiddlers created.
>> This is why I would like to automatically set a Link of this structure 
>> [[selection|{{$:/status/UserName}}/selection]]
>>
>>
>> I tried this...but it always has a delay of one click...
>>  
>> \define Userlink() 
>> [[{{$:/Temp/newlink}}|{{$:/status/UserName}}/{{$:/Temp/newlink}}]]
>> \end
>>
>> <$action-sendmessage
>>      $message="tm-edit-text-operation"
>>      $param="excise"
>>      title="$:/Temp/newlink"
>>      type="link"
>> />
>> <$wikify name="Newlink" text=<<Userlink>>>
>> <$action-sendmessage $message="tm-edit-text-operation" 
>> $param="replace-selection"  text=<<Newlink>> />
>> </$wikify>
>>
>> Is there a solution for this Problem?
>>
>> Greetings Jan
>>
>>
>> -- 
> 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 tiddlywiki+...@googlegroups.com <javascript:>.
> To post to this group, send email to tiddl...@googlegroups.com 
> <javascript:>.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/29761507-ea8a-41e1-b112-012c68a90974%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/29761507-ea8a-41e1-b112-012c68a90974%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3dd61cec-a70a-4650-9713-3b38c4d7618e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to