Hello,
As I was working on the WikiLabels extension, I had to copy over a lot of CSS and JavaScript files to the extension folder. I suppose it's fine by itself, but I was wondering if those files will continue to be used outside the extension? If so, we should keep them where they are and load them dynamically in the extension (as it's done in the gadget). What do you think?
Right now, we build some of that JS based on configuration parameters that are needed by the WikiLabels service back-end. It seems that it would be easiest to generate those files and cache them so that we can serve with them extension code.
I'm not sure how much sense this makes long-term. If the answer is "no sense -- at all", then I think our next step would be getting a good description of which parts of that JS are configured and then working on a proposal for how we'd change things within the extension. I can do the description if we get that far.
-Aaron
On Mon, Jan 18, 2016 at 6:55 AM, Bahodir Mansurov bmansurov@wikimedia.org wrote:
Hello,
As I was working on the WikiLabels extension, I had to copy over a lot of CSS and JavaScript files to the extension folder. I suppose it's fine by itself, but I was wondering if those files will continue to be used outside the extension? If so, we should keep them where they are and load them dynamically in the extension (as it's done in the gadget). What do you think?
-- Baha
AI mailing list AI@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/ai