r73869 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r73868‎ | r73869 | r73870 >
Date:04:07, 28 September 2010
Author:brion
Status:ok
Tags:
Comment:
PHP error spew fix for ProofreadPage: $parser param on hooks is not a reference; expecting one when you don't get one complains.
Modified paths:
  • /trunk/extensions/ProofreadPage/ProofreadPage_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ProofreadPage/ProofreadPage_body.php
@@ -637,7 +637,7 @@
638638 * Add the pagequality category.
639639 * @todo FIXME: display whether page has been proofread by the user or by someone else
640640 */
641 - function pageQuality( $input, $args, &$parser ) {
 641+ function pageQuality( $input, $args, $parser ) {
642642 global $wgUser;
643643
644644 $page_namespace = $this->page_namespace;
@@ -732,7 +732,7 @@
733733 * Parser hook that includes a list of pages.
734734 * parameters : index, from, to, header
735735 */
736 - function renderPages( $input, $args, &$parser ) {
 736+ function renderPages( $input, $args, $parser ) {
737737 $page_namespace = $this->page_namespace;
738738 $index_namespace = $this->index_namespace;
739739 $index = $args['index'];

Status & tagging log