Last modified: 2010-05-15 15:33:51 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T4202, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 2202 - Using XUL components or IFRAMES and Wiki redirects parent frame.
Using XUL components or IFRAMES and Wiki redirects parent frame.
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Redirects (Other open bugs)
1.4.x
Other All
: Lowest trivial with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-18 21:24 UTC by Chris MacD
Modified: 2010-05-15 15:33 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Chris MacD 2005-05-18 21:24:38 UTC
I'm attempting to setup a intranet using XUL. 
Normally an application would behave and stay within the browser window.
However, when using mediawiki it redirects the entire url and removes the XUL
wrapper.

Example:

<window
    xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    title="Company - Intranet"
    id="standard">
<tabbox orient="vertical" flex="1">
  <tabs>
    <tab label="Mantis" />
    <tab label="Wiki" />
    <tab label="Other" />
  </tabs>
  <tabpanels flex="1">
    <browser src="http://intranet.ZZZZZZ.com/includes/mantis/"/>
    <browser
src="http://intranet.ZZZZZZ.com:16080/includes/mediawiki/index.php/Main_Page"/>
    <browser src="about:blank"/>
  </tabpanels>
</tabbox>
</window>

This will bypass all of the XUL or any other iframe I attempt to wrap it in and
redirect the entire page to the wiki.

I've looked through some of the code and there seems to be no way to turn this
attribute off without drastically effecting the way the wili works. Could this
be an option included in future versions. Something in LocalSettings.php like
$wmAllowFramedWiki = true;

Or if there is a way to do this already can someone point me in the right direction.

Many thanks, great product, and keep up the great work.
Comment 1 Brion Vibber 2005-05-18 22:24:49 UTC
This is done in wikibits.js; remove the offending lines and it will sit in whatever frame you put it 
in.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links