Folks,

Some of you would be aware I have had a few problems of late with upgrading 
tiddlywiki. The solution was to get rid of some overwitten shadow tiddlers.

I had no idea how this had occurred. But suspect I do now.

However I just noted this;

In a new empty.html use the advanced search filter [haschanged[]] and this 
is the result


   - *$:/library/sjcl.js*
   - *$:/boot/bootprefix.js*
   - *$:/boot/boot.js*
   - *$:/boot/boot.css*
   - *$:/core*
   - *$:/isEncrypted*
   - *$:/themes/tiddlywiki/snowwhite*
   - *$:/themes/tiddlywiki/vanilla*
   - *$:/temp/info-plugin*
   - *$:/status/RequireReloadDueToPluginChange*
   - *$:/StoryList*
   - *$:/HistoryList*
   - *$:/state/tab--1498284803*
   - $:/temp/advancedsearch


*Are most of these not "false positives"?*

*Now I must ask the question why are all these flagged as has changed?,* 
especially since many are shadow tiddlers only, or plugins such as core?

Note: I regularly exclude with -[prefix[$:/temp]] -[prefix[$:/state]] 
-$:/StoryList -$:/HistoryList

I have used the has changed filter to export and re-import tiddlers when my 
server or saver has failed in someway, clearly if I do this I import and 
overwrite these tiddlers, a subsequent upgrade will keep them, and seems to 
throw errors and the resulting wiki may be broken.

I also discovered on bob I need to exclude the following or I will also may 
be in grief;


   - -[prefix[$:/Bob]]
   - -[prefix[$:/ServerIP]]
   - -[prefix[$:/WikiSettings]]

Now I understand these bob tiddlers may need to change. 

*However*
In all wikis you can see using the haschanged operator to escape problems 
with the saving mechanisium is asking from trouble.

Perhaps;
We could add a filter that does not list haschanges that are not as above 
and allows plugins such as bob to register tiddlers that should not be 
considered when trying to export changes. Excluding system tiddlers is not 
enough if someone is editing system tiddlers even just configuration 
tiddlers.

The following would work if these false positives where not occurring.

[haschanged[]] -[prefix[$:/temp]] -[prefix[$:/state]] -$:/StoryList 
-$:/HistoryList -[prefix[$:/Bob]] -[prefix[$:/ServerIP]] 
-[prefix[$:/WikiSettings]]


Regards
Tony

-- 
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/9d7f8b62-fb3c-4153-9710-64774bb0db0bo%40googlegroups.com.

Reply via email to