wiki.techinc.nl/includes/htmlform
Bartosz Dziewoński 3e85dfb8ad Standardize indentation of multiline 'if'/'elseif' conditions
Always indent the continuation one level deeper, and always place the
closing parenthesis on the next line, per coding conventions.
https://www.mediawiki.org/wiki/Manual:Coding_conventions#Indenting_and_alignment
https://www.mediawiki.org/wiki/Manual:Coding_conventions#Line_continuation

Regexp used: (\t+)(if|while|\} elseif|foreach).+(?<![;}])\n\1\S

Also:
* Change to just one line if line length stays under 100 characters.
* Add "// Do nothing" comment in empty 'if' bodies.
* Change '#' comments to '//' comments near affected code.

Change-Id: I4f62658fddb5a0ed18bbf9b2231cd794683d6402
2014-11-17 15:33:34 +00:00
..
HTMLApiField.php
HTMLAutoCompleteSelectField.php Fixed spacing 2014-08-27 18:31:50 +02:00
HTMLButtonField.php Fixed some @params documentation (includes/*) 2014-04-20 23:33:05 +02:00
HTMLCheckField.php Fix regression: Allow HTML as checkbox label in HTMLCheckField 2014-08-23 21:12:26 -04:00
HTMLCheckMatrix.php includes/htmlform/: Use Config instead of globals 2014-08-23 22:09:15 -07:00
HTMLEditTools.php Add missing @param to function docs 2014-08-14 20:22:52 +02:00
HTMLFloatField.php
HTMLForm.php SpecialNewpages: Prepare for mw-ui 2014-10-15 23:25:11 +02:00
HTMLFormField.php Merge "Improve hidden field validation" 2014-09-16 00:10:13 +00:00
HTMLFormFieldCloner.php HTMLForm: Improve hidden field handling 2014-10-09 13:40:04 -04:00
HTMLFormFieldRequiredOptionsException.php
HTMLHiddenField.php HTMLForm: Improve hidden field handling 2014-10-09 13:40:04 -04:00
HTMLInfoField.php Add missing @param to function docs 2014-08-14 20:22:52 +02:00
HTMLIntField.php Standardize indentation of multiline 'if'/'elseif' conditions 2014-11-17 15:33:34 +00:00
HTMLMultiSelectField.php HtmlForm: Use mw-ui-checkbox only if wgUseMediaWikiUIEverywhere is enabled 2014-09-23 19:14:50 -07:00
HTMLNestedFilterable.php Fixed some @params documentation (includes/*) 2014-04-20 23:33:05 +02:00
HTMLRadioField.php Fixed some @params documentation (includes/*) 2014-04-20 23:33:05 +02:00
HTMLSelectAndOtherField.php Standardize indentation of multiline 'if'/'elseif' conditions 2014-11-17 15:33:34 +00:00
HTMLSelectField.php Fixed spacing 2014-07-19 23:12:10 +02:00
HTMLSelectLimitField.php Turn HTMLBlockedUsersItemSelect into HTMLSelectLimitField 2014-07-13 22:44:39 +00:00
HTMLSelectNamespace.php SpecialNewpages: Prepare for mw-ui 2014-10-15 23:25:11 +02:00
HTMLSelectOrOtherField.php HTMLSelectOtherFields: Have 'other' always as first element 2014-06-29 11:50:52 +00:00
HTMLSubmitField.php
HTMLTagFilter.php Always return string on HTMLTagFilter::getInputHTML 2014-10-31 11:58:57 +01:00
HTMLTextAreaField.php Add blanket support for mediawiki ui via globals 2014-08-15 14:48:00 -07:00
HTMLTextField.php Restore ability for getAttributes to set HTMLTextField type 2014-09-30 12:10:45 -04:00