mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-19 20:40:02 +00:00
Rename mws-load|save to mws-load|save-archive
This commit is contained in:
parent
3276703edd
commit
61b54125be
@ -1,9 +1,9 @@
|
||||
/*\
|
||||
title: $:/plugins/tiddlywiki/multiwikiserver/mws-load.js
|
||||
title: $:/plugins/tiddlywiki/multiwikiserver/mws-load-archive.js
|
||||
type: application/javascript
|
||||
module-type: command
|
||||
|
||||
Command to load tiddlers from a directory
|
||||
Command to load archive of recipes, bags and tiddlers from a directory
|
||||
|
||||
\*/
|
||||
(function(){
|
||||
@ -13,7 +13,7 @@ Command to load tiddlers from a directory
|
||||
"use strict";
|
||||
|
||||
exports.info = {
|
||||
name: "mws-load",
|
||||
name: "mws-load-archive",
|
||||
synchronous: true
|
||||
};
|
||||
|
||||
@ -27,7 +27,7 @@ Command.prototype.execute = function() {
|
||||
var self = this;
|
||||
// Check parameters
|
||||
if(this.params.length < 1) {
|
||||
return "Missing filename";
|
||||
return "Missing pathname";
|
||||
}
|
||||
var archivePath = this.params[0];
|
||||
loadBackupArchive(archivePath);
|
@ -1,9 +1,9 @@
|
||||
/*\
|
||||
title: $:/plugins/tiddlywiki/multiwikiserver/mws-save.js
|
||||
title: $:/plugins/tiddlywiki/multiwikiserver/mws-save-archive.js
|
||||
type: application/javascript
|
||||
module-type: command
|
||||
|
||||
Command to save tiddlers to a directory
|
||||
Command to load an archive of recipes, bags and tiddlers to a directory
|
||||
|
||||
\*/
|
||||
(function(){
|
||||
@ -27,7 +27,7 @@ Command.prototype.execute = function() {
|
||||
var self = this;
|
||||
// Check parameters
|
||||
if(this.params.length < 1) {
|
||||
return "Missing directory path";
|
||||
return "Missing pathname";
|
||||
}
|
||||
var archivePath = this.params[0];
|
||||
saveArchive(archivePath);
|
Loading…
x
Reference in New Issue
Block a user