On Fri, Jan 20, 2006 at 10:44:09AM -0800, Rob Lanphier wrote:
1. Apply this patch (which should eventually find its
way into MW):
http://bugzilla.wikipedia.org/show_bug.cgi?id=3603
Aha. Excellent. When browsing the source I did spot addScript(), but
couldn't work out how to use it. This looks perfect.
2. Write a very small extension which calls
$wgOut->addScript('<script
src="myveryownjsfile.js"></script>'); I can't think of which
hook to
use off the top of my head, but I'm sure there's one that's appropriate.
I'll dig around and see. If anyone can suggest one, I'd appreciate it!
You will still have to remember to resync until the
patch finds its way
into a release you are using, but it's the most likely way I can think
of to solve your problem.
*nod*
I'm happier resync-ing a patch that will hopefully be going into a
future release than a random one of my own.
Thanks a lot,
Tony