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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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