From e9474997eed92cd43f88e35bcc2ea350a9649682 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Tue, 8 Apr 2008 20:46:54 +0000 Subject: [PATCH] This wants a title now --- includes/Parser.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/Parser.php b/includes/Parser.php index 11e4542c3f..12e9f82c24 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -4030,7 +4030,7 @@ class Parser $pdbk = $title->getPrefixedDBkey(); $linkCache->addGoodLinkObj( $s->page_id, $title ); $this->mOutput->addLink( $title, $s->page_id ); - $colours[$pdbk] = $sk->getLinkColour( $s, $threshold ); + $colours[$pdbk] = $sk->getLinkColour( $title, $threshold ); //add id to the extension todolist $linkcolour_ids[$s->page_id] = $pdbk; } @@ -4128,7 +4128,7 @@ class Parser // set pdbk and colour $pdbks[$key] = $varPdbk; - $colours[$varPdbk] = $sk->getLinkColour( $s, $threshold ); + $colours[$varPdbk] = $sk->getLinkColour( $variantTitle, $threshold ); $linkcolour_ids[$s->page_id] = $pdbk; } wfRunHooks( 'GetLinkColours', array( $linkcolour_ids, &$colours ) ); -- 2.20.1