Index: trunk/extensions/FlaggedRevs/maintenance/fixBug28348.inc |
— | — | @@ -45,7 +45,7 @@ |
46 | 46 | if ( $file ) { |
47 | 47 | echo "fixed file {$row->fi_name} reference in rev ID {$row->fi_rev_id}\n"; |
48 | 48 | # Fix the fi_img_timestamp value... |
49 | | - $dbw->update( 'flaggedimages', |
| 49 | + $db->update( 'flaggedimages', |
50 | 50 | array( 'fi_img_timestamp' => $dbw->timestamp( $time ) ), |
51 | 51 | array( 'fi_rev_id' => $row->fi_rev_id, 'fi_name' => $row->fi_name ), |
52 | 52 | __METHOD__ |
Index: trunk/extensions/FlaggedRevs/dataclasses/FlaggedRevs.hooks.php |
— | — | @@ -192,8 +192,6 @@ |
193 | 193 | if ( $title->getNamespace() == NS_MEDIA ) { |
194 | 194 | $title = Title::makeTitle( NS_FILE, $title->getDBkey() ); |
195 | 195 | $title->resetArticleId( $title->getArticleId() ); // avoid extra queries |
196 | | - } else { |
197 | | - $title =& $title; |
198 | 196 | } |
199 | 197 | $time = $sha1 = false; // current version |
200 | 198 | # Check for the version of this file used when reviewed... |
Index: trunk/extensions/FlaggedRevs/api/FlaggedRevsApi.hooks.php |
— | — | @@ -55,6 +55,7 @@ |
56 | 56 | ) ); |
57 | 57 | $module->addWhere( 'fr_user=user_id' ); |
58 | 58 | |
| 59 | + $where = array(); |
59 | 60 | // Construct WHERE-clause to avoid multiplying the number of scanned rows |
60 | 61 | // as flaggedrevs table has composite primary key (fr_page_id,fr_rev_id) |
61 | 62 | foreach ( $pageids as $pageid => $revids ) { |
Index: trunk/extensions/FlaggedRevs/presentation/FlaggedRevsUI.hooks.php |
— | — | @@ -542,7 +542,7 @@ |
543 | 543 | { |
544 | 544 | return true; // confirm that page is in reviewable namespace |
545 | 545 | } |
546 | | - $rlink = ''; |
| 546 | + $rlink = $css = ''; |
547 | 547 | // page is not reviewed |
548 | 548 | if ( $rc->mAttribs['fp_stable'] == null ) { |
549 | 549 | // Is this a config were pages start off reviewable? |
Index: trunk/extensions/FlaggedRevs/presentation/specialpages/reports/PendingChanges_body.php |
— | — | @@ -24,6 +24,8 @@ |
25 | 25 | $this->watched = $wgRequest->getCheck( 'watched' ); |
26 | 26 | $this->stable = $wgRequest->getCheck( 'stable' ); |
27 | 27 | $feedType = $wgRequest->getVal( 'feed' ); |
| 28 | + |
| 29 | + $incLimit = 0; |
28 | 30 | if ( $this->including() ) { |
29 | 31 | $incLimit = $this->parseParams( $par ); // apply non-URL params |
30 | 32 | } |