Index: trunk/extensions/FlaggedRevs/presentation/specialpages/reports/ProblemChanges_body.php |
— | — | @@ -108,7 +108,7 @@ |
109 | 109 | } |
110 | 110 | } |
111 | 111 | |
112 | | - // set pager parameters from $par, return pager limit |
| 112 | + // set pager parameters from $par, return pager limit |
113 | 113 | protected function parseParams( $par ) { |
114 | 114 | $bits = preg_split( '/\s*,\s*/', trim( $par ) ); |
115 | 115 | $limit = false; |
— | — | @@ -202,7 +202,7 @@ |
203 | 203 | $quality = " <b>[{$quality}]</b>"; |
204 | 204 | } |
205 | 205 | # What are the tags? |
206 | | - $dbTags = self::getRevisionTags( $title->getArticleID(), $row->stable ); |
| 206 | + $dbTags = self::getChangeTags( $title->getArticleID(), $row->stable ); |
207 | 207 | if ( $dbTags ) { |
208 | 208 | $tags = htmlspecialchars( implode( ', ', $dbTags ) ); |
209 | 209 | $tags = ' <b>' . wfMsgHtml( 'parentheses', $tags ) . '</b>'; |
— | — | @@ -258,13 +258,14 @@ |
259 | 259 | * @param integer $revId, rev ID |
260 | 260 | * @return Array |
261 | 261 | */ |
262 | | - protected static function getRevisionTags( $pageId, $revId ) { |
| 262 | + protected static function getChangeTags( $pageId, $revId ) { |
263 | 263 | $tags = array(); |
264 | 264 | $dbr = wfGetDB( DB_SLAVE ); |
265 | 265 | $res = $dbr->select( |
266 | 266 | array( 'revision', 'change_tag' ), |
267 | 267 | 'DISTINCT(ct_tag)', // unique tags |
268 | | - array( 'rev_page' => $pageId, 'rev_id > ' . intval($revId), |
| 268 | + array( 'rev_page' => $pageId, |
| 269 | + 'rev_id > ' . intval( $revId ), |
269 | 270 | 'rev_id = ct_rev_id' ), |
270 | 271 | __METHOD__ |
271 | 272 | ); |