https://bugzilla.wikimedia.org/show_bug.cgi?id=65419
Bartosz Dziewoński <matma....@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |matma....@gmail.com Resolution|--- |INVALID --- Comment #5 from Bartosz Dziewoński <matma....@gmail.com> --- (In reply to TeleComNasSprVen from comment #3) > I think I tried to do > $parser = new Parser(); > $replacedtext = $parser->replaceInternalLinks( $wikitext ); You're not supposed to do that. Yeah, the Parser sucks, we know. :) You initialized a Parser object with null $mOptions field (that should be a ParserOptions instance) and call funny methods on it, so you get fatals. That's expected, if unfortunate, behavior. replaceInternalLinks() should really be a private method, it expects to only be called from within parse() (which sets $mOptions). -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l