Index: trunk/extensions/Collection/Collection.body.php |
— | — | @@ -983,7 +983,9 @@ |
984 | 984 | $oldid = $wgArticle->getOldID(); |
985 | 985 | if ( $oldid ) { |
986 | 986 | $params .= '&oldid=' . $oldid; |
987 | | - } |
| 987 | + } else { |
| 988 | + $params .= '&oldid=' . $wgArticle->getLatest(); |
| 989 | + } |
988 | 990 | } |
989 | 991 | if ( isset( $wgCollectionFormats['rl'] ) ) { |
990 | 992 | $nav_urls['printable_version_pdf'] = array( |