[pmwiki-devel] PUB dir and javascript

Petko Yotov 5ko at 5ko.fr
Sun Mar 22 03:20:26 PDT 2020


LocalTimes is not in the core, if it gets included then its logic will 
go into pmwiki-utils.js.

I'll think about it -- one problem is that moving the file into a 
subdirectory in the core will not move it on existing installations and 
people will end with 2 versions of pmwiki-utils.js. Isn't this worse 
than what happens now?

As the directories where the PmWiki core is installed should not be 
writable by the PHP process, an automatic cleanup cannot be reliably 
implemented.

Petko

On 21/03/2020 05:53, Simon wrote:
> I'd like to suggest that a new default sub-directory of the Pub dir be
> added for java script, as there is for CSS and Skins.
> 
> I see for example localtimes.js and pm-utils.js in the pub dir root





More information about the pmwiki-devel mailing list