Last modified: 2011-09-15 21:53:40 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T32917, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30917 - Progress Bar Extension Apache warning
Progress Bar Extension Apache warning
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
ProgressBar (Other open bugs)
unspecified
All All
: Unprioritized critical (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-15 20:45 UTC by brios777
Modified: 2011-09-15 21:53 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description brios777 2011-09-15 20:45:39 UTC
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.
Comment 1 Brion Vibber 2011-09-15 21:53:40 UTC
This ext isn't in our SVN, but it seems to be right there on the wiki so I went ahead and modified it there:

http://www.mediawiki.org/w/index.php?title=Extension:Progressbar&diff=434969&oldid=408580

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links