Changed from wfMsg('newsectionsummary') to wfMsgForContent('newsectionsummary').
authorTim Laqua <tlaqua@users.mediawiki.org>
Mon, 3 Sep 2007 18:13:19 +0000 (18:13 +0000)
committerTim Laqua <tlaqua@users.mediawiki.org>
Mon, 3 Sep 2007 18:13:19 +0000 (18:13 +0000)
includes/EditPage.php

index 724b4ca..cceb053 100644 (file)
@@ -844,7 +844,7 @@ class EditPage {
                                $sectionanchor = $this->sectionAnchor( $this->summary );
                                # This is a new section, so create a link to the new section
                                # in the revision summary.
-                               $this->summary = wfMsg('newsectionsummary') . 
+                               $this->summary = wfMsgForContent('newsectionsummary') . 
                                        " [[{$this->mTitle->getPrefixedText()}#{$this->summary}|{$this->summary}]]";
                        }
                } elseif( $this->section != '' ) {