Index: trunk/extensions/FlaggedRevs/FlaggedRevs.class.php |
— | — | @@ -512,7 +512,7 @@ |
513 | 513 | if ( !$incManager->parserOutputIsStabilized() ) { |
514 | 514 | $frev = FlaggedRevision::newFromTitle( $title, $id ); |
515 | 515 | if ( $frev ) { |
516 | | - $incManager->stabilizeParserOutput( $title, $frev ); |
| 516 | + $incManager->stabilizeParserOutput( $frev ); |
517 | 517 | $resetManager = true; // need to reset when done |
518 | 518 | } |
519 | 519 | } |
— | — | @@ -546,7 +546,7 @@ |
547 | 547 | if ( !$incManager->parserOutputIsStabilized() ) { |
548 | 548 | $frev = FlaggedRevision::newFromTitle( $title, $id ); |
549 | 549 | if ( $frev ) { |
550 | | - $incManager->stabilizeParserOutput( $title, $frev ); |
| 550 | + $incManager->stabilizeParserOutput( $frev ); |
551 | 551 | $resetManager = true; // need to reset when done |
552 | 552 | } |
553 | 553 | } |
Index: trunk/extensions/FlaggedRevs/FRInclusionManager.php |
— | — | @@ -94,14 +94,13 @@ |
95 | 95 | |
96 | 96 | /** |
97 | 97 | * (a) Stabilize inclusions in Parser output |
98 | | - * (b) Load all of the "at review time" versions of template/files |
| 98 | + * (b) Load all of the "review time" versions of template/files from $frev |
99 | 99 | * (c) Load their stable version counterparts (avoids DB hits) |
100 | 100 | * Note: Used when calling FlaggedRevs::parseStableText(). |
101 | | - * @param Title $title |
102 | 101 | * @param FlaggedRevision $frev |
103 | 102 | * @return void |
104 | 103 | */ |
105 | | - public function stabilizeParserOutput( Title $title, FlaggedRevision $frev ) { |
| 104 | + public function stabilizeParserOutput( FlaggedRevision $frev ) { |
106 | 105 | $tStbVersions = $fStbVersions = array(); // stable versions |
107 | 106 | $tRevVersions = $frev->getTemplateVersions(); |
108 | 107 | $fRevVersions = $frev->getFileVersions(); |