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

       Web browser: ---
             Bug #: 30917
           Summary: Progress Bar Extension Apache warning
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: Unprioritized
         Component: [other]
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


Received this warning in Apache when saving wiki markup for progress bar
extension and progress bar does not display after saving or previewing wiki
markup:

[Thu Sep 15 16:11:26 2011] [error] [client 172.28.0.37] PHP Warning:  Parameter
3 to wfProgressbarParserHook() expected to be a reference, value given in
/var/www/html/wiki/mediawiki-1.17.0/includes/parser/Parser.php on line 3470,
referer:
http://172.28.0.158/wiki/mediawiki-1.17.0/index.php?title=Test4&action=edit&redlink=1



Fixed using this patch to Progressbar.php:
31c31
< function wfProgressbarParserHook ( $text, $params = array(), &$parser ) {
---
> function wfProgressbarParserHook ( $text, $params = array(), $parser ) {


Link for the extension is at
http://www.mediawiki.org/wiki/Extension:Progressbar

Regards.

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to