<div dir="ltr">Petko<div><br></div><div>thanks for (all your) responses.</div><div><br></div><div>What I was thinking about, rather than those specific recipes was - and there may be advice about this on the wiki - but I can't see it</div><div><br></div><div>If I am a recipe writer</div><div><ul><li>skin (recipes) go in the /pub/skins directory</li><li>recipe css (I guess) goes in the /pub/css directory</li><li>recipes go in the cookbook directory</li><li>recipe javascript goes ... ?</li><li>recipe resources (e.g. graphics) go in /pub/<i>myrecipe</i>/</li></ul><div>Or as a recipe writer do I create a folder /pub/<i>myrecipe</i>/ and put everything in there?</div></div><div>I'm a sort of a tidy developer and like to have a place for things, and I can see that more and more recipes will be using javascript, henceĀ the suggestion</div><div><br></div><div>As far as moving forward, should it be considered being worth doing then yes, the old file becomes orphaned, but perhaps instructions to manually deleetĀ it would be sufficient</div><div><br></div><div>thanks very much</div><div><br></div><div>On another note I hope you are keeping safe through the COVID pandemic</div><div><br></div><div>regards</div><div><br></div><div>Simon</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 22 Mar 2020 at 23:20, Petko Yotov <<a href="mailto:5ko@5ko.fr">5ko@5ko.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">LocalTimes is not in the core, if it gets included then its logic will <br>
go into pmwiki-utils.js.<br>
<br>
I'll think about it -- one problem is that moving the file into a <br>
subdirectory in the core will not move it on existing installations and <br>
people will end with 2 versions of pmwiki-utils.js. Isn't this worse <br>
than what happens now?<br>
<br>
As the directories where the PmWiki core is installed should not be <br>
writable by the PHP process, an automatic cleanup cannot be reliably <br>
implemented.<br>
<br>
Petko<br>
<br>
On 21/03/2020 05:53, Simon wrote:<br>
> I'd like to suggest that a new default sub-directory of the Pub dir be<br>
> added for java script, as there is for CSS and Skins.<br>
> <br>
> I see for example localtimes.js and pm-utils.js in the pub dir root<br>
<br>
<br>
</blockquote></div>