mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-05 23:10:28 +00:00
Use $:/state/ tiddler for server entity state tiddlers
This commit is contained in:
parent
41ab94978f
commit
8d95c92bfb
@ -2,6 +2,7 @@
|
||||
"description": "Multiple wiki client-server edition",
|
||||
"plugins": [
|
||||
"tiddlywiki/tiddlyweb",
|
||||
"tiddlywiki/filesystem",
|
||||
"tiddlywiki/highlight",
|
||||
"tiddlywiki/multiwikiserver"
|
||||
],
|
||||
|
@ -110,7 +110,7 @@ title: MultiWikiServer Administration
|
||||
These are the wikis available on this server. Click on a wiki to visit it in a new browser tab.
|
||||
</p>
|
||||
<ul class="mws-vertical-list">
|
||||
<$list filter="[prefix[_multiwikiserver/recipes/]]">
|
||||
<$list filter="[prefix[$:/state/MultiWikiServer/recipes/]]">
|
||||
<li>
|
||||
<<wikiCard>>
|
||||
</li>
|
||||
@ -124,7 +124,7 @@ title: MultiWikiServer Administration
|
||||
</div>
|
||||
<h1>Bags</h1>
|
||||
<ul class="mws-vertical-list">
|
||||
<$list filter="[prefix[_multiwikiserver/bags/]]">
|
||||
<$list filter="[prefix[$:/state/MultiWikiServer/bags/]]">
|
||||
<li>
|
||||
<<bagPill>>
|
||||
</li>
|
||||
|
@ -0,0 +1,2 @@
|
||||
title: $:/config/SyncSystemTiddlersFromServer
|
||||
text: yes
|
@ -23,7 +23,7 @@ adminWiki - reference to $tw.Wiki object into which entity state tiddlers should
|
||||
function SqlTiddlerStore(options) {
|
||||
options = options || {};
|
||||
this.adminWiki = options.adminWiki || $tw.wiki;
|
||||
this.entityStateTiddlerPrefix = "_multiwikiserver/";
|
||||
this.entityStateTiddlerPrefix = "$:/state/MultiWikiServer/";
|
||||
// Create the database
|
||||
this.databasePath = options.databasePath || ":memory:";
|
||||
var SqlTiddlerDatabase = require("$:/plugins/tiddlywiki/multiwikiserver/sql-tiddler-database.js").SqlTiddlerDatabase;
|
||||
|
Loading…
Reference in New Issue
Block a user