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

--- Comment #8 from Niklas Laxström <niklas.laxst...@gmail.com> 2012-07-25 
13:38:34 UTC ---
The problem is in

Linker::formatLinksInComment:

        $html = preg_replace_callback(
            '/\[\[:?(.*?)(\|(.*?))*\]\]([^[]*)/',
            array( 'Linker', 'formatLinksInCommentCallback' ),
            $comment );

preg_replace_callback encounters PREG_BACKTRACK_LIMIT_ERROR and returns null.

This is later on passed to wfMessage( ... )->rawParams( $html )->foo();

Message class checks 
        if ( is_array( $param ) && isset( $param['raw'] ) ) {

But since it is array( 'raw' => null ); isset returns false and exception is
raised.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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

Reply via email to