jenkins-bot has submitted this change and it was merged.
Change subject: Convert the mass Beta Feature into feature-level ones, enabling
formulæ
......................................................................
Convert the mass Beta Feature into feature-level ones, enabling formulæ
Make every module that was formerly part of the experimental module its own
Beta Feature. For now, all of them are commented out except for formulæ editing
(mwmath). The "experimental" Beta Feature bucket is no more, but the preference
remains so that it can be set to both true and hidden on MediaWiki.org to let
all the different experimental flags.
The feature icons, previous mis-named "logo" and mis-identified as "screenshots"
are now renamed. One for the mwmath Beta Feature has been added (the rest need
creating before those can be enabled). The i18n descriptions now each identify
that the feature is an experimental one, and that caution is needed.
Change-Id: I28862f3e62f5c78aca33f11265aced1db67f4725
---
M VisualEditor.hooks.php
M VisualEditor.i18n.php
A betafeatures-icon-VisualEditor-formulæ.svg
A betafeatures-icon-VisualEditor.svg
D logo-experimental.svg
D logo.svg
M modules/ve-mw/init/ve.init.mw.Target.js
7 files changed, 537 insertions(+), 210 deletions(-)
Approvals:
Catrope: Looks good to me, approved
jenkins-bot: Verified
diff --git a/VisualEditor.hooks.php b/VisualEditor.hooks.php
index b9ceac1..3c30d2b 100644
--- a/VisualEditor.hooks.php
+++ b/VisualEditor.hooks.php
@@ -242,7 +242,8 @@
'info-link' => false,
// TODO: use message
'visualeditor-preference-core-discussion-link'
'discussion-link' => false,
- 'screenshot' => $wgExtensionAssetsPath .
'/VisualEditor/logo.svg',
+ 'screenshot' => $wgExtensionAssetsPath .
+
'/VisualEditor/betafeatures-icon-VisualEditor.svg',
'requirements' => array(
'javascript' => true,
'blacklist' => $wgVisualEditorBrowserBlacklist,
@@ -250,21 +251,98 @@
)
);
- $preferences['visualeditor-enable-experimental'] = array(
+/* Disabling Beta Features option for language for now
+ $preferences['visualeditor-enable-language'] = array(
'version' => '1.0',
- 'label-message' =>
'visualeditor-preference-experimental-label',
- 'desc-message' =>
'visualeditor-preference-experimental-description',
- // TODO: use message
'visualeditor-preference-experimental-info-link'
+ 'label-message' =>
'visualeditor-preference-language-label',
+ 'desc-message' =>
'visualeditor-preference-language-description',
+ // TODO: use message
'visualeditor-preference-language-info-link'
'info-link' => false,
- // TODO: use message
'visualeditor-preference-experimental-discussion-link'
+ // TODO: use message
'visualeditor-preference-language-discussion-link'
'discussion-link' => false,
- 'screenshot' => $wgExtensionAssetsPath .
'/VisualEditor/logo-experimental.svg',
+ 'screenshot' => $wgExtensionAssetsPath .
+
'/VisualEditor/betafeatures-icon-VisualEditor-language.svg',
'requirements' => array(
'betafeatures' => array(
'visualeditor-enable',
),
),
);
+*/
+
+/* Disabling Beta Features option for generic content for now
+ $preferences['visualeditor-enable-mwalienextension'] = array(
+ 'version' => '1.0',
+ 'label-message' =>
'visualeditor-preference-mwalienextension-label',
+ 'desc-message' =>
'visualeditor-preference-mwalienextension-description',
+ // TODO: use message
'visualeditor-preference-mwalienextension-info-link'
+ 'info-link' => false,
+ // TODO: use message
'visualeditor-preference-mwalienextension-discussion-link'
+ 'discussion-link' => false,
+ 'screenshot' => $wgExtensionAssetsPath .
+
'/VisualEditor/betafeatures-icon-VisualEditor-alien.svg',
+ 'requirements' => array(
+ 'betafeatures' => array(
+ 'visualeditor-enable',
+ ),
+ ),
+ );
+*/
+
+ $preferences['visualeditor-enable-mwmath'] = array(
+ 'version' => '1.0',
+ 'label-message' =>
'visualeditor-preference-mwmath-label',
+ 'desc-message' =>
'visualeditor-preference-mwmath-description',
+ // TODO: use message
'visualeditor-preference-mwmath-info-link'
+ 'info-link' => false,
+ // TODO: use message
'visualeditor-preference-mwmath-discussion-link'
+ 'discussion-link' => false,
+ 'screenshot' => $wgExtensionAssetsPath .
+
'/VisualEditor/betafeatures-icon-VisualEditor-formulæ.svg',
+ 'requirements' => array(
+ 'betafeatures' => array(
+ 'visualeditor-enable',
+ ),
+ ),
+ );
+
+/* Disabling Beta Features option for hieroglyphics for now
+ $preferences['visualeditor-enable-mwhiero'] = array(
+ 'version' => '1.0',
+ 'label-message' =>
'visualeditor-preference-mwhiero-label',
+ 'desc-message' =>
'visualeditor-preference-mwhiero-description',
+ // TODO: use message
'visualeditor-preference-mwhiero-info-link'
+ 'info-link' => false,
+ // TODO: use message
'visualeditor-preference-mwhiero-discussion-link'
+ 'discussion-link' => false,
+ 'screenshot' => $wgExtensionAssetsPath .
+
'/VisualEditor/betafeatures-icon-VisualEditor-hieroglyphics.svg',
+ 'requirements' => array(
+ 'betafeatures' => array(
+ 'visualeditor-enable',
+ ),
+ ),
+ );
+*/
+
+/* Disabling Beta Features option for syntax highlighting for now
+ $preferences['visualeditor-enable-mwsyntaxHighlight'] = array(
+ 'version' => '1.0',
+ 'label-message' =>
'visualeditor-preference-mwsyntaxHighlight-label',
+ 'desc-message' =>
'visualeditor-preference-mwsyntaxHighlight-description',
+ // TODO: use message
'visualeditor-preference-mwsyntaxHighlight-info-link'
+ 'info-link' => false,
+ // TODO: use message
'visualeditor-preference-mwsyntaxHighlight-discussion-link'
+ 'discussion-link' => false,
+ 'screenshot' => $wgExtensionAssetsPath .
+
'/VisualEditor/betafeatures-icon-VisualEditor-syntaxHighlight.svg',
+ 'requirements' => array(
+ 'betafeatures' => array(
+ 'visualeditor-enable',
+ ),
+ ),
+ );
+*/
}
public static function onListDefinedTags( &$tags ) {
@@ -315,6 +393,11 @@
'betatempdisable' =>
$wgDefaultUserOptions['visualeditor-betatempdisable'],
'enable' =>
$wgDefaultUserOptions['visualeditor-enable'],
'enable-experimental' =>
$wgDefaultUserOptions['visualeditor-enable-experimental'],
+// 'enable-language' =>
$wgDefaultUserOptions['visualeditor-enable-language'],
+// 'enable-mwalienextension' =>
$wgDefaultUserOptions['visualeditor-enable-mwalienextension'],
+ 'enable-mwmath' =>
$wgDefaultUserOptions['visualeditor-enable-mwmath'],
+// 'enable-mwhiero' =>
$wgDefaultUserOptions['visualeditor-enable-mwhiero'],
+// 'enable-mwsyntaxHighlight' =>
$wgDefaultUserOptions['visualeditor-enable-mwsyntaxHighlight'],
),
'blacklist' => $wgVisualEditorBrowserBlacklist,
'skins' => $wgVisualEditorSupportedSkins,
diff --git a/VisualEditor.i18n.php b/VisualEditor.i18n.php
index 55291db..9a9a3af 100644
--- a/VisualEditor.i18n.php
+++ b/VisualEditor.i18n.php
@@ -165,11 +165,17 @@
'visualeditor-parameter-search-no-unused' => 'No unused parameters',
'visualeditor-parameter-search-unknown' => 'Unknown parameter',
'visualeditor-preference-betatempdisable' => 'Temporarily disable
VisualEditor while it is in beta',
- 'visualeditor-preference-enable' => 'Enable VisualEditor. It will not
be available on talk pages and some other namespaces.',
'visualeditor-preference-core-description' => 'Enable VisualEditor. It
will not be available on talk pages and some other namespaces.',
'visualeditor-preference-core-label' => 'VisualEditor',
- 'visualeditor-preference-experimental-description' => 'Enable the
latest features inside VisualEditor. As we develop tools and make changes for
the editor, we make them available for testing ahead of general release. Please
remember to always review your changes before saving when using experimental
features.',
- 'visualeditor-preference-experimental-label' => 'VisualEditor
experimental features',
+ 'visualeditor-preference-enable' => 'Enable VisualEditor. It will not
be available on talk pages and some other namespaces.',
+ 'visualeditor-preference-language-description' => 'Add experimental
tools to VisualEditor for marking multi-lingual and bi-directional for testing,
ahead of general release. Please remember to always review your changes before
saving when using experimental features.',
+ 'visualeditor-preference-language-label' => 'VisualEditor language
tools',
+ 'visualeditor-preference-mwalienextension-description' => 'Add
experimental basic support to VisualEditor for editing extension tags (like
galleries or source code blocks), ahead of individual tools being available.
Please remember to always review your changes before saving when using
experimental features.',
+ 'visualeditor-preference-mwalienextension-label' => 'VisualEditor
extension tag editing',
+ 'visualeditor-preference-mwhiero-description' => 'Add experimental
support to VisualEditor for creating and editing hieroglyphics for testing,
ahead of general release. Please remember to always review your changes before
saving when using experimental features.',
+ 'visualeditor-preference-mwhiero-label' => 'VisualEditor hieroglyphics
editing',
+ 'visualeditor-preference-mwmath-description' => 'Add experimental
support to VisualEditor for creating and editing of mathematical formulæ for
testing, ahead of general release. Please remember to always review your
changes before saving when using experimental features.',
+ 'visualeditor-preference-mwmath-label' => 'VisualEditor formulæ
editing',
'visualeditor-reference-input-placeholder' => 'What do you want to
reference?',
'visualeditor-referencelist-isempty' => 'There are no references with
the group "$1" on this page to include in this list.',
'visualeditor-referencelist-isempty-default' => 'There are no
references on this page to include in this list.',
@@ -565,17 +571,50 @@
The description for this checkbox is:
* {{msg-mw|Visualeditor-preference-core-description}}
{{Identical|VisualEditor}}',
- 'visualeditor-preference-experimental-description' => 'Used in
[[Special:Preferences]].
+ 'visualeditor-preference-mwalienextension-description' => 'Used in
[[Special:Preferences]].
-Used as description for the checkbox to enable VisualEditor experimental
features.
+Used as description for the checkbox to enable editing of extension tags in
VisualEditor.
-The label for this checkbox is
{{msg-mw|Visualeditor-preference-experimental-label}}.',
- 'visualeditor-preference-experimental-label' => 'Used in
[[Special:Preferences]].
+The label for this checkbox is
{{msg-mw|Visualeditor-preference-mwalienextension-label}}.',
+ 'visualeditor-preference-mwalienextension-label' => 'Used in
[[Special:Preferences]].
-Used as label for checkbox to enable VisualEditor experimental features.
+Used as label for checkbox to enable editing of extension tags in VisualEditor.
The description for this checkbox is:
-* {{msg-mw|Visualeditor-preference-experimental-description}}',
+* {{msg-mw|Visualeditor-preference-mwalienextension-description}}',
+ 'visualeditor-preference-mwhiero-description' => 'Used in
[[Special:Preferences]].
+
+Used as description for the checkbox to enable editing of hieroglyphics in
VisualEditor.
+
+The label for this checkbox is
{{msg-mw|Visualeditor-preference-mwhiero-label}}.',
+ 'visualeditor-preference-mwhiero-label' => 'Used in
[[Special:Preferences]].
+
+Used as label for checkbox to enable editing of hieroglyphics in VisualEditor.
+
+The description for this checkbox is:
+* {{msg-mw|Visualeditor-preference-mwhiero-description}}',
+ 'visualeditor-preference-language-description' => 'Used in
[[Special:Preferences]].
+
+Used as description for the checkbox to enable language tools in VisualEditor.
+
+The label for this checkbox is
{{msg-mw|Visualeditor-preference-language-label}}.',
+ 'visualeditor-preference-language-label' => 'Used in
[[Special:Preferences]].
+
+Used as label for checkbox to enable language tools in VisualEditor.
+
+The description for this checkbox is:
+* {{msg-mw|Visualeditor-preference-language-description}}',
+ 'visualeditor-preference-mwmath-description' => 'Used in
[[Special:Preferences]].
+
+Used as description for the checkbox to enable editing of mathematical
formulae in VisualEditor.
+
+The label for this checkbox is
{{msg-mw|Visualeditor-preference-mwmath-label}}.',
+ 'visualeditor-preference-mwmath-label' => 'Used in
[[Special:Preferences]].
+
+Used as label for checkbox to enable editing of mathematical formulae in
VisualEditor.
+
+The description for this checkbox is:
+* {{msg-mw|Visualeditor-preference-mwmath-description}}',
'visualeditor-reference-input-placeholder' => 'Placeholder text for
reference search field: searches existing on-page references.',
'visualeditor-referencelist-isempty' => 'Message that appears in the
references list when there are no references on the page of that group.
diff --git "a/betafeatures-icon-VisualEditor-formul\303\246.svg"
"b/betafeatures-icon-VisualEditor-formul\303\246.svg"
new file mode 100644
index 0000000..98b1b0e
--- /dev/null
+++ "b/betafeatures-icon-VisualEditor-formul\303\246.svg"
@@ -0,0 +1,277 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Generator: Adobe Illustrator 16.0.4, SVG Export Plug-In . SVG Version:
6.00 Build 0) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ version="1.1"
+ id="Layer_1"
+ x="0px"
+ y="0px"
+ width="264px"
+ height="162px"
+ viewBox="0 0 264 162"
+ enable-background="new 0 0 264 162"
+ xml:space="preserve"
+ inkscape:version="0.48.2 r9819"
+ sodipodi:docname="betafeatures-icon-VisualEditor-formulæ.svg"><metadata
+ id="metadata3213"><rdf:RDF><cc:Work
+ rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage"
/></cc:Work></rdf:RDF></metadata><defs
+ id="defs3211" /><sodipodi:namedview
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1"
+ objecttolerance="10"
+ gridtolerance="10"
+ guidetolerance="10"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:window-width="1858"
+ inkscape:window-height="1041"
+ id="namedview3209"
+ showgrid="false"
+ inkscape:zoom="22.627417"
+ inkscape:cx="135.88745"
+ inkscape:cy="103.49495"
+ inkscape:window-x="56"
+ inkscape:window-y="22"
+ inkscape:window-maximized="0"
+ inkscape:current-layer="Layer_1" />
+<g
+ id="g3120">
+ <polygon
+ fill="#FFFFFF"
+ points="24.833,151.361 13.366,161.357 0.5,151.749 0.5,0.5 263.5,0.5
263.5,152.249 254.5,158.954 254.5,42.5 215.5,42.5 215.5,155.1
211.107,151.369 203.5,156.699 203.5,42.5 48.5,42.5 48.5,153.35 38.749,161.38 "
+ id="polygon3122" />
+ <g
+ id="g3124">
+ <path
+ fill="#E5E5E5"
+
d="M263,1v150.998l-8,5.96V43v-1h-1h-38h-1v1v111.02l-3.274-2.781l-0.589-0.498l-0.633,0.441L204,155.738V43
v-1h-1H49h-1v1v110.1l-9.257,7.66l-13.295-9.57l-0.645-0.463l-0.598,0.521l-10.864,9.47L1,151.499V1H263
M264,0H0v152l13.391,10
l11.474-10l13.891,10L49,153.6V43h154v114.66l8.078-5.66l4.922,4.18V43h38v116.95l10-7.45V0L264,0z"
+ id="path3126" />
+ </g>
+</g>
+<path
+ fill="#E5E5E5"
+
d="M203,157.66V43H49v110.6l2.145-1.6L63.7,162l13.809-10l14.229,10l12.972-10l12.973,10l13.811-10l12.136,10
l13.391-10l14.229,10l12.972-10l12.974,10L203,157.66z"
+ id="path3128" />
+<path
+ id="Ellipse"
+ fill="#E5E5E5"
+
d="M11,36c0-7.732,6.268-14,14-14s14,6.268,14,14s-6.268,14-14,14S11,43.732,11,36z"
/>
+<path
+ fill="#E5E5E5"
+ d="M254,159.95V43h-38v113.18l7.551,5.82l13.811-10l13.891,10L254,159.95z"
+ id="path3131" />
+<path
+ fill="#E5E5E5"
+ d="M38,107V72H13v35H38z"
+ id="path3133" />
+<path
+ fill="#E5E5E5"
+ d="M232.51,5h26v6h-26V5z"
+ id="path3135" />
+<rect
+ x="208.51"
+ y="5"
+ fill="#E5E5E5"
+ width="22"
+ height="6"
+ id="rect3137" />
+<path
+ fill="#E5E5E5"
+ d="M142,6v4H50V6H142 M143,5H49v6h94V5L143,5z"
+ id="path3139" />
+<rect
+ x="184.51"
+ y="5"
+ fill="#E5E5E5"
+ width="22"
+ height="6"
+ id="rect3141" />
+<rect
+ x="161.51"
+ y="5"
+ fill="#E5E5E5"
+ width="13"
+ height="6"
+ id="rect3143" />
+<rect
+ x="176.51"
+ y="5"
+ fill="#E5E5E5"
+ width="6"
+ height="6"
+ id="rect3145" />
+<rect
+ x="153.51"
+ y="5"
+ fill="#E5E5E5"
+ width="6"
+ height="6"
+ id="rect3147" />
+<rect
+ x="9"
+ y="5"
+ fill="#E5E5E5"
+ width="32"
+ height="6"
+ id="rect3149" />
+<path
+ fill="#E5E5E5"
+ stroke="#E5E5E5"
+ d="M2,14.5h260"
+ id="path3151" />
+<rect
+ x="52"
+ y="7"
+ fill="#E5E5E5"
+ width="2"
+ height="2"
+ id="rect3153" />
+<path
+ fill="#E5E5E5"
+ d="M38,59v-5H13v5H38z"
+ id="path3155" />
+<g
+ id="g3157">
+ <path
+ fill="#E4E4E4"
+
d="M202.957,157.619V42.958h-154v110.601l2.145-1.6l12.556,10l13.809-10l14.229,10l12.972-10l12.973,10
l13.811-10l12.136,10l13.391-10l14.229,10l12.973-10l12.973,10L202.957,157.619z"
+ id="path3159" />
+</g>
+<g
+ opacity="0.2"
+ enable-background="new "
+ id="g3161">
+ <rect
+ x="48.04"
+ y="42.041"
+ fill="#4F89C8"
+ width="156.085"
+ height="21.667"
+ id="rect3163" />
+</g>
+<g
+ opacity="0.8"
+ id="g3165">
+ <rect
+ x="58.957"
+ y="72.292"
+ fill="#CCCBCB"
+ width="54"
+ height="5.999"
+ id="rect3167" />
+</g>
+<g
+ opacity="0.3"
+ enable-background="new "
+ id="g3169">
+ <path
+ fill="#9B9B9B"
+ d="M189.957,84.293h-39v30h39V84.293z
M163.609,97.336h1.402l8.701,8.604l4.725-2.834l7.117,5.943v0.025
h-31.148L163.609,97.336z"
+ id="path3171" />
+</g>
+<g
+ opacity="0.8"
+ id="g3173">
+ <rect
+ x="58.957"
+ y="123.293"
+ fill="#CCCBCB"
+ width="131"
+ height="3"
+ id="rect3175" />
+</g>
+<g
+ opacity="0.8"
+ id="g3177">
+ <rect
+ x="58.957"
+ y="133.293"
+ fill="#CCCBCB"
+ width="104"
+ height="3"
+ id="rect3179" />
+</g>
+<g
+ opacity="0.8"
+ id="g3181">
+ <rect
+ x="58.957"
+ y="89.293"
+ fill="#CCCBCB"
+ width="84"
+ height="3"
+ id="rect3183" />
+</g>
+<g
+ opacity="0.8"
+ id="g3185">
+ <rect
+ x="58.957"
+ y="99.293"
+ fill="#CCCBCB"
+ width="84"
+ height="3"
+ id="rect3187" />
+</g>
+<g
+ opacity="0.8"
+ id="g3189">
+ <rect
+ x="58.957"
+ y="109.293"
+ fill="#CCCBCB"
+ width="39"
+ height="3"
+ id="rect3191" />
+</g>
+<g
+ opacity="0.4"
+ id="g3193">
+ <g
+ id="g3195">
+ <path
+ fill="#9B9B9B"
+ d="M58.957,48.291h25v10h-25V48.291z"
+ id="path3197" />
+ </g>
+ <g
+ id="g3199">
+ <rect
+ x="92.457"
+ y="48.291"
+ fill="#9B9B9B"
+ width="10"
+ height="10"
+ id="rect3201" />
+ </g>
+ <g
+ id="g3203">
+ <rect
+ x="109.457"
+ y="48.291"
+ fill="#9B9B9B"
+ width="10"
+ height="10"
+ id="rect3205" />
+ </g>
+</g>
+
+<g
+ style="opacity:0.75000000000000000;fill:#222222;fill-opacity:1"
+ id="math"
+ transform="translate(129.3,41.6)">
+ <path
+ d="M 13.609,11.391 10.004,16.004 16,16 l 0,-1 1,0 0,3 -10,0 5,-6 -5,-6 10,0
0,3 -1,0 0,-2 -6,0 3.609,4.391"
+ id="sigma"
+ inkscape:connector-curvature="0"
+ style="fill-rule:nonzero;stroke:none;fill:#222222;fill-opacity:1" />
+</g></svg>
\ No newline at end of file
diff --git a/betafeatures-icon-VisualEditor.svg
b/betafeatures-icon-VisualEditor.svg
new file mode 100644
index 0000000..fb08dc1
--- /dev/null
+++ b/betafeatures-icon-VisualEditor.svg
@@ -0,0 +1,121 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 16.0.4, SVG Export Plug-In . SVG Version:
6.00 Build 0) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="264px" height="162px" viewBox="0 0 264 162"
enable-background="new 0 0 264 162" xml:space="preserve">
+<g>
+ <g>
+ <polygon fill="#FFFFFF" points="24.833,151.361 13.366,161.357
0.5,151.749 0.5,0.5 263.5,0.5 263.5,152.249 254.5,158.954
+ 254.5,42.5 215.5,42.5 215.5,155.1 211.107,151.369
203.5,156.699 203.5,42.5 48.5,42.5 48.5,153.35 38.749,161.38 "/>
+ </g>
+ <g>
+ <g>
+ <path fill="#E5E5E5"
d="M263,1v150.998l-8,5.96V43v-1h-1h-38h-1v1v111.02l-3.274-2.781l-0.589-0.498l-0.633,0.441L204,155.738V43
+
v-1h-1H49h-1v1v110.1l-9.257,7.66l-13.295-9.57l-0.645-0.463l-0.598,0.521l-10.864,9.47L1,151.499V1H263
M264,0H0v152l13.391,10
+
l11.474-10l13.891,10L49,153.6V43h154v114.66l8.078-5.66l4.922,4.18V43h38v116.95l10-7.45V0L264,0z"/>
+ </g>
+ </g>
+</g>
+<g>
+ <path fill="#E5E5E5"
d="M203,157.66V43H49v110.6l2.145-1.6L63.7,162l13.809-10l14.229,10l12.972-10l12.973,10l13.811-10l12.136,10
+ l13.391-10l14.229,10l12.972-10l12.974,10L203,157.66z"/>
+</g>
+<g id="Ellipse">
+ <path fill="#E5E5E5"
d="M11,36c0-7.732,6.268-14,14-14s14,6.268,14,14s-6.268,14-14,14S11,43.732,11,36z"/>
+</g>
+<g>
+ <path fill="#E5E5E5"
d="M254,159.95V43h-38v113.18l7.551,5.82l13.811-10l13.891,10L254,159.95z"/>
+</g>
+<g>
+ <path fill="#E5E5E5" d="M38,107V72H13v35H38z"/>
+</g>
+<g>
+ <path fill="#E5E5E5" d="M232.51,5h26v6h-26V5z"/>
+</g>
+<g>
+ <rect x="208.51" y="5" fill="#E5E5E5" width="22" height="6"/>
+</g>
+<g>
+ <path fill="#E5E5E5" d="M142,6v4H50V6H142 M143,5H49v6h94V5L143,5z"/>
+</g>
+<g>
+ <rect x="184.51" y="5" fill="#E5E5E5" width="22" height="6"/>
+</g>
+<g>
+ <rect x="161.51" y="5" fill="#E5E5E5" width="13" height="6"/>
+</g>
+<g>
+ <rect x="176.51" y="5" fill="#E5E5E5" width="6" height="6"/>
+</g>
+<g>
+ <rect x="153.51" y="5" fill="#E5E5E5" width="6" height="6"/>
+</g>
+<g>
+ <rect x="9" y="5" fill="#E5E5E5" width="32" height="6"/>
+</g>
+<g>
+ <path fill="#E5E5E5" d="M2,14.5h260"/>
+ <rect x="2" y="14" fill="#E5E5E5" width="260" height="1"/>
+</g>
+<g>
+ <rect x="52" y="7" fill="#E5E5E5" width="2" height="2"/>
+</g>
+<g>
+ <path fill="#E5E5E5" d="M38,59v-5H13v5H38z"/>
+</g>
+<g opacity="0.2" enable-background="new ">
+ <rect x="48.083" y="42.083" fill="#4F8AC8" width="156.084"
height="21.667"/>
+</g>
+<g>
+ <rect x="59" y="72.333" fill="#CDCCCC" width="54" height="6"/>
+</g>
+<g opacity="0.4118" enable-background="new ">
+ <path fill="#9C9C9D" d="M190,84.334h-39v30h39V84.334z
M163.652,97.377h1.403l8.7,8.604l4.725-2.834l7.117,5.943v0.025H154.45
+ L163.652,97.377z"/>
+</g>
+<g>
+ <rect x="59" y="123.334" fill="#CDCCCC" width="131" height="3"/>
+</g>
+<g>
+ <rect x="59" y="133.334" fill="#CDCCCC" width="104" height="3"/>
+</g>
+<g>
+ <rect x="59" y="89.334" fill="#CDCCCC" width="84" height="3"/>
+</g>
+<g>
+ <rect x="59" y="99.334" fill="#CDCCCC" width="84" height="3"/>
+</g>
+<g>
+ <rect x="59" y="109.334" fill="#CDCCCC" width="39" height="3"/>
+</g>
+<g>
+ <g>
+ <path fill="#9C9C9D" d="M59,48.333h25v10H59V48.333z"/>
+ </g>
+ <g>
+ <rect x="92.5" y="48.333" fill="#9C9C9D" width="10"
height="10"/>
+ </g>
+ <g>
+ <rect x="109.5" y="48.333" fill="#9C9C9D" width="10"
height="10"/>
+ </g>
+</g>
+<g>
+ <g>
+ <g id="Line">
+ <rect x="101.469" y="106.734" fill="#010101" width="2"
height="8.1"/>
+ </g>
+ <g id="Line2">
+ <rect x="101.469" y="104.834" fill="#010101" width="2"
height="2"/>
+ </g>
+ <g id="Line3">
+ <rect x="101.469" y="113.834" fill="#010101" width="2"
height="2"/>
+ </g>
+ </g>
+ <g>
+ <rect x="100.011" y="104.834" fill="#010101" width="4.917"
height="2"/>
+ </g>
+ <g>
+ <rect x="99.979" y="113.834" fill="#010101" width="4.917"
height="2"/>
+ </g>
+</g>
+</svg>
diff --git a/logo-experimental.svg b/logo-experimental.svg
deleted file mode 100644
index 433c095..0000000
--- a/logo-experimental.svg
+++ /dev/null
@@ -1,72 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 16.0.4, SVG Export Plug-In . SVG Version:
6.00 Build 0) -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- width="264px" height="162px" viewBox="0 0 264 162"
enable-background="new 0 0 264 162" xml:space="preserve">
-<g>
- <polygon fill="#FFFFFF" points="24.833,151.361 13.366,161.357
0.5,151.749 0.5,0.5 263.5,0.5 263.5,152.249 254.5,158.954
- 254.5,42.5 215.5,42.5 215.5,155.1 211.107,151.369 203.5,156.699
203.5,42.5 48.5,42.5 48.5,153.35 38.749,161.38 "/>
- <g>
- <path fill="#E5E5E5"
d="M263,1v150.998l-8,5.96V43v-1h-1h-38h-1v1v111.02l-3.274-2.781l-0.589-0.498l-0.633,0.441L204,155.738V43
-
v-1h-1H49h-1v1v110.1l-9.257,7.66l-13.295-9.57l-0.645-0.463l-0.598,0.521l-10.864,9.47L1,151.499V1H263
M264,0H0v152l13.391,10
-
l11.474-10l13.891,10L49,153.6V43h154v114.66l8.078-5.66l4.922,4.18V43h38v116.95l10-7.45V0L264,0z"/>
- </g>
-</g>
-<path fill="#E5E5E5"
d="M203,157.66V43H49v110.6l2.145-1.6L63.7,162l13.809-10l14.229,10l12.972-10l12.973,10l13.811-10l12.136,10
- l13.391-10l14.229,10l12.972-10l12.974,10L203,157.66z"/>
-<path id="Ellipse" fill="#E5E5E5"
d="M11,36c0-7.732,6.268-14,14-14s14,6.268,14,14s-6.268,14-14,14S11,43.732,11,36z"/>
-<path fill="#E5E5E5"
d="M254,159.95V43h-38v113.18l7.551,5.82l13.811-10l13.891,10L254,159.95z"/>
-<path fill="#E5E5E5" d="M38,107V72H13v35H38z"/>
-<path fill="#E5E5E5" d="M232.51,5h26v6h-26V5z"/>
-<rect x="208.51" y="5" fill="#E5E5E5" width="22" height="6"/>
-<path fill="#E5E5E5" d="M142,6v4H50V6H142 M143,5H49v6h94V5L143,5z"/>
-<rect x="184.51" y="5" fill="#E5E5E5" width="22" height="6"/>
-<rect x="161.51" y="5" fill="#E5E5E5" width="13" height="6"/>
-<rect x="176.51" y="5" fill="#E5E5E5" width="6" height="6"/>
-<rect x="153.51" y="5" fill="#E5E5E5" width="6" height="6"/>
-<rect x="9" y="5" fill="#E5E5E5" width="32" height="6"/>
-<path fill="#E5E5E5" stroke="#E5E5E5" d="M2,14.5h260"/>
-<rect x="52" y="7" fill="#E5E5E5" width="2" height="2"/>
-<path fill="#E5E5E5" d="M38,59v-5H13v5H38z"/>
-<g>
- <path fill="#E4E4E4"
d="M202.957,157.619V42.958h-154v110.601l2.145-1.6l12.556,10l13.809-10l14.229,10l12.972-10l12.973,10
-
l13.811-10l12.136,10l13.391-10l14.229,10l12.973-10l12.973,10L202.957,157.619z"/>
-</g>
-<g opacity="0.2" enable-background="new ">
- <rect x="48.04" y="42.041" fill="#4F89C8" width="156.085"
height="21.667"/>
-</g>
-<g opacity="0.8">
- <rect x="58.957" y="72.292" fill="#CCCBCB" width="54" height="5.999"/>
-</g>
-<g opacity="0.3" enable-background="new ">
- <path fill="#9B9B9B" d="M189.957,84.293h-39v30h39V84.293z
M163.609,97.336h1.402l8.701,8.604l4.725-2.834l7.117,5.943v0.025
- h-31.148L163.609,97.336z"/>
-</g>
-<g opacity="0.8">
- <rect x="58.957" y="123.293" fill="#CCCBCB" width="131" height="3"/>
-</g>
-<g opacity="0.8">
- <rect x="58.957" y="133.293" fill="#CCCBCB" width="104" height="3"/>
-</g>
-<g opacity="0.8">
- <rect x="58.957" y="89.293" fill="#CCCBCB" width="84" height="3"/>
-</g>
-<g opacity="0.8">
- <rect x="58.957" y="99.293" fill="#CCCBCB" width="84" height="3"/>
-</g>
-<g opacity="0.8">
- <rect x="58.957" y="109.293" fill="#CCCBCB" width="39" height="3"/>
-</g>
-<g opacity="0.4">
- <g>
- <path fill="#9B9B9B" d="M58.957,48.291h25v10h-25V48.291z"/>
- </g>
- <g>
- <rect x="92.457" y="48.291" fill="#9B9B9B" width="10"
height="10"/>
- </g>
- <g>
- <rect x="109.457" y="48.291" fill="#9B9B9B" width="10"
height="10"/>
- </g>
-</g>
-<path fill="#222222"
d="M140.107,46.375h3v5.4h5.1v2.699h-5.1v5.4h-3v-5.4h-5.4v-2.699h5.4V46.375z"/>
-</svg>
diff --git a/logo.svg b/logo.svg
deleted file mode 100644
index abf36c8..0000000
--- a/logo.svg
+++ /dev/null
@@ -1,121 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 16.0.4, SVG Export Plug-In . SVG Version:
6.00 Build 0) -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- width="264px" height="162px" viewBox="0 0 264 162"
enable-background="new 0 0 264 162" xml:space="preserve">
-<g>
- <g>
- <polygon fill="#FFFFFF" points="24.833,151.361 13.366,161.357
0.5,151.749 0.5,0.5 263.5,0.5 263.5,152.249 254.5,158.954
- 254.5,42.5 215.5,42.5 215.5,155.1 211.107,151.369
203.5,156.699 203.5,42.5 48.5,42.5 48.5,153.35 38.749,161.38 "/>
- </g>
- <g>
- <g>
- <path fill="#E5E5E5"
d="M263,1v150.998l-8,5.96V43v-1h-1h-38h-1v1v111.02l-3.274-2.781l-0.589-0.498l-0.633,0.441L204,155.738V43
-
v-1h-1H49h-1v1v110.1l-9.257,7.66l-13.295-9.57l-0.645-0.463l-0.598,0.521l-10.864,9.47L1,151.499V1H263
M264,0H0v152l13.391,10
-
l11.474-10l13.891,10L49,153.6V43h154v114.66l8.078-5.66l4.922,4.18V43h38v116.95l10-7.45V0L264,0z"/>
- </g>
- </g>
-</g>
-<g>
- <path fill="#E5E5E5"
d="M203,157.66V43H49v110.6l2.145-1.6L63.7,162l13.809-10l14.229,10l12.972-10l12.973,10l13.811-10l12.136,10
- l13.391-10l14.229,10l12.972-10l12.974,10L203,157.66z"/>
-</g>
-<g id="Ellipse">
- <path fill="#E5E5E5"
d="M11,36c0-7.732,6.268-14,14-14s14,6.268,14,14s-6.268,14-14,14S11,43.732,11,36z"/>
-</g>
-<g>
- <path fill="#E5E5E5"
d="M254,159.95V43h-38v113.18l7.551,5.82l13.811-10l13.891,10L254,159.95z"/>
-</g>
-<g>
- <path fill="#E5E5E5" d="M38,107V72H13v35H38z"/>
-</g>
-<g>
- <path fill="#E5E5E5" d="M232.51,5h26v6h-26V5z"/>
-</g>
-<g>
- <rect x="208.51" y="5" fill="#E5E5E5" width="22" height="6"/>
-</g>
-<g>
- <path fill="#E5E5E5" d="M142,6v4H50V6H142 M143,5H49v6h94V5L143,5z"/>
-</g>
-<g>
- <rect x="184.51" y="5" fill="#E5E5E5" width="22" height="6"/>
-</g>
-<g>
- <rect x="161.51" y="5" fill="#E5E5E5" width="13" height="6"/>
-</g>
-<g>
- <rect x="176.51" y="5" fill="#E5E5E5" width="6" height="6"/>
-</g>
-<g>
- <rect x="153.51" y="5" fill="#E5E5E5" width="6" height="6"/>
-</g>
-<g>
- <rect x="9" y="5" fill="#E5E5E5" width="32" height="6"/>
-</g>
-<g>
- <path fill="#E5E5E5" d="M2,14.5h260"/>
- <rect x="2" y="14" fill="#E5E5E5" width="260" height="1"/>
-</g>
-<g>
- <rect x="52" y="7" fill="#E5E5E5" width="2" height="2"/>
-</g>
-<g>
- <path fill="#E5E5E5" d="M38,59v-5H13v5H38z"/>
-</g>
-<g opacity="0.2" enable-background="new ">
- <rect x="48.083" y="42.083" fill="#4F8AC8" width="156.084"
height="21.667"/>
-</g>
-<g>
- <rect x="59" y="72.333" fill="#CDCCCC" width="54" height="6"/>
-</g>
-<g opacity="0.4118" enable-background="new ">
- <path fill="#9C9C9D" d="M190,84.334h-39v30h39V84.334z
M163.652,97.377h1.403l8.7,8.604l4.725-2.834l7.117,5.943v0.025H154.45
- L163.652,97.377z"/>
-</g>
-<g>
- <rect x="59" y="123.334" fill="#CDCCCC" width="131" height="3"/>
-</g>
-<g>
- <rect x="59" y="133.334" fill="#CDCCCC" width="104" height="3"/>
-</g>
-<g>
- <rect x="59" y="89.334" fill="#CDCCCC" width="84" height="3"/>
-</g>
-<g>
- <rect x="59" y="99.334" fill="#CDCCCC" width="84" height="3"/>
-</g>
-<g>
- <rect x="59" y="109.334" fill="#CDCCCC" width="39" height="3"/>
-</g>
-<g>
- <g>
- <path fill="#9C9C9D" d="M59,48.333h25v10H59V48.333z"/>
- </g>
- <g>
- <rect x="92.5" y="48.333" fill="#9C9C9D" width="10"
height="10"/>
- </g>
- <g>
- <rect x="109.5" y="48.333" fill="#9C9C9D" width="10"
height="10"/>
- </g>
-</g>
-<g>
- <g>
- <g id="Line">
- <rect x="101.469" y="106.734" fill="#010101" width="2"
height="8.1"/>
- </g>
- <g id="Line2">
- <rect x="101.469" y="104.834" fill="#010101" width="2"
height="2"/>
- </g>
- <g id="Line3">
- <rect x="101.469" y="113.834" fill="#010101" width="2"
height="2"/>
- </g>
- </g>
- <g>
- <rect x="100.011" y="104.834" fill="#010101" width="4.917"
height="2"/>
- </g>
- <g>
- <rect x="99.979" y="113.834" fill="#010101" width="4.917"
height="2"/>
- </g>
-</g>
-</svg>
diff --git a/modules/ve-mw/init/ve.init.mw.Target.js
b/modules/ve-mw/init/ve.init.mw.Target.js
index 12ebd5e..8755c1b 100644
--- a/modules/ve-mw/init/ve.init.mw.Target.js
+++ b/modules/ve-mw/init/ve.init.mw.Target.js
@@ -21,7 +21,7 @@
*/
ve.init.mw.Target = function VeInitMwTarget( $container, pageName, revisionId
) {
var i, len, prefName, prefValue, conf = mw.config.get(
'wgVisualEditorConfig' ),
- extraModules = [ 'experimental' ];
+ extraModules = [ 'experimental'/* , 'language'*//*,
'mwalienextension'*/, 'mwmath'/*, 'mwhiero'*/ ];
// Parent constructor
ve.init.Target.call( this, $container );
--
To view, visit https://gerrit.wikimedia.org/r/91108
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I28862f3e62f5c78aca33f11265aced1db67f4725
Gerrit-PatchSet: 11
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Catrope <[email protected]>
Gerrit-Reviewer: Bartosz Dziewoński <[email protected]>
Gerrit-Reviewer: Catrope <[email protected]>
Gerrit-Reviewer: Esanders <[email protected]>
Gerrit-Reviewer: Jforrester <[email protected]>
Gerrit-Reviewer: Krinkle <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits