https://bugzilla.wikimedia.org/show_bug.cgi?id=56226

--- Comment #19 from Bawolff (Brian Wolff) <[email protected]> ---
(In reply to Nemo from comment #18)
> (In reply to Bawolff (Brian Wolff) from comment #17)
> > The larger issue is still an issue.
> 
> Ah, sorry. So this bug can be reproduced with comment 9 / attachment 13717
> [details]?

That's a testcase for the underlying php bug.

I guess a minimal MW test case could be:

 $wgHooks['ParserBeforeStrip'][] = 'wfTest56226';
 $wgExtensionFunctions[] = 'wfForceParse';

 function wfTest56226( $parser, &$text, $state ) {
  wfMessage( 'tagline' )->parse();
 }

 function wfForceParse() {
  // May or may not be needed. In order to make sure that
  // a $wgParse->parse happens before Message cache is initialized.
  // Otherwise whether or not bug shows up may depend on load order/extensions
installed/etc
  $wgParser->parse( '==foo==', Title::makeTitle( NS_MAIN, 'bar' ), new
ParserOptions() );
 }

[Put that in LocalSettings.php, See if you get an "Inavlid strip marker"
exception]

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to