diff --git a/plugins/tiddlywiki/multiwikiserver/modules/commands/mws-load-plugin-bags.js b/plugins/tiddlywiki/multiwikiserver/modules/commands/mws-load-plugin-bags.js index f6bfeac5238..40bfb37493d 100644 --- a/plugins/tiddlywiki/multiwikiserver/modules/commands/mws-load-plugin-bags.js +++ b/plugins/tiddlywiki/multiwikiserver/modules/commands/mws-load-plugin-bags.js @@ -66,13 +66,13 @@ function loadPluginBags() { } }; $tw.utils.each($tw.getLibraryItemSearchPaths($tw.config.pluginsPath,$tw.config.pluginsEnvVar),function(folder) { - collectPublisherPlugins(folder,"plugin"); + collectPublisherPlugins(folder,"plugins"); }); $tw.utils.each($tw.getLibraryItemSearchPaths($tw.config.themesPath,$tw.config.themesEnvVar),function(folder) { - collectPublisherPlugins(folder,"theme"); + collectPublisherPlugins(folder,"themes"); }); $tw.utils.each($tw.getLibraryItemSearchPaths($tw.config.languagesPath,$tw.config.languagesEnvVar),function(folder) { - collectPlugins(folder,"language"); + collectPlugins(folder,"languages"); }); } diff --git a/plugins/tiddlywiki/multiwikiserver/modules/commands/mws-load-wiki-folder.js b/plugins/tiddlywiki/multiwikiserver/modules/commands/mws-load-wiki-folder.js index bdc7229e5bd..ada8c86becf 100644 --- a/plugins/tiddlywiki/multiwikiserver/modules/commands/mws-load-wiki-folder.js +++ b/plugins/tiddlywiki/multiwikiserver/modules/commands/mws-load-wiki-folder.js @@ -78,9 +78,9 @@ function loadWikiFolder(options) { recipeList.push(makePluginBagName(type,publisher,name)); }); }; - processPlugins("plugin",wikiInfo.plugins); - processPlugins("theme",wikiInfo.themes); - processPlugins("language",wikiInfo.languages); + processPlugins("plugins",wikiInfo.plugins); + processPlugins("themes",wikiInfo.themes); + processPlugins("languages",wikiInfo.languages); // Create the recipe recipeList.push(options.bagName); $tw.mws.store.createRecipe(options.recipeName,recipeList,options.recipeDescription);