Convert two more Parser uses, no parser test failures. Any more conversions look...
authorAryeh Gregor <simetrical@users.mediawiki.org>
Fri, 1 Aug 2008 15:09:57 +0000 (15:09 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Fri, 1 Aug 2008 15:09:57 +0000 (15:09 +0000)
includes/parser/Parser.php

index 45a5689..9f925d7 100644 (file)
@@ -1758,7 +1758,7 @@ class Parser
                                $skip = $time = false;
                                wfRunHooks( 'BeforeParserMakeImageLinkObj', array( &$this, &$nt, &$skip, &$time ) );
                                if ( $skip ) {
-                                       $link = $sk->makeLinkObj( $nt );
+                                       $link = $sk->link( $nt );
                                } else {
                                        $link = $sk->makeMediaLinkObj( $nt, $text, $time );
                                }
@@ -4507,7 +4507,7 @@ class Parser
                wfRunHooks( 'BeforeParserMakeImageLinkObj', array( &$this, &$title, &$skip, &$time, &$descQuery ) );
 
                if ( $skip ) {
-                       return $sk->makeLinkObj( $title );
+                       return $sk->link( $title );
                }
 
                # Get parameter map