"Aaron Schulz" posted a comment on MediaWiki.r103613. URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/103613#c27881
Commit summary for MediaWiki.r103613: * Use ParserOptions::newFromContext() to not depend on $wgUser and $wgLang * Use a WikiPage object instead of Article to get the text or the ParserOutput and create the object directly in getParsedSectionOrText() * Use Title::getLatestRevID() instead of Article::getRevIdFetched() since the latter will always return the current revision ID when 0 is passed as second parameter to the constructor * Pass the User object to Revision::getText() * Removed double setting of $wgTitle Aaron Schulz's comment: That's what I meant above :) _______________________________________________ MediaWiki-CodeReview mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
