r95206 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95205‎ | r95206 | r95207 >
Date:14:52, 22 August 2011
Author:yaron
Status:deferred
Tags:
Comment:
2nd parameter to MediaWiki's 'BeforeParserFetchTemplateAndtitle' hook should no longer be a reference - hopefully this doesn't break backwards-compatibility.
Modified paths:
  • /trunk/extensions/ApprovedRevs/ApprovedRevs.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ApprovedRevs/ApprovedRevs.hooks.php
@@ -509,7 +509,7 @@
510510 * Use the approved revision, if it exists, for templates and other
511511 * transcluded pages.
512512 */
513 - static function setTranscludedPageRev( $parser, &$title, &$skip, &$id ) {
 513+ static function setTranscludedPageRev( $parser, $title, &$skip, &$id ) {
514514 $revision_id = ApprovedRevs::getApprovedRevID( $title );
515515 if ( ! empty( $revision_id ) ) {
516516 $id = $revision_id;

Status & tagging log