Summary: Wikihiero not rendering with PHP 5.3.4
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: WikiHiero

Created attachment 7989
FIxes third parameter mis-match with parser call

I updated my PHP version from 5.2.4 to 5.3.4. As a result wikihiero no longer
renders properly. I turned on PHP display_errors and the following warning

Warning: Parameter 3 to WikiHieroLoader() expected to be a reference, value
given in /czdata/cz/phase3/includes/parser/Parser.php on line 3287 Call Stack:
0.0003 664008

This was followed by a stack trace.

I modified the signature of WikiHieroLoader() in wikihiero.php (see attached
patch), which eliminated the warning and restored hieroglyphs rendering.

I have attached a patch.

Configure bugmail:
------- 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

Reply via email to