Wikia code/includes/parser/ParserCache.php

Category:Pages kept for historical interest

http://trac.wikia-code.com/changeset/9803 I'm not sure if we still use Scary Transclusions, so we might not need this change. Not sure if it's better to remove the linebreaks in core or add them back in Wikia.

--- D:\Programming\SVN\mediawiki\branches\REL1_16\phase3\includes\parser\ParserCache.php	2011-07-18 22:30:54.894531300 +0100
+++ D:\Programming\SVN\wikia\trunk\includes\parser\ParserCache.php	2011-08-17 15:28:13.343750000 +0100
@@ -107,7 +107,7 @@
 			// Save the timestamp so that we don't have to load the revision row on view
 			$parserOutput->mTimestamp = $article->getTimestamp();
 
-			$parserOutput->mText .= "\n<!-- Saved in parser cache with key $key and timestamp $now -->\n";
+			$parserOutput->mText .= "<!-- Saved in parser cache with key $key and timestamp $now -->";
 			wfDebug( "Saved in parser cache with key $key and timestamp $now\n" );
 
 			if( $parserOutput->containsOldMagic() ){
Category:Wikia code diffs
Category:Pages kept for historical interest Category:Wikia code diffs