https://bugzilla.wikimedia.org/show_bug.cgi?id=62602

--- Comment #19 from Kunal Mehta (Legoktm) <[email protected]> ---
(In reply to Krinkle from comment #16)

> 3) I'd recommend simply going for the same approach as for local 'user'.
> Make the <script> and <link> directly. Have a ResourceLoaderModule class
> that retrives the style/scrript from the foreign database and compute a
> valid module version (happens automatically when extending
> ResourceLoaderWikiModule), and generate a load.php request inside the page
> html to the foreign wiki including &version= in the url. That way it is
> cached for 30 days and yet immediately invalidated when the module changes
> (for the 'version' value will no longer be the same then).

Ok, that sounds good. I uploaded a patch to add a core hook to let us add a
module there, and another updating GlobalCssJs to use it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to