The JS version of transclusion appears to be:
document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js' + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
I think it would be a brilliant idea to modularise and bring together all scripts in a consistent fashion under a WikiProject umbrella, so the editor just has to include a selection of subpages.
----- Original Message ---- From: Steve Bennett stevage@gmail.com To: English Wikipedia wikien-l@wikipedia.org Sent: Wednesday, 3 May, 2006 10:28:19 AM Subject: Re: [WikiEN-l] Watchlist feature requests (was Re: Cruft)
On 03/05/06, Alphax (Wikipedia email) alphasigmax@gmail.com wrote:
Oh yes, there's http://en.wikipedia.org/wiki/Wikipedia:WikiProject_User_scripts on en: which has a heap of these sort of things (somewhere). I've crosslinked them.
It would be cool if there was a simple way where a user could click to include all these functionalities. They're quite modular, and often don't conflict with each other. So wouldn't it be nice if you could just click to include some code, rather than copy-pasting. Personally, I find after about 3-4 functions included, my monobook.js is totally out of control. Or maybe it's possible to {transclude} subpages to make it tidier?
Yes, there would be security issues to sort out - presumably you would be including a specific version of the page, not just "the latest version".
SoC project?
Steve _______________________________________________ WikiEN-l mailing list WikiEN-l@Wikipedia.org To unsubscribe from this mailing list, visit: http://mail.wikipedia.org/mailman/listinfo/wikien-l