Index: trunk/extensions/Collection/Collection.body.php |
— | — | @@ -534,10 +534,10 @@ |
535 | 535 | $displayTitle = $match[3]; |
536 | 536 | $oldid = -1; |
537 | 537 | $currentVersion = 1; |
538 | | - } else if ( preg_match( '/\[\{\{fullurl:(.*?)\|oldid=(.*?)\}\} (.*?) \((.*?)\)\]/', $articleTitle, $match ) ) { |
| 538 | + } else if ( preg_match( '/\[\{\{fullurl:(.*?)\|oldid=(.*?)\}\}\s+(.*?)\]/', $articleTitle, $match ) ) { |
539 | 539 | $articleTitle = $match[1]; |
540 | 540 | $displayTitle = $match[3]; |
541 | | - $oldid = $match[4]; |
| 541 | + $oldid = $match[2]; |
542 | 542 | $currentVersion = 0; |
543 | 543 | } |
544 | 544 | |
— | — | @@ -612,7 +612,6 @@ |
613 | 613 | } else { |
614 | 614 | $articleText .= $item['title']; |
615 | 615 | } |
616 | | - $articleText .= " (" . $item['revision'] . ")]\n"; |
617 | 616 | } |
618 | 617 | } |
619 | 618 | //$articleText .= $item['revision'] . "/" . $item['latest']."\n"; |