Last modified: 2011-12-21 19:53:24 UTC
Credits for finding this go to an anonymous user on http://www.mediawiki.org/wiki/Extension_talk:MultiBoilerplate#noinclude_included MultiBoilerplate fails to match <noinclude> and <includeonly> if the closing tag is not in the same wikitext line. I can't provide a clean patch because I'm already using a patched version of MultiBoilerplate (see my other bugreports), therefore I'm including a pseudo-patch ;-) --- MultiBoilerplate.php (Revision 71216) +++ MultiBoilerplate.php (Arbeitskopie) @@ -140,2 +140,2 @@ - $content = preg_replace( '#<noinclude>(.*?)</noinclude>#', '', $content ); - $content = preg_replace( '#<includeonly>(.*?)</includeonly>#', '$1', $content ); + $content = preg_replace( '#<noinclude>(.*?)</noinclude>#ims', '', $content ); + $content = preg_replace( '#<includeonly>(.*?)</includeonly>#ims', '$1', $content ); The difference is the additional 'ims' in both search patterns.
r106972