Thread:User talk:MWJames/SMW D3 charts/reply (4)

As for SMW/SRF this will not be the way we will handle JavaScript. We will always separate wiki content from "printer" logic and when looking further into the future, being able to separate user actions from wikipage actions is required in order to allow independent user actions (unrelated to the stored wikipage) to be handled by a JavaScript module.

As a side note, storing JavaScript in wikipages (as side the ContentHandler in MW 1.21 or GadgetModule) should be avoided because it can create security vulnerabilities.