War on wfElement() and friends. Call the Xml members directly, rather than using...
[lhc/web/wiklou.git] / includes / Skin.php
index 90a6b77..4eab2f4 100644 (file)
@@ -646,7 +646,7 @@ END;
                if($wgOut->isArticle() && $wgUser->getOption('editondblclick') &&
                  $wgTitle->quickUserCan( 'edit' ) ) {
                        $s = $wgTitle->getFullURL( $this->editUrlOptions() );
-                       $s = 'document.location = "' .wfEscapeJSString( $s ) .'";';
+                       $s = 'document.location = "' .Xml::escapeJsString( $s ) .'";';
                        $a += array ('ondblclick' => $s);
 
                }