aboutsummaryrefslogtreecommitdiffstats
path: root/includes/widget/ExpiryInputWidget.php
Commit message (Collapse)AuthorAgeFilesLines
* Fix unused vars/pointless assignmentsMax Semenik2019-03-291-2/+0
| | | | Change-Id: If475c738b4af7208024c866594d4c0048af053dd
* Replace lowercase {@inheritdoc} with @inheritDocThiemo Kreuz2019-03-011-1/+1
| | | | | | | | | According to the coding standards we even enforce with a custom PHPCS sniff. It currently does not pick these mistakes up because of the curly brackets. I'm not sure if this is worth an update of the PHPCS sniff. I wanted to suggest this fix anyway. Change-Id: I9041ea7a00baf7f55e0ff0e56879a89fb74bb479
* Follow-up 3481e3b2: Drop disablability of ExpiryInputWidget before 1.32 is cutJames D. Forrester2018-10-161-16/+4
| | | | | | | | | No longer used anywhere(?); we'd rather not have to explain the temporary variable in the MediaWiki 1.32.0 release notes if we can instead just not ship it. Bug: T192620 Change-Id: Icfb82f228512ed45f1a27ce3e565fbc5fc09f39c
* Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenientBartosz DziewoƄski2018-05-301-1/+1
| | | | | | | | | | | | | | Find: /isset\(\s*([^()]+?)\s*\)\s*\?\s*\1\s*:\s*/ Replace with: '\1 ?? ' (Everywhere except includes/PHPVersionCheck.php) (Then, manually fix some line length and indentation issues) Then manually reviewed the replacements for cases where confusing operator precedence would result in incorrect results (fixing those in I478db046a1cc162c6767003ce45c9b56270f3372). Change-Id: I33b421c8cb11cdd4ce896488c9ff5313f03a38cf
* Create Expiry Widget with Date Time SelectorDavid Barratt2018-04-191-0/+77
Special:Block needs a date time selector for easier selection of expiry. To accommodate this cleanly, a new Expiry Widget is created that handles this logic. Bug: T132220 Change-Id: I2853a2ca0ae6ccead3978f4bb50a77c2baa3a150