Index: trunk/phase3/includes/SkinTemplate.php |
— | — | @@ -685,7 +685,7 @@ |
686 | 686 | 'href' => $this->mTitle->getLocalUrl( 'action=edit§ion=new' ) |
687 | 687 | ); |
688 | 688 | } |
689 | | - } else { |
| 689 | + } elseif ( $this->mTitle->exists() ) { |
690 | 690 | $content_actions['viewsource'] = array( |
691 | 691 | 'class' => ($action == 'edit') ? 'selected' : false, |
692 | 692 | 'text' => wfMsg('viewsource'), |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -30,6 +30,8 @@ |
31 | 31 | * (bug 5412) Add feed links for the site to all pages |
32 | 32 | * (bug 11353) Add ability to retrieve raw section content via action=raw |
33 | 33 | * Show relevant deletion log lines when uploading a previously deleted file |
| 34 | +* On SkinTemplate based skins (like MonoBook), omit confusing "edit"/"view source" |
| 35 | + tab entirely if the page doesn't exist and the user isn't allowed to create it |
34 | 36 | |
35 | 37 | === Bug fixes in 1.12 === |
36 | 38 | |