Index: trunk/phase3/skins/common/protect.js |
— | — | @@ -6,7 +6,7 @@ |
7 | 7 | * Set up the protection chaining interface (i.e. "unlock move permissions" checkbox) |
8 | 8 | * on the protection form |
9 | 9 | * |
10 | | - * @param Object opts : parameters with members: |
| 10 | + * @param opts Object : parameters with members: |
11 | 11 | * tableId Identifier of the table containing UI bits |
12 | 12 | * labelText Text to use for the checkbox label |
13 | 13 | * numTypes The number of protection types |
— | — | @@ -76,7 +76,7 @@ |
77 | 77 | |
78 | 78 | /** |
79 | 79 | * Is this protection level cascadeable? |
80 | | - * @param String level |
| 80 | + * @param level String |
81 | 81 | * |
82 | 82 | * @return boolean |
83 | 83 | * |
— | — | @@ -94,7 +94,7 @@ |
95 | 95 | * When protection levels are locked together, update the rest |
96 | 96 | * when one action's level changes |
97 | 97 | * |
98 | | - * @param Element source Level selector that changed |
| 98 | + * @param source Element Level selector that changed |
99 | 99 | */ |
100 | 100 | 'updateLevels': function(source) { |
101 | 101 | if( !this.isUnchained() ) |
— | — | @@ -106,7 +106,7 @@ |
107 | 107 | * When protection levels are locked together, update the |
108 | 108 | * expiries when one changes |
109 | 109 | * |
110 | | - * @param Element source expiry input that changed |
| 110 | + * @param source Element expiry input that changed |
111 | 111 | */ |
112 | 112 | |
113 | 113 | 'updateExpiry': function(source) { |
— | — | @@ -133,7 +133,7 @@ |
134 | 134 | * When protection levels are locked together, update the |
135 | 135 | * expiry lists when one changes and clear the custom inputs |
136 | 136 | * |
137 | | - * @param Element source expiry selector that changed |
| 137 | + * @param source Element expiry selector that changed |
138 | 138 | */ |
139 | 139 | 'updateExpiryList': function(source) { |
140 | 140 | if( !this.isUnchained() ) { |
— | — | @@ -221,7 +221,7 @@ |
222 | 222 | /** |
223 | 223 | * Protect all actions at the specified level |
224 | 224 | * |
225 | | - * @param int index Protection level |
| 225 | + * @param index int Protection level |
226 | 226 | */ |
227 | 227 | 'setAllSelectors': function(index) { |
228 | 228 | this.forEachLevelSelector(function(element) { |
— | — | @@ -234,7 +234,7 @@ |
235 | 235 | /** |
236 | 236 | * Apply a callback to each protection selector |
237 | 237 | * |
238 | | - * @param callable func Callback function |
| 238 | + * @param func callable Callback function |
239 | 239 | */ |
240 | 240 | 'forEachLevelSelector': function(func) { |
241 | 241 | var selectors = this.getLevelSelectors(); |
Index: trunk/phase3/resources/jquery/jquery.textSelection.js |
— | — | @@ -256,7 +256,7 @@ |
257 | 257 | * |
258 | 258 | * Scroll a textarea to the current cursor position. You can set the cursor |
259 | 259 | * position with setSelection() |
260 | | - * @param force boolean Whether to force a scroll even if the caret position |
| 260 | + * @param options boolean Whether to force a scroll even if the caret position |
261 | 261 | * is already visible. Defaults to false |
262 | 262 | */ |
263 | 263 | scrollToCaretPosition: function( options ) { |
Index: trunk/phase3/resources/jquery/jquery.expandableField.js |
— | — | @@ -39,8 +39,8 @@ |
40 | 40 | }, |
41 | 41 | /** |
42 | 42 | * Sets the value of a property, and updates the widget accordingly |
43 | | - * @param {String} property Name of property |
44 | | - * @param {Mixed} value Value to set property with |
| 43 | + * @param property String Name of property |
| 44 | + * @param value Mixed Value to set property with |
45 | 45 | */ |
46 | 46 | configure: function( context, property, value ) { |
47 | 47 | // Validate creation using fallback values |
Index: trunk/phase3/resources/jquery/jquery.cookie.js |
— | — | @@ -25,16 +25,16 @@ |
26 | 26 | * @desc Delete a cookie by passing null as value. Keep in mind that you have to use the same path and domain |
27 | 27 | * used when the cookie was set. |
28 | 28 | * |
29 | | - * @param String key The key of the cookie. |
30 | | - * @param String value The value of the cookie. |
31 | | - * @param Object options An object literal containing key/value pairs to provide optional cookie attributes. |
32 | | - * @option Number|Date expires Either an integer specifying the expiration date from now on in days or a Date object. |
| 29 | + * @param key String The key of the cookie. |
| 30 | + * @param value String The value of the cookie. |
| 31 | + * @param options Object An object literal containing key/value pairs to provide optional cookie attributes. |
| 32 | + * @option expires Number|Date Either an integer specifying the expiration date from now on in days or a Date object. |
33 | 33 | * If a negative value is specified (e.g. a date in the past), the cookie will be deleted. |
34 | 34 | * If set to null or omitted, the cookie will be a session cookie and will not be retained |
35 | 35 | * when the the browser exits. |
36 | | - * @option String path The value of the path atribute of the cookie (default: path of page that created the cookie). |
37 | | - * @option String domain The value of the domain attribute of the cookie (default: domain of page that created the cookie). |
38 | | - * @option Boolean secure If true, the secure attribute of the cookie will be set and the cookie transmission will |
| 36 | + * @option path String The value of the path atribute of the cookie (default: path of page that created the cookie). |
| 37 | + * @option domain String The value of the domain attribute of the cookie (default: domain of page that created the cookie). |
| 38 | + * @option secure Boolean If true, the secure attribute of the cookie will be set and the cookie transmission will |
39 | 39 | * require a secure protocol (like HTTPS). |
40 | 40 | * @type undefined |
41 | 41 | * |
— | — | @@ -49,7 +49,7 @@ |
50 | 50 | * @example $.cookie('the_cookie'); |
51 | 51 | * @desc Get the value of a cookie. |
52 | 52 | * |
53 | | - * @param String key The key of the cookie. |
| 53 | + * @param key String The key of the cookie. |
54 | 54 | * @return The value of the cookie. |
55 | 55 | * @type String |
56 | 56 | * |
Index: trunk/phase3/resources/jquery/jquery.suggestions.js |
— | — | @@ -105,8 +105,8 @@ |
106 | 106 | }, |
107 | 107 | /** |
108 | 108 | * Sets the value of a property, and updates the widget accordingly |
109 | | - * @param {String} property Name of property |
110 | | - * @param {Mixed} value Value to set property with |
| 109 | + * @param property String Name of property |
| 110 | + * @param value Mixed Value to set property with |
111 | 111 | */ |
112 | 112 | configure: function( context, property, value ) { |
113 | 113 | // Validate creation using fallback values |
Index: trunk/phase3/resources/mediawiki.util/mediawiki.util.test.js |
— | — | @@ -19,9 +19,9 @@ |
20 | 20 | /** |
21 | 21 | * Adds a row to the test-table |
22 | 22 | * |
23 | | - * @param String code Code of the test to be executed |
24 | | - * @param String result Expected result in 'var (vartype)' form |
25 | | - * @param String contain Important part of the result, if result is different but does contain this it will not return ERROR but PARTIALLY |
| 23 | + * @param code String Code of the test to be executed |
| 24 | + * @param result String Expected result in 'var (vartype)' form |
| 25 | + * @param contain String Important part of the result, if result is different but does contain this it will not return ERROR but PARTIALLY |
26 | 26 | */ |
27 | 27 | 'addTest' : function( code, result, contain ) { |
28 | 28 | if (!contain) { |
Index: trunk/phase3/resources/mediawiki/mediawiki.js |
— | — | @@ -88,8 +88,8 @@ |
89 | 89 | * |
90 | 90 | * If called with no arguments, all values will be returned. |
91 | 91 | * |
92 | | - * @param {mixed} selection Key or array of keys to get values for |
93 | | - * @param {mixed} fallback Value to use in case key(s) do not exist (optional) |
| 92 | + * @param selection mixed Key or array of keys to get values for |
| 93 | + * @param fallback mixed Value to use in case key(s) do not exist (optional) |
94 | 94 | */ |
95 | 95 | Map.prototype.get = function( selection, fallback ) { |
96 | 96 | if ( typeof selection === 'object' ) { |
— | — | @@ -114,8 +114,8 @@ |
115 | 115 | /** |
116 | 116 | * Sets one or multiple key/value pairs. |
117 | 117 | * |
118 | | - * @param {mixed} selection Key or object of key/value pairs to set |
119 | | - * @param {mixed} value Value to set (optional, only in use when key is a string) |
| 118 | + * @param selection mixed Key or object of key/value pairs to set |
| 119 | + * @param value mixed Value to set (optional, only in use when key is a string) |
120 | 120 | */ |
121 | 121 | Map.prototype.set = function( selection, value ) { |
122 | 122 | if ( typeof selection === 'object' ) { |
— | — | @@ -130,8 +130,8 @@ |
131 | 131 | /** |
132 | 132 | * Checks if one or multiple keys exist. |
133 | 133 | * |
134 | | - * @param {mixed} key Key or array of keys to check |
135 | | - * @return {boolean} Existence of key(s) |
| 134 | + * @param selection mixed Key or array of keys to check |
| 135 | + * @return boolean Existence of key(s) |
136 | 136 | */ |
137 | 137 | Map.prototype.exists = function( selection ) { |
138 | 138 | if ( typeof keys === 'object' ) { |
— | — | @@ -159,7 +159,7 @@ |
160 | 160 | /** |
161 | 161 | * Appends parameters for replacement |
162 | 162 | * |
163 | | - * @param {mixed} args First in a list of variadic arguments to append as message parameters |
| 163 | + * @param parameters mixed First in a list of variadic arguments to append as message parameters |
164 | 164 | */ |
165 | 165 | Message.prototype.params = function( parameters ) { |
166 | 166 | for ( var i = 0; i < parameters.length; i++ ) { |
— | — | @@ -258,8 +258,8 @@ |
259 | 259 | /** |
260 | 260 | * Gets a message object, similar to wfMessage() |
261 | 261 | * |
262 | | - * @param {string} key Key of message to get |
263 | | - * @param {mixed} params First argument in a list of variadic arguments, each a parameter for $ |
| 262 | + * @param key string Key of message to get |
| 263 | + * @param parameters mixed First argument in a list of variadic arguments, each a parameter for $ |
264 | 264 | * replacement |
265 | 265 | */ |
266 | 266 | this.message = function( key, parameters ) { |
Index: trunk/phase3/resources/mediawiki.language/mediawiki.language.js |
— | — | @@ -38,9 +38,9 @@ |
39 | 39 | /** |
40 | 40 | * Plural form transformations, needed for some languages. |
41 | 41 | * |
42 | | - * @param {integer} count Non-localized quantifier |
43 | | - * @param {array} forms List of plural forms |
44 | | - * @return {string} Correct form for quantifier in this language |
| 42 | + * @param count integer Non-localized quantifier |
| 43 | + * @param forms array List of plural forms |
| 44 | + * @return string Correct form for quantifier in this language |
45 | 45 | */ |
46 | 46 | 'convertPlural': function( count, forms ){ |
47 | 47 | if ( !forms || forms.length == 0 ) { |
— | — | @@ -51,9 +51,9 @@ |
52 | 52 | /** |
53 | 53 | * Pads an array to a specific length by copying the last one element. |
54 | 54 | * |
55 | | - * @param {array} forms Number of forms given to convertPlural |
56 | | - * @param {integer} count Number of forms required |
57 | | - * @return {array} Padded array of forms |
| 55 | + * @param forms array Number of forms given to convertPlural |
| 56 | + * @param count integer Number of forms required |
| 57 | + * @return array Padded array of forms |
58 | 58 | */ |
59 | 59 | 'preConvertPlural': function( forms, count ) { |
60 | 60 | while ( forms.length < count ) { |