If you have a username set it already saves drafts with the username.
The relevant function in wiki.js is
exports.generateDraftTitle = function(title) {
var c = 0,
draftTitle,
username = this.getTiddlerText("$:/status/UserName"),
attribution = username ? " by " + username : "";
do {
draftTitle = "Draft " + (c ? (c + 1) + " " : "") + "of '" + title + "'" +
attribution;
c++;
} while(this.tiddlerExists(draftTitle));
return draftTitle;
};
so if you have a username set the draft tiddler gets a title in the form
'draft of <tiddler> by <username>'
--
You received this message because you are subscribed to the Google Groups
"TiddlyWikiDev" 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/tiddlywikidev/fa93be12-5d6f-4096-8e3f-8f8c51c57b01%40googlegroups.com.