Follow up r64936. Even better, provide the bug number and imagemagick doc page.
[lhc/web/wiklou.git] / includes / parser / LinkHolderArray.php
index 35b672b..4f382a4 100644 (file)
@@ -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 );