From: Rob Church Date: Fri, 29 Jun 2007 13:53:27 +0000 (+0000) Subject: Fix r23553 X-Git-Tag: 1.31.0-rc.0~52326 X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=commitdiff_plain;h=7156b4f83689dcb67faee0a006f859d75ab80e46;p=lhc%2Fweb%2Fwiklou.git Fix r23553 --- diff --git a/includes/Article.php b/includes/Article.php index 6be656dead..9f3795e749 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -783,9 +783,9 @@ class Article { // Pages containing custom CSS or JavaScript get special treatment if( $this->mTitle->isCssOrJsPage() || $this->mTitle->isCssJsSubpage() ) { $wgOut->addHtml( wfMsgExt( 'clearyourcache', 'parse' ) ); - + // Give hooks a chance to customise the output - if( wfRunHooks( 'ShowRawCssJs', array( $text, $this->mTitle, $wgOut ) ) ) { + if( wfRunHooks( 'ShowRawCssJs', array( $this->mContent, $this->mTitle, $wgOut ) ) ) { // Wrap the whole lot in a
 and don't parse
 					preg_match( '!\.(css|js)$!u', $this->mTitle->getText(), $m );
 					$wgOut->addHtml( "
\n" );