
joshua.l.bass at lmco
Aug 12, 2005, 8:55 AM
Post #3 of 4
(2972 views)
Permalink
|
|
RE: Re: Mediawiki in iframe and redirect problem
[In reply to]
|
|
That did not work for me. -----Original Message----- From: mediawiki-l-bounces [at] Wikimedia [mailto:mediawiki-l-bounces [at] Wikimedia] On Behalf Of Ashar Voultoiz Sent: Thursday, August 11, 2005 10:13 PM To: mediawiki-l [at] Wikimedia Subject: [Mediawiki-l] Re: Mediawiki in iframe and redirect problem Kohan, Massoud wrote: <snip> > I need to set up mediawiki into another web application so, when a > request comes to the page which has iframe in it the wediawiki > redirects the page to original server address > http://myserverver.com:8080/mediawiki-1.4.7/index.php but I need it to > be in the middle of table not redirect to the server. How could I > solve the problem Hello, Mediawiki got a javascript fragment to untrap it of frames. Have a look in file ./skins/common/wikibits.js : // Un-trap us from framesets if( window.top != window ) window.top.location = window.location; Comment it out using // in front. -- Ashar Voultoiz - WP++++ http://en.wikipedia.org/wiki/User:Hashar http://www.livejournal.com/community/wikitech/ IM: hashar [at] jabber ICQ: 15325080 _______________________________________________ MediaWiki-l mailing list MediaWiki-l [at] Wikimedia http://mail.wikipedia.org/mailman/listinfo/mediawiki-l _______________________________________________ MediaWiki-l mailing list MediaWiki-l [at] Wikimedia http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
|