r35890 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r35889‎ | r35890 | r35891 >
Date:23:09, 4 June 2008
Author:aaron
Status:old
Tags:
Comment:
Proper initialization
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedArticle.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedArticle.php
@@ -878,6 +878,7 @@
879879 'ft_tmp_rev_id != page_latest' ),
880880 __METHOD__ );
881881 }
 882+ $tmpChanges = array();
882883 while( $row = $dbr->fetchObject( $ret ) ) {
883884 $title = Title::makeTitle( $row->ft_namespace, $row->ft_title );
884885 $revID = isset($row->fp_stable) ? $row->fp_stable : $row->ft_tmp_rev_id;
@@ -925,6 +926,7 @@
926927 'fi_img_sha1 != img_sha1' ),
927928 __METHOD__ );
928929 }
 930+ $imgChanges = array();
929931 while( $row = $dbr->fetchObject( $ret ) ) {
930932 $title = Title::makeTitle( NS_IMAGE, $row->fi_name );
931933 $imgChanges[] = $skin->makeKnownLinkObj( $title );

Status & tagging log