r26190 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r26189‎ | r26190 | r26191 >
Date:20:52, 27 September 2007
Author:vyznev
Status:old
Tags:
Comment:
fix minor regression in r26189: users should be able to view the source of default system messages
Modified paths:
  • /trunk/phase3/includes/SkinTemplate.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SkinTemplate.php
@@ -685,7 +685,7 @@
686686 'href' => $this->mTitle->getLocalUrl( 'action=edit&section=new' )
687687 );
688688 }
689 - } elseif ( $this->mTitle->exists() ) {
 689+ } elseif ( $this->mTitle->exists() || $this->mTitle->isAlwaysKnown() ) {
690690 $content_actions['viewsource'] = array(
691691 'class' => ($action == 'edit') ? 'selected' : false,
692692 'text' => wfMsg('viewsource'),

Follow-up revisions

RevisionCommit summaryAuthorDate
r26257Merged revisions 26134-26247 via svnmerge from...david19:06, 30 September 2007

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r26189If the page doesn't exist and the user can't create it, omit the "edit"/"view...vyznev20:43, 27 September 2007

Status & tagging log