Use link() instead of deprecated makeLinkObj() where possible.
[lhc/web/wiklou.git] / includes / User.php
index 4ab5785..d10bc34 100644 (file)
@@ -3205,7 +3205,7 @@ class User {
                if( $title ) {
                        global $wgUser;
                        $sk = $wgUser->getSkin();
-                       return $sk->makeLinkObj( $title, htmlspecialchars( $text ) );
+                       return $sk->link( $title, htmlspecialchars( $text ) );
                } else {
                        return $text;
                }