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

           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
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: dness...@yahoo.com


Created attachment 7989
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=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
appeared:

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