X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=resources%2Fsrc%2Fmediawiki.special%2Fmediawiki.special.preferences.js;h=e553f449d61e688bdb6d5e6a37baad5d54a400c4;hb=a881c290647c3b5f3388e44ba4a3d334d23c30ee;hp=2cd27af991eba4bfc93e6db24e3b4dbf0610078c;hpb=bd2a78a159ce6d9f7b27fd75d05570228b44c3cb;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/src/mediawiki.special/mediawiki.special.preferences.js b/resources/src/mediawiki.special/mediawiki.special.preferences.js index 2cd27af991..e553f449d6 100644 --- a/resources/src/mediawiki.special/mediawiki.special.preferences.js +++ b/resources/src/mediawiki.special/mediawiki.special.preferences.js @@ -1,4 +1,4 @@ -/** +/*! * JavaScript for Special:Preferences */ jQuery( function ( $ ) { @@ -46,9 +46,10 @@ jQuery( function ( $ ) { /** * It uses document.getElementById for security reasons (HTML injections in $()). * + * @ignore * @param String name: the name of a tab without the prefix ("mw-prefsection-") * @param String mode: [optional] A hash will be set according to the current - * open section. Set mode 'noHash' to surpress this. + * open section. Set mode 'noHash' to surpress this. */ function switchPrefTab( name, mode ) { var $tab, scrollTop; @@ -159,10 +160,8 @@ jQuery( function ( $ ) { } ); } - /** - * Timezone functions. - * Guesses Timezone from browser and updates fields onchange - */ + // Timezone functions. + // Guesses Timezone from browser and updates fields onchange. $tzSelect = $( '#mw-input-wptimecorrection' ); $tzTextbox = $( '#mw-input-wptimecorrection-other' ); @@ -201,7 +200,7 @@ jQuery( function ( $ ) { } } - function updateTimezoneSelection () { + function updateTimezoneSelection() { var minuteDiff, localTime, type = $tzSelect.val();