From efb774b085c7e48c924fd1977f3c8e9435ef8d0b Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Fri, 1 Aug 2008 15:09:57 +0000 Subject: [PATCH] Convert two more Parser uses, no parser test failures. Any more conversions look like they'll have to get the parser to use arrays for query strings instead of storing them as strings. --- includes/parser/Parser.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index 45a5689d0e..9f925d7231 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -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 -- 2.20.1