$( function () {
mw.util.$content.dblclick( function ( e ) {
var $a;
// Recheck preference so extensions can do a hack to disable this code.
if ( parseInt( mw.user.options.get( 'editondblclick' ), 10 ) ) {
e.preventDefault();
$( function () {
mw.util.$content.dblclick( function ( e ) {
var $a;
// Recheck preference so extensions can do a hack to disable this code.
if ( parseInt( mw.user.options.get( 'editondblclick' ), 10 ) ) {
e.preventDefault();