Merge "ApiQueryInfo: fix query limits for testactions"
[lhc/web/wiklou.git] / resources / src / mediawiki.util.js
index 1db8904..ca0c303 100644 (file)
 
                        // Update tooltip for the access key after inserting into DOM
                        // to get a localized access key label (T69946).
-                       $link.updateTooltipAccessKeys();
+                       if ( accesskey ) {
+                               $link.updateTooltipAccessKeys();
+                       }
 
                        return $item[ 0 ];
                },
                }() );
        }
 
-       /**
-        * Former public initialisation. Now a no-op function.
-        *
-        * @method util_init
-        * @deprecated since 1.30
-        */
-       mw.log.deprecate( util, 'init', $.noop, 'Remove the call of mw.util.init().', 'mw.util.init' );
-
        $( init );
 
        mw.util = util;