From 8a13e08f7e8b8d94246380942570d8a68896ccd5 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sun, 3 Aug 2008 16:36:45 +0000 Subject: [PATCH] Use clone() directly instead of wfClone() --- includes/Linker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Linker.php b/includes/Linker.php index 6761231187..cfd7342c19 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -1235,7 +1235,7 @@ class Linker { if ( $local ) { $sectionTitle = Title::newFromText( '#' . $section ); } else { - $sectionTitle = wfClone( $title ); + $sectionTitle = clone( $title ); $sectionTitle->mFragment = $section; } $link = $this->link( $sectionTitle, -- 2.20.1