<div class="ajax-login-slider-panel" id="AjaxLoginConnectMarketing"> <div class="clearfix"> <?php if (Wikia::isOasis()) { // add FB login button (RT #68846) echo wfMsg('comboajaxlogin-log-in-with-facebook-oasis'); echo '<div class="ajax-login-fb-login">' . $fbButtton . '</div>'; echo wfMsg("comboajaxlogin-connectmarketing-oasis"); } else { echo wfMsg("comboajaxlogin-connectmarketing"); } ?> <a href="#" class="back"><?php echo wfMsg("comboajaxlogin-connectmarketing-back"); ?> </a> <a href="#" class="forward"><?php echo wfMsg("comboajaxlogin-connectmarketing-forward"); ?> </a> </div> </div> <div class="ajax-login-slider-panel" id='fbLoginAndConnect' style='display:none'> <?php echo wfMsg("comboajaxlogin-connectdirections"); ?> <form action="" method="post" name="userajaxconnectform" id="userajaxconnectform"> <label for="wpName3Ajax" style="display: block; font-weight: bold;"><?php print wfMsg("yourname"); ?> </label>
function setHeaders() { global $wgOut, $wgUser; $wgOut->addModules('mediawiki.action.edit'); if ($wgUser->getOption('uselivepreview', false)) { $wgOut->addModules('mediawiki.legacy.preview'); } /* Wikia change begin - @author: Marcin, #BugId: 7845 */ /* Move with MW 1.19 merge */ if (!Wikia::isOasis()) { $wgOut->addScriptFile('edit.js'); } /* Wikia change end */ // Bug #19334: textarea jumps when editing articles in IE8 $wgOut->addStyle('common/IE80Fixes.css', 'screen', 'IE 8'); $wgOut->setRobotPolicy('noindex,nofollow'); # Enabled article-related sidebar, toplinks, etc. $wgOut->setArticleRelated(true); if ($this->isConflict) { $wgOut->setPageTitle(wfMessage('editconflict', $this->getContextTitle()->getPrefixedText())); } elseif ($this->section != '') { $msg = $this->section == 'new' ? 'editingcomment' : 'editingsection'; $wgOut->setPageTitle(wfMessage($msg, $this->getContextTitle()->getPrefixedText())); } else { # Use the title defined by DISPLAYTITLE magic word when present if (isset($this->mParserOutput) && ($dt = $this->mParserOutput->getDisplayTitle()) !== false) { $title = $dt; } else { $title = $this->getContextTitle()->getPrefixedText(); } $wgOut->setPageTitle(wfMessage('editing', $title)); } }