1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-08-07 22:33:50 +00:00

Rename mws-load|save to mws-load|save-archive

This commit is contained in:
Jeremy Ruston 2024-02-23 12:51:07 +00:00
parent 3276703edd
commit 61b54125be
2 changed files with 7 additions and 7 deletions

View File

@ -1,9 +1,9 @@
/*\ /*\
title: $:/plugins/tiddlywiki/multiwikiserver/mws-load.js title: $:/plugins/tiddlywiki/multiwikiserver/mws-load-archive.js
type: application/javascript type: application/javascript
module-type: command module-type: command
Command to load tiddlers from a directory Command to load archive of recipes, bags and tiddlers from a directory
\*/ \*/
(function(){ (function(){
@ -13,7 +13,7 @@ Command to load tiddlers from a directory
"use strict"; "use strict";
exports.info = { exports.info = {
name: "mws-load", name: "mws-load-archive",
synchronous: true synchronous: true
}; };
@ -27,7 +27,7 @@ Command.prototype.execute = function() {
var self = this; var self = this;
// Check parameters // Check parameters
if(this.params.length < 1) { if(this.params.length < 1) {
return "Missing filename"; return "Missing pathname";
} }
var archivePath = this.params[0]; var archivePath = this.params[0];
loadBackupArchive(archivePath); loadBackupArchive(archivePath);

View File

@ -1,9 +1,9 @@
/*\ /*\
title: $:/plugins/tiddlywiki/multiwikiserver/mws-save.js title: $:/plugins/tiddlywiki/multiwikiserver/mws-save-archive.js
type: application/javascript type: application/javascript
module-type: command module-type: command
Command to save tiddlers to a directory Command to load an archive of recipes, bags and tiddlers to a directory
\*/ \*/
(function(){ (function(){
@ -27,7 +27,7 @@ Command.prototype.execute = function() {
var self = this; var self = this;
// Check parameters // Check parameters
if(this.params.length < 1) { if(this.params.length < 1) {
return "Missing directory path"; return "Missing pathname";
} }
var archivePath = this.params[0]; var archivePath = this.params[0];
saveArchive(archivePath); saveArchive(archivePath);