From: Reedy Date: Mon, 22 Oct 2012 16:49:14 +0000 (+0100) Subject: * (bug 41267) mediawiki.action.edit.preview is not loaded X-Git-Tag: 1.31.0-rc.0~21908^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/supprimer.php?a=commitdiff_plain;h=80ef26cb0717c61fb139319eab318a3d407b3de1;p=lhc%2Fweb%2Fwiklou.git * (bug 41267) mediawiki.action.edit.preview is not loaded Change-Id: Icfea6f25416ba276ebca5e095e37155a945b8492 --- diff --git a/includes/EditPage.php b/includes/EditPage.php index 17335e49bf..15321fc091 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -1770,7 +1770,7 @@ class EditPage { $wgOut->addModules( 'mediawiki.action.edit' ); if ( $wgUser->getOption( 'uselivepreview', false ) ) { - $wgOut->addModules( 'mediawiki.legacy.preview' ); + $wgOut->addModules( 'mediawiki.action.edit.preview' ); } // Bug #19334: textarea jumps when editing articles in IE8 $wgOut->addStyle( 'common/IE80Fixes.css', 'screen', 'IE 8' );