show <noinclude> sections.
Its quite counter-intuitive that noinclude sections are included. There was a recent
discussion on the Wikinews Water cooler (village pump equivalent) about why interwikis
for such templates were being included on pages using the editintro even though the
interwiki was in a <noinclude> section.
of evaluating wikitext elements like #, :, *, and tables (bug 529). Now this
behaviour is only applied to wikitable-start {|, but the first line of a wikitable
cell is now treated as a linestart.
+* Custom editintro's using the editintro url parameter will no longer show <noinclude>
+ sections on pages they are included on.
=== API changes in 1.18 ===
* (bug 26339) Throw warning when truncating an overlarge API result
$title = Title::newFromText( $this->editintro );
if ( $title instanceof Title && $title->exists() && $title->userCanRead() ) {
global $wgOut;
- $revision = Revision::newFromTitle( $title );
- $wgOut->addWikiTextTitleTidy( $revision->getText(), $this->mTitle );
+ // Added using template syntax, to take <noinclude>'s into account.
+ $wgOut->addWikiTextTitleTidy( '{{:' . $title->getFullText() . '}}', $this->mTitle );
return true;
} else {
return false;