*/
$wgBreakFrames = false;
-/**
- * Break frameset exception list
- */
-$wgBreakFramesExceptions = array(
- 'babelfish.altavista.com',
- 'translate.google.com',
-);
-
?>
global $wgStylePath, $wgUser;
global $wgArticlePath, $wgScriptPath, $wgServer, $wgContLang, $wgLang;
global $wgTitle, $wgCanonicalNamespaceNames, $wgOut, $wgArticle;
- global $wgBreakFrames, $wgBreakFramesExceptions;
+ global $wgBreakFrames;
$ns = $wgTitle->getNamespace();
$nsname = isset( $wgCanonicalNamespaceNames[ $ns ] ) ? $wgCanonicalNamespaceNames[ $ns ] : $wgTitle->getNsText();
'wgUserLanguage' => $wgLang->getCode(),
'wgContentLanguage' => $wgContLang->getCode(),
'wgBreakFrames' => $wgBreakFrames,
- 'wgBreakFramesExceptions' => $wgBreakFramesExceptions,
'wgCurRevisionId' => isset( $wgArticle ) ? $wgArticle->getLatest() : 0,
);
if (wgBreakFrames) {
// Un-trap us from framesets
- if (window.top != window && wgBreakFramesExceptions.indexOf(window.top.location.hostname) == -1) {
+ if (window.top != window) {
window.top.location = window.location;
}
}