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

bzimport added a project: MediaWiki-Templates.Via ConduitNov 21 2014, 8:55 PM
bzimport added a subscriber: wikibugs-l.
bzimport set Reference to bz3832.
bzimport created this task.Via LegacyOct 30 2005, 2:13 PM
brion added a comment.Via ConduitOct 31 2005, 12:21 AM

This would be highly unsafe.

Add Comment