var $skinname = 'standard', $stylename = 'standard',
$template = 'StandardTemplate';
+ /**
+ * @param $out OutputPage
+ */
function setupSkinUserCss( OutputPage $out ){
parent::setupSkinUserCss( $out );
$out->AddModuleStyles( 'skins.standard' );
- global $wgContLang;
$qb = $this->qbSetting();
$rules = array();
$rules[] = "#article, #mw-data-after-content { margin-right: 152px; margin-left: 4px; }";
}
$style = implode( "\n", $rules );
- if ( $wgContLang->getDir() === 'rtl' ) {
- $style = CSSJanus::transform( $style, true, false );
- }
$out->addInlineStyle( $style );
}
class StandardTemplate extends LegacyTemplate {
+ /**
+ * @return string
+ */
function doAfterContent() {
global $wgContLang, $wgLang;
wfProfileIn( __METHOD__ );
return $s;
}
+ /**
+ * @return string
+ */
function quickBar() {
global $wgOut, $wgUser, $wgRequest, $wgContLang;