Merge "Revert "Adding sanity check to Title::isRedirect().""
[lhc/web/wiklou.git] / resources / mediawiki / mediawiki.util.js
index eade86b..4c20fad 100644 (file)
 
                        // Chrome on any platform
                        } else if ( profile.name === 'chrome' ) {
-                               
+
                                util.tooltipAccessKeyPrefix = (
-                                       // Chrome on Mac
-                                       profile.platform === 'mac' ? 'ctrl-option-' :
-                                       // Chrome on Windows
-                                       // (both alt- and alt-shift work, but alt-f triggers Chrome wrench menu
-                                       // which alt-shift-f does not)
-                                       profile.platform === 'win' ? 'alt-shift-' :
-                                       // Chrome on Ubuntu (and other?)
-                                       'alt-'
+                                       profile.platform === 'mac'
+                                               // Chrome on Mac
+                                               ? 'ctrl-option-'
+                                               : profile.platform === 'win'
+                                                       // Chrome on Windows
+                                                       // (both alt- and alt-shift work, but alt-f triggers Chrome wrench menu
+                                                       // which alt-shift-f does not)
+                                                       ? 'alt-shift-'
+                                                       // Chrome on other (Ubuntu?)
+                                                       : 'alt-'
                                );
 
                        // Non-Windows Safari with webkit_version > 526
                 * Get address to a script in the wiki root.
                 * For index.php use mw.config.get( 'wgScript' )
                 *
+                * @since 1.18
                 * @param str string Name of script (eg. 'api'), defaults to 'index'
                 * @return string Address to script (eg. '/w/api.php' )
                 */