| Index: trunk/phase3/includes/Article.php |
| — | — | @@ -1478,7 +1478,7 @@ |
| 1479 | 1479 | $parserOptions->setIsPrintable( $wgOut->isPrintable() ); |
| 1480 | 1480 | |
| 1481 | 1481 | # Don't show section-edit links on old revisions... this way lies madness. |
| 1482 | | - if ( !$this->isCurrent() || $wgOut->isPrintable() ) { |
| | 1482 | + if ( !$this->isCurrent() || $wgOut->isPrintable() || !$this->mTitle->quickUserCan( 'edit' ) ) { |
| 1483 | 1483 | $parserOptions->setEditSection( false ); |
| 1484 | 1484 | } |
| 1485 | 1485 | |