From b06fbd3b60c69a026a5c65959c67a8cc3fed9204 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Fri, 11 May 2012 01:12:27 +0200 Subject: [PATCH] Remove usage of mw-code-inline Remove usage of mw-code-inline: * That class ended up not being merged into core, so it does nothing. Only mw-code (for the
 wrap) is needed.
   7c9b2273c9cbdae90c9f4e3890a13619f769c5d0 (mediawiki/core) had both
   in an earlier patch version, but only mw-code was merged.

Follows-up:
 * mediawiki/extensions/SyntaxHighlight_GeSHi:
   dc147a5ef1d5f4bd1d36d90082bdceb9bac8cccf
   Use .mw-code and .mw-code-inline

 * mediawiki/core
   7c9b2273c9cbdae90c9f4e3890a13619f769c5d0
   Add .mw-code styles in core

Change-Id: I793c05c3e103209cf966d9e35ab37c05528cdbb8
---
 SyntaxHighlight_GeSHi.class.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/SyntaxHighlight_GeSHi.class.php b/SyntaxHighlight_GeSHi.class.php
index 7c5daa3a..ca32463d 100644
--- a/SyntaxHighlight_GeSHi.class.php
+++ b/SyntaxHighlight_GeSHi.class.php
@@ -116,7 +116,7 @@ class SyntaxHighlight_GeSHi {
 		unset( $attribs['lang'] );
 
 		if ( $enclose === GESHI_HEADER_NONE ) {
-			$attribs = self::addAttribute( $attribs, 'class', 'mw-geshi mw-code-inline ' . $lang . ' source-' . $lang );
+			$attribs = self::addAttribute( $attribs, 'class', 'mw-geshi ' . $lang . ' source-' . $lang );
 		} else {
 			// Default dir="ltr" (but allow dir="rtl", although unsure if needed)
 			$attribs['dir'] = isset( $attribs['dir'] ) && $attribs['dir'] === 'rtl' ? 'rtl' : 'ltr';