r25446 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r25445‎ | r25446 | r25447 >
Date:17:50, 3 September 2007
Author:tlaqua
Status:old
Tags:
Comment:
Minor - Switched to hardcoded space for 'newsectionsummary'
Modified paths:
  • /trunk/phase3/includes/EditPage.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesEn.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/EditPage.php
@@ -845,7 +845,7 @@
846846 # This is a new section, so create a link to the new section
847847 # in the revision summary.
848848 $this->summary = wfMsg('newsectionsummary') .
849 - "[[{$this->mTitle->getPrefixedText()}#{$this->summary}|{$this->summary}]]";
 849+ " [[{$this->mTitle->getPrefixedText()}#{$this->summary}|{$this->summary}]]";
850850 }
851851 } elseif( $this->section != '' ) {
852852 # Try to get a section anchor from the section source, redirect to edited section if header found
Index: trunk/phase3/languages/messages/MessagesEn.php
@@ -1351,7 +1351,7 @@
13521352 'rc_categories' => 'Limit to categories (separate with "|")',
13531353 'rc_categories_any' => 'Any',
13541354 'rc-change-size' => '$1', # only translate this message to other languages if you have to change it
1355 -'newsectionsummary' => 'New section: ',
 1355+'newsectionsummary' => 'New section:',
13561356
13571357 # Recent changes linked
13581358 'recentchangeslinked' => 'Related changes',

Follow-up revisions

RevisionCommit summaryAuthorDate
r25454Merged revisions 25415-25453 via svnmerge from...david19:27, 3 September 2007

Status & tagging log