Remove button-math
authorMoritz Schubotz (Physikerwelt) <wiki@physikerwelt.de>
Sun, 6 Apr 2014 08:37:39 +0000 (08:37 +0000)
committerTheDJ <hartman.wiki@gmail.com>
Mon, 7 Apr 2014 09:34:08 +0000 (09:34 +0000)
The button-math is now created by the Extension:Math
see I3d126c1c252c27fa65ab8fb42ffab66a2d99cfa8

Bug: 60471
Change-Id: Ib17aa47c7d647e1ed293541adbdd1aa77e25e59e

includes/EditPage.php
languages/messages/MessagesEn.php
skins/common/images/button_math.png [deleted file]

index f57fc60..aab3c5b 100644 (file)
@@ -3417,15 +3417,6 @@ HTML
                                'tip'    => wfMessage( 'media_tip' )->text(),
                                'key'    => 'M'
                        ) : false,
-                       class_exists( 'MathRenderer' ) ? array(
-                               'image'  => $wgLang->getImageFile( 'button-math' ),
-                               'id'     => 'mw-editbutton-math',
-                               'open'   => "<math>",
-                               'close'  => "</math>",
-                               'sample' => wfMessage( 'math_sample' )->text(),
-                               'tip'    => wfMessage( 'math_tip' )->text(),
-                               'key'    => 'C'
-                       ) : false,
                        array(
                                'image'  => $wgLang->getImageFile( 'button-nowiki' ),
                                'id'     => 'mw-editbutton-nowiki',
index 05db874..e65891a 100644 (file)
@@ -518,7 +518,6 @@ $imageFiles = array(
        'button-headline' => 'button_headline.png',
        'button-image'    => 'button_image.png',
        'button-media'    => 'button_media.png',
-       'button-math'     => 'button_math.png',
        'button-nowiki'   => 'button_nowiki.png',
        'button-sig'      => 'button_sig.png',
        'button-hr'       => 'button_hr.png',
diff --git a/skins/common/images/button_math.png b/skins/common/images/button_math.png
deleted file mode 100644 (file)
index 507e4b5..0000000
Binary files a/skins/common/images/button_math.png and /dev/null differ