Remove whitespace at the end of lines

Change-Id: Icccee7461ecff22cbc5076df9f3803b6c2e29f28
This commit is contained in:
Florianschmidtwelzow 2014-10-29 18:22:42 +01:00
parent c91e62b74f
commit 64b286d04e

View file

@ -19,11 +19,11 @@ class CodeEditorHooks {
if( preg_match( '/\.css$/', $title->getText() ) )
return 'css';
}
// Give extensions a chance
$lang = null;
wfRunHooks( 'CodeEditorGetPageLanguage', array( $title, &$lang ) );
return $lang;
}
@ -34,7 +34,7 @@ class CodeEditorHooks {
);
return true;
}
public static function editPageShowEditFormInitial( $editpage, $output ) {
$lang = self::getPageLanguage( $editpage->getContextTitle() );
if ( $lang && $output->getUser()->getOption( 'usebetatoolbar' ) ) {
@ -50,7 +50,7 @@ class CodeEditorHooks {
}
return true;
}
public static function onBeforePageDisplay( $out, $skin ) {
global $wgCodeEditorGeshiIntegration;
if ( $wgCodeEditorGeshiIntegration ) {