r62049 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r62048‎ | r62049 | r62050 >
Date:21:52, 5 February 2010
Author:conrad
Status:reverted
Tags:
Comment:
style fixes for r62035
Modified paths:
  • /trunk/phase3/includes/parser/Parser.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/parser/Parser.php
@@ -499,11 +499,9 @@
500500 * are removed, but templates arguments and parser functions are untouched.
501501 *
502502 * This is not called by the parser itself, see braceSubstitution for its transclusion.
503 - *
504 - * @public
505503 */
506 - function getTransclusionText( $title ) {
507 - list($text, $title) = $this->getTemplateDom( $title );
 504+ public function getTransclusionText( $title ) {
 505+ list( $text, $title ) = $this->getTemplateDom( $title );
508506 $flags = PPFrame::NO_ARGS | PPFrame::NO_TEMPLATES;
509507 return $this->getPreprocessor()->newFrame()->expand( $text, $flags );
510508 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r62689Moving Conrad's recent parser work out to a branch. Reverted r62434, r62416, ...tstarling05:19, 19 February 2010

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r62035bug 5210 - add getTransclusionText() to the Parser to remove the horrible (and...conrad16:49, 5 February 2010

Status & tagging log