Page MenuHomePhabricator

Enable transclusion on .css and .js pages
Closed, DeclinedPublic

Description

Author: zocky

Description:
Currently, transclusion doesn't work on .css and .js pages. It would be good to
enable it, since it would allow users to easily install and uninstall js tools
and style enhancements made by other users. Instead of copying a chunk of
javascript, a user could just put {{User:Lupin/popups.js}} on their .js page.
Even better, we could have prepared templates and users could use something like
{{Tools/Popups|layout=menus|redirect=0}} for easy coniguration.

{{ is not normally used in either js or css, and where it needs to be used (e.g.
inside strings) it can be escaped.


Version: unspecified
Severity: enhancement

Details

Reference
bz3832

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 8:55 PM
bzimport set Reference to bz3832.
bzimport added a subscriber: Unknown Object (MLST).