Mailing List Archive

MediaWiki 1.2.4: Usage inside a frame
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
I want to use mediawiki for an internal documentation wiki where it
appears inside a nested frame. Unfortunately, there is always a new
window opened. I looked into the code and found that style/wikibits.js
contains such code:

/ Wikipedia JavaScript support functions
// Un-trap us from framesets
if( window.top != window ) window.top.location = window.location;

But if I comment this line, the behaviour is still the same. Is there
any other place were js code is used to avoid frames?

Thanks for help,
Thommmie
- --
- ---------------------------------------------------------------------
~ THOMAS M. ROTHER * n e t z w i s s e n * D-73728 Esslingen
~ F.R. Germany, European Union * mailto:t.rother@netzwissen.de
~ http://www.netzwissen.de * GPG Key from http://wwwkeys.de.pgp.net
~ Fingerprint B208 E204 4249 4635 19B9 B691 3E73 C8B9 1229 DE4C
- ---------------------------------------------------------------------


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAvKbfPnPIuRIp3kwRAllkAJ9PEIq8OJJ65/rwR3XJKHUOlTBvuACeP3cu
6IRC+aQspRpOJsFyYj+dOFU=
=F9qc
-----END PGP SIGNATURE-----
Re: MediaWiki 1.2.4: Usage inside a frame [ In reply to ]
Thomas Rother wrote:
> I want to use mediawiki for an internal documentation wiki where it
> appears inside a nested frame. Unfortunately, there is always a new
> window opened. I looked into the code and found that style/wikibits.js
> contains such code:
>
> / Wikipedia JavaScript support functions
> // Un-trap us from framesets
> if( window.top != window ) window.top.location = window.location;
>
> But if I comment this line, the behaviour is still the same. Is there
> any other place were js code is used to avoid frames?

No, that's it. Be sure you've cleared the old version from your browser
cache.

-- brion vibber (brion @ pobox.com)