On Sun, Oct 21, 2012 at 12:43:32PM +0200, John Erling Blad wrote: > In my opinion, parsing .js and .css as wikitext is a borken idea. > Add some kind of pragmas to the page and strip them off in the ResourceLoader.
Going further in that direction, I seem to recall one of the goals of ContentHandler is to allow for custom edit forms depending on the content type of the page. Which means that a JS or CSS page could have a wikitext header that is parsed and a JS/CSS area that is not. But that would still break the "backlinks are used to find users who are using a certain script" noted at bug 41155, and depending on how transclusion works with that it could re-enable the circumvention of the spam blacklist mentioned somewhere in there. And it might screw up some bots/userscripts/etc that take advantage of the "can only be edited by this user & admins" protection given to user .js and .css pages to store arbitrary data. _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
