Index: trunk/phase3/includes/SkinTemplate.php |
— | — | @@ -703,7 +703,7 @@ |
704 | 704 | $istalkclass = $istalk?' istalk':''; |
705 | 705 | $content_actions['edit'] = array( |
706 | 706 | 'class' => ( ( ( $action == 'edit' or $action == 'submit' ) and $section != 'new' ) ? 'selected' : '' ) . $istalkclass, |
707 | | - 'text' => ( $this->mTitle->exists() || ( $this->mTitle->getNamespace() == NS_MEDIAWIKI ) ) |
| 707 | + 'text' => ( $this->mTitle->exists() || ( $this->mTitle->getNamespace() == NS_MEDIAWIKI && !wfEmptyMsg( $this->mTitle->getText() ) ) ) |
708 | 708 | ? wfMsg( 'edit' ) |
709 | 709 | : wfMsg( 'create' ), |
710 | 710 | 'href' => $this->mTitle->getLocalUrl( $this->editUrlOptions() ) |