Last modified: 2011-03-13 18:05:18 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T5832, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 3832 - Enable transclusion on .css and .js pages
Enable transclusion on .css and .js pages
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
unspecified
All All
: Lowest enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-10-30 14:13 UTC by Zoran Obradovic
Modified: 2011-03-13 18:05 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Zoran Obradovic 2005-10-30 14:13:26 UTC
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.
Comment 1 Brion Vibber 2005-10-31 00:21:16 UTC
This would be highly unsafe.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links