https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113394

Revision: 113394
Author:   ialex
Date:     2012-03-08 20:06:49 +0000 (Thu, 08 Mar 2012)
Log Message:
-----------
* (bug 35014) Fix for r100529: including a special page no longer sets the 
page's title to the included page

Modified Paths:
--------------
    branches/REL1_19/phase3/RELEASE-NOTES-1.19
    branches/REL1_19/phase3/includes/OutputPage.php
    trunk/phase3/RELEASE-NOTES-1.19
    trunk/phase3/includes/OutputPage.php

Modified: branches/REL1_19/phase3/RELEASE-NOTES-1.19
===================================================================
--- branches/REL1_19/phase3/RELEASE-NOTES-1.19  2012-03-08 20:05:55 UTC (rev 
113393)
+++ branches/REL1_19/phase3/RELEASE-NOTES-1.19  2012-03-08 20:06:49 UTC (rev 
113394)
@@ -11,6 +11,10 @@
 know what you think of it. Beta releases are not recommended for use in
 production.
 
+=== Changes since 1.19 beta 1 ===
+* (bug 35014) Including a special page no longer sets the page's title to the
+  included page
+
 === Configuration changes in 1.19 ===
 * Removed SkinTemplateSetupPageCss hook; use BeforePageDisplay instead.
 * (bug 27132) movefile right granted by default to registered users.

Modified: branches/REL1_19/phase3/includes/OutputPage.php
===================================================================
--- branches/REL1_19/phase3/includes/OutputPage.php     2012-03-08 20:05:55 UTC 
(rev 113393)
+++ branches/REL1_19/phase3/includes/OutputPage.php     2012-03-08 20:06:49 UTC 
(rev 113394)
@@ -3432,7 +3432,7 @@
         * @param $args array
         */
        public function addWikiMsgArray( $name, $args ) {
-               $this->addWikiText( $this->msg( $name, $args )->plain() );
+               $this->addHTML( $this->msg( $name, $args )->parseAsBlock() );
        }
 
        /**

Modified: trunk/phase3/RELEASE-NOTES-1.19
===================================================================
--- trunk/phase3/RELEASE-NOTES-1.19     2012-03-08 20:05:55 UTC (rev 113393)
+++ trunk/phase3/RELEASE-NOTES-1.19     2012-03-08 20:06:49 UTC (rev 113394)
@@ -11,6 +11,10 @@
 know what you think of it. Beta releases are not recommended for use in
 production.
 
+=== Changes since 1.19 beta 1 ===
+* (bug 35014) Including a special page no longer sets the page's title to the
+  included page
+
 === Configuration changes in 1.19 ===
 * Removed SkinTemplateSetupPageCss hook; use BeforePageDisplay instead.
 * (bug 27132) movefile right granted by default to registered users.

Modified: trunk/phase3/includes/OutputPage.php
===================================================================
--- trunk/phase3/includes/OutputPage.php        2012-03-08 20:05:55 UTC (rev 
113393)
+++ trunk/phase3/includes/OutputPage.php        2012-03-08 20:06:49 UTC (rev 
113394)
@@ -3433,7 +3433,7 @@
         * @param $args array
         */
        public function addWikiMsgArray( $name, $args ) {
-               $this->addWikiText( $this->msg( $name, $args )->plain() );
+               $this->addHTML( $this->msg( $name, $args )->parseAsBlock() );
        }
 
        /**


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to