From: Aaron Schulz Date: Tue, 8 Apr 2008 20:46:54 +0000 (+0000) Subject: This wants a title now X-Git-Tag: 1.31.0-rc.0~48514 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=e9474997eed92cd43f88e35bcc2ea350a9649682;p=lhc%2Fweb%2Fwiklou.git This wants a title now --- 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 ) );