Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -766,8 +766,8 @@ |
767 | 767 | $title = Title::newFromText( $this->editintro ); |
768 | 768 | if ( $title instanceof Title && $title->exists() && $title->userCanRead() ) { |
769 | 769 | global $wgOut; |
770 | | - $revision = Revision::newFromTitle( $title ); |
771 | | - $wgOut->addWikiTextTitleTidy( $revision->getText(), $this->mTitle ); |
| 770 | + // Added using template syntax, to take <noinclude>'s into account. |
| 771 | + $wgOut->addWikiTextTitleTidy( '{{:' . $title->getFullText() . '}}', $this->mTitle ); |
772 | 772 | return true; |
773 | 773 | } else { |
774 | 774 | return false; |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -92,6 +92,8 @@ |
93 | 93 | of evaluating wikitext elements like #, :, *, and tables (bug 529). Now this |
94 | 94 | behaviour is only applied to wikitable-start {|, but the first line of a wikitable |
95 | 95 | cell is now treated as a linestart. |
| 96 | +* Custom editintro's using the editintro url parameter will no longer show <noinclude> |
| 97 | + sections on pages they are included on. |
96 | 98 | |
97 | 99 | === API changes in 1.18 === |
98 | 100 | * (bug 26339) Throw warning when truncating an overlarge API result |