From 7156b4f83689dcb67faee0a006f859d75ab80e46 Mon Sep 17 00:00:00 2001 From: Rob Church Date: Fri, 29 Jun 2007 13:53:27 +0000 Subject: [PATCH] Fix r23553 --- includes/Article.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" );
-- 
2.20.1