Wikia code/includes/parser/ParserCache.php
This page is obsolete. It is being retained for archival purposes. It may document extensions or features that are obsolete and/or no longer supported. Do not rely on the information here being up-to-date. The information shown below refers to the now unmaintained 1.16 MediaWiki release. The current stable release number is 1.42.3. |
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() ){