From: Platonides Date: Wed, 9 Jun 2010 22:06:58 +0000 (+0000) Subject: Follow up r65144 with Chad's fix, which nicely does the job. X-Git-Tag: 1.31.0-rc.0~36557 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_aide%28?a=commitdiff_plain;h=de08f659c0b7ef74fba01053f92d6bf5ba0030f5;p=lhc%2Fweb%2Fwiklou.git Follow up r65144 with Chad's fix, which nicely does the job. --- 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() )