diff options
Diffstat (limited to 'includes/parser/LinkHolderArray.php')
-rw-r--r-- | includes/parser/LinkHolderArray.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/parser/LinkHolderArray.php b/includes/parser/LinkHolderArray.php index 35b672b9..4f382a4f 100644 --- a/includes/parser/LinkHolderArray.php +++ b/includes/parser/LinkHolderArray.php @@ -105,6 +105,7 @@ class LinkHolderArray { } /** + * FIXME: update documentation. makeLinkObj() is deprecated. * Replace <!--LINK--> link placeholders with actual links, in the buffer * Placeholders created in Skin::makeLinkObj() * Returns an array of link CSS classes, indexed by PDBK. @@ -228,10 +229,12 @@ class LinkHolderArray { $linkCache->addBadLinkObj( $title ); $colours[$pdbk] = 'new'; $output->addLink( $title, 0 ); + // FIXME: replace deprecated makeBrokenLinkObj() by link() $replacePairs[$searchkey] = $sk->makeBrokenLinkObj( $title, $entry['text'], $query ); } else { + // FIXME: replace deprecated makeColouredLinkObj() by link() $replacePairs[$searchkey] = $sk->makeColouredLinkObj( $title, $colours[$pdbk], $entry['text'], $query ); |