From 9c4e874e1b674571e5cb8f3b32035d4b4c742e96 Mon Sep 17 00:00:00 2001 From: "James D. Forrester" Date: Tue, 10 Jun 2014 10:41:31 -0700 Subject: [PATCH] Remove now-inherited auto-numbered link CSS styling Transferred to MW core in Id765da7b. Change-Id: I83b490bd3265429c97969c92249efc65aea31d01 --- VisualEditor.php | 3 --- .../nodes/ve.ce.MWNumberedExternalLinkNode.css | 16 ---------------- 2 files changed, 19 deletions(-) delete mode 100644 modules/ve-mw/ce/styles/nodes/ve.ce.MWNumberedExternalLinkNode.css diff --git a/VisualEditor.php b/VisualEditor.php index 0d8865a143..1c32b2e7d8 100644 --- a/VisualEditor.php +++ b/VisualEditor.php @@ -837,9 +837,6 @@ $wgResourceModules += array( 'modules/ve-mw/ui/tools/ve.ui.MWLinkNodeInspectorTool.js', ), - 'styles' => array( - 'modules/ve-mw/ce/styles/nodes/ve.ce.MWNumberedExternalLinkNode.css', - ), 'skinStyles' => array( 'default' => array( 'modules/ve-mw/ui/themes/apex/ve.ui.MWLinkTargetInputWidget.css' diff --git a/modules/ve-mw/ce/styles/nodes/ve.ce.MWNumberedExternalLinkNode.css b/modules/ve-mw/ce/styles/nodes/ve.ce.MWNumberedExternalLinkNode.css deleted file mode 100644 index 7310ba86e7..0000000000 --- a/modules/ve-mw/ce/styles/nodes/ve.ce.MWNumberedExternalLinkNode.css +++ /dev/null @@ -1,16 +0,0 @@ -/*! - * VisualEditor ContentEditable MediaWiki MWNumberedExternalLinkNode styles. - * - * @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt - * @license The MIT License (MIT); see LICENSE.txt - */ -/*csslint regex-selectors:false */ - -.ve-ce-surface { - counter-reset: ve-ce-mwNumberedExternalLinkNode; -} - -a[rel~="mw:ExtLink"]:empty:after { - content: "[" counter(ve-ce-mwNumberedExternalLinkNode) "]"; - counter-increment: ve-ce-mwNumberedExternalLinkNode; -}