r67764 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r67763‎ | r67764 | r67765 >
Date:22:06, 9 June 2010
Author:platonides
Status:ok
Tags:
Comment:
Follow up r65144 with Chad's fix, which nicely does the job.
Modified paths:
  • /trunk/phase3/includes/SkinTemplate.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SkinTemplate.php
@@ -703,7 +703,7 @@
704704 $istalkclass = $istalk?' istalk':'';
705705 $content_actions['edit'] = array(
706706 '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() ) ) )
708708 ? wfMsg( 'edit' )
709709 : wfMsg( 'create' ),
710710 'href' => $this->mTitle->getLocalUrl( $this->editUrlOptions() )

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r65144MediaWiki messages show content on view and edit even if they don't actually ...platonides22:29, 16 April 2010

Status & tagging log