From 0a37cfb915329c1967460df156754406f43ca91a Mon Sep 17 00:00:00 2001 From: "James D. Forrester" Date: Fri, 25 Apr 2014 13:15:28 -0700 Subject: [PATCH] Pull in Parsoid's new styling module Also remove CSS hack from MWTransclusionNode now that we have properly styled Parsoid references. Bug: 63983 Change-Id: I5e8dc4c618809f6dd923fe4676d57acd1094f93d --- VisualEditor.php | 1 + modules/ve-mw/ce/styles/nodes/ve.ce.MWTransclusionNode.css | 7 ------- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/VisualEditor.php b/VisualEditor.php index 659b437f4e..520951e25b 100644 --- a/VisualEditor.php +++ b/VisualEditor.php @@ -651,6 +651,7 @@ $wgResourceModules += array( 'mediawiki.jqueryMsg', 'jquery.autoEllipsis', 'jquery.byteLimit', + 'ext.parsoid.styles', ), 'messages' => array( 'visualeditor-beta-label', diff --git a/modules/ve-mw/ce/styles/nodes/ve.ce.MWTransclusionNode.css b/modules/ve-mw/ce/styles/nodes/ve.ce.MWTransclusionNode.css index ff24503ce7..1bf1fda291 100644 --- a/modules/ve-mw/ce/styles/nodes/ve.ce.MWTransclusionNode.css +++ b/modules/ve-mw/ce/styles/nodes/ve.ce.MWTransclusionNode.css @@ -4,7 +4,6 @@ * @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt * @license The MIT License (MIT); see LICENSE.txt */ -/*csslint overqualified-elements:false */ .ve-ce-mwTransclusionInlineNode { display: inline-block; @@ -14,9 +13,3 @@ .ve-ce-mwTransclusionNode .mw-ext-cite-error { display: none; } - -/* HACK: Fake superscript style for references generated as spans in templates */ -.ve-ce-mwTransclusionNode span.reference { - vertical-align: super; - font-size: smaller; -} \ No newline at end of file