Index: trunk/extensions/FlaggedRevs/FlaggedArticle.php |
— | — | @@ -981,7 +981,7 @@ |
982 | 982 | } |
983 | 983 | $tmpChanges = array(); |
984 | 984 | while( $row = $dbr->fetchObject( $ret ) ) { |
985 | | - $title = Title::makeTitle( $row->ft_namespace, $row->ft_title ); |
| 985 | + $title = Title::makeTitleSafe( $row->ft_namespace, $row->ft_title ); |
986 | 986 | $revIdDraft = $row->page_latest; |
987 | 987 | // stable time -> time when reviewed (unless the other is newer) |
988 | 988 | $revIdStable = isset($row->fp_stable) && $row->fp_stable >= $row->ft_tmp_rev_id ? |
— | — | @@ -1030,7 +1030,7 @@ |
1031 | 1031 | } |
1032 | 1032 | $imgChanges = array(); |
1033 | 1033 | while( $row = $dbr->fetchObject( $ret ) ) { |
1034 | | - $title = Title::makeTitle( NS_FILE, $row->fi_name ); |
| 1034 | + $title = Title::makeTitleSafe( NS_FILE, $row->fi_name ); |
1035 | 1035 | // stable time -> time when reviewed (unless the other is newer) |
1036 | 1036 | $timestamp = isset($row->fr_img_timestamp) && $row->fr_img_timestamp >= $row->fi_img_timestamp ? |
1037 | 1037 | $row->fr_img_timestamp : $row->fi_img_timestamp; |