From de08f659c0b7ef74fba01053f92d6bf5ba0030f5 Mon Sep 17 00:00:00 2001 From: Platonides Date: Wed, 9 Jun 2010 22:06:58 +0000 Subject: [PATCH] Follow up r65144 with Chad's fix, which nicely does the job. --- includes/SkinTemplate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/SkinTemplate.php b/includes/SkinTemplate.php index e049f57f23..1a531fef8f 100644 --- a/includes/SkinTemplate.php +++ b/includes/SkinTemplate.php @@ -703,7 +703,7 @@ class SkinTemplate extends Skin { $istalkclass = $istalk?' istalk':''; $content_actions['edit'] = array( 'class' => ( ( ( $action == 'edit' or $action == 'submit' ) and $section != 'new' ) ? 'selected' : '' ) . $istalkclass, - 'text' => ( $this->mTitle->exists() || ( $this->mTitle->getNamespace() == NS_MEDIAWIKI ) ) + 'text' => ( $this->mTitle->exists() || ( $this->mTitle->getNamespace() == NS_MEDIAWIKI && !wfEmptyMsg( $this->mTitle->getText() ) ) ) ? wfMsg( 'edit' ) : wfMsg( 'create' ), 'href' => $this->mTitle->getLocalUrl( $this->editUrlOptions() ) -- 2.20.1