Index: branches/wmf/1.17wmf1/extensions/FlaggedRevs/forms/RevisionReviewForm.php |
— | — | @@ -642,7 +642,7 @@ |
643 | 643 | */ |
644 | 644 | public static function buildQuickReview( |
645 | 645 | User $user, FlaggedArticle $article, Revision $rev, |
646 | | - $refId = 0, $topNotice = '', $templateIDs, $imageSHA1Keys |
| 646 | + $refId = 0, $topNotice = '', array $templateIDs = null, array $imageSHA1Keys = null |
647 | 647 | ) { |
648 | 648 | global $wgOut, $wgParser, $wgEnableParserCache; |
649 | 649 | $id = $rev->getId(); |
— | — | @@ -735,7 +735,7 @@ |
736 | 736 | } |
737 | 737 | |
738 | 738 | # Do we need to get inclusion IDs from parser output? |
739 | | - if ( !$templateIDs || !$imageSHA1Keys ) { |
| 739 | + if ( $templateIDs === null || $imageSHA1Keys === null ) { |
740 | 740 | $pOutput = false; |
741 | 741 | # Current version: try parser cache |
742 | 742 | if ( $rev->isCurrent() ) { |
Property changes on: branches/wmf/1.17wmf1/extensions/FlaggedRevs/forms/RevisionReviewForm.php |
___________________________________________________________________ |
Added: svn:mergeinfo |
743 | 743 | Merged /branches/chad-pre-wmf-merge/extensions/FlaggedRevs/forms/RevisionReviewForm.php:r76925 |
744 | 744 | Merged /branches/wmf-deployment/extensions/FlaggedRevs/forms/RevisionReviewForm.php:r60970 |
745 | 745 | Merged /branches/wmf/1.16wmf4/extensions/FlaggedRevs/forms/RevisionReviewForm.php:r67177,69199,76243,77266 |
746 | 746 | Merged /trunk/extensions/FlaggedRevs/forms/RevisionReviewForm.php:r78027,78042,78044,78051,78092,78140,78142,78163,78166,78213,78226,78293,78319,78346,78517,78520,79872-79873,80297,83138,84598 |