Index: trunk/phase3/RELEASE-NOTES-1.19 |
— | — | @@ -18,6 +18,7 @@ |
19 | 19 | * (bug 35152) Help message for e-mail is shown again in user preferences |
20 | 20 | * (bug 34887) $3 and $4 parameters are now substituted correctly in message |
21 | 21 | "movepage-moved" |
| 22 | +* (bug 34841) Edit links are no longer displayed when display old page versions |
22 | 23 | |
23 | 24 | === Configuration changes in 1.19 === |
24 | 25 | * Removed SkinTemplateSetupPageCss hook; use BeforePageDisplay instead. |
Index: trunk/phase3/includes/Article.php |
— | — | @@ -455,7 +455,7 @@ |
456 | 456 | if ( $wgOut->isPrintable() ) { |
457 | 457 | $parserOptions->setIsPrintable( true ); |
458 | 458 | $parserOptions->setEditSection( false ); |
459 | | - } elseif ( !$this->getTitle()->quickUserCan( 'edit' ) ) { |
| 459 | + } elseif ( !$this->isCurrent() || !$this->getTitle()->quickUserCan( 'edit' ) ) { |
460 | 460 | $parserOptions->setEditSection( false ); |
461 | 461 | } |
462 | 462 | |
Index: branches/REL1_19/phase3/RELEASE-NOTES-1.19 |
— | — | @@ -18,6 +18,7 @@ |
19 | 19 | * (bug 35152) Help message for e-mail is shown again in user preferences |
20 | 20 | * (bug 34887) $3 and $4 parameters are now substituted correctly in message |
21 | 21 | "movepage-moved" |
| 22 | +* (bug 34841) Edit links are no longer displayed when display old page versions |
22 | 23 | |
23 | 24 | === Configuration changes in 1.19 === |
24 | 25 | * Removed SkinTemplateSetupPageCss hook; use BeforePageDisplay instead. |
Index: branches/REL1_19/phase3/includes/Article.php |
— | — | @@ -451,7 +451,7 @@ |
452 | 452 | if ( $wgOut->isPrintable() ) { |
453 | 453 | $parserOptions->setIsPrintable( true ); |
454 | 454 | $parserOptions->setEditSection( false ); |
455 | | - } elseif ( !$this->getTitle()->quickUserCan( 'edit' ) ) { |
| 455 | + } elseif ( !$this->isCurrent() || !$this->getTitle()->quickUserCan( 'edit' ) ) { |
456 | 456 | $parserOptions->setEditSection( false ); |
457 | 457 | } |
458 | 458 | |