From ddced230d7dfabbbba09113506d360e8e2f079c5 Mon Sep 17 00:00:00 2001 From: paladox Date: Thu, 15 Oct 2020 23:20:35 +0100 Subject: [PATCH] Fix "PHP Warning: Parameter 2 to ExtCrossReference::parserAfterTidy() expected to be a reference, value given in /srv/mediawiki/w/extensions/CrossReference/CrossReference.php on line 99" Fixes compatibility with mediawiki 1.35 --- CrossReference.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CrossReference.class.php b/CrossReference.class.php index 710e531..18ab0fd 100644 --- a/CrossReference.class.php +++ b/CrossReference.class.php @@ -189,7 +189,7 @@ private function postreplaceUnknownId($matches) /** Invoked at the last stage of the p arsing process. */ - public function parserAfterTidy( &$parser, &$text ) + public function parserAfterTidy( $parser, &$text ) { $text = preg_replace("/&(amp;)?column;/s", ':', $text); // Put back captions