On Fri, 2006-01-20 at 08:51 +0000, Tony Bowden wrote:
On Thu, Jan 19, 2006 at 11:31:54PM +0000, Tomer
Chachamu wrote:
It works for pages on the same subdomain
(
en.wikipedia.org) and maybe
also the same domain.
...
It's difficult to integrate sites from
different domains, and perhaps
for good reason.
This is why I'm looking for a solution that doesn't involve even trying
to do this, but just allows me to change the <head> generated in
mediawiki, without having to edit source (and remember to resync at each
upgrade)
Here's the cleanest way I can think of:
1. Apply this patch (which should eventually find its way into MW):
http://bugzilla.wikipedia.org/show_bug.cgi?id=3603
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.
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.
Rob