wiki.techinc.nl/tests/phpunit/includes/changes
Fomafix 9bf98ab9db EnhancedChangesList: Use HTML/CSS for collapsing
The collapsing on the enhanced changes list now works without
JavaScript.

Keyboard navigation is still supported but only the space and not the
return toggles the collapsing toggle button.

The <input type="checkbox"> element needs an unique identifier in the
`id` attribute and the same value must be in the `for` attribute of the
<label> element. A simple counter in the class EnhancedChangesList
starts twice from the beginning if the recent changes get included as:

 {{Special:RecentChanges|enhanced=1}}
 {{Special:RecentChanges|enhanced=1}}

Therefore a random value is used as checkbox identifier.

The module 'jquery.makeCollapsible' and its classes `mw-collapsible`,
`mw-collapsed` and `mw-collapsible-toggle-collapsed` are not needed
anymore.

The icons from module 'mediawiki.icon' are directly included because the
module has fixed selectors which do not fit here.

Bug: T172618
Change-Id: Iafd27e5d760b78ae386d833946005f86cee8dd64
2023-07-13 23:12:45 +00:00
..
CategoryMembershipChangeTest.php Reorg: Namespace the Title class 2023-03-02 08:46:53 -05:00
EnhancedChangesListTest.php EnhancedChangesList: Use HTML/CSS for collapsing 2023-07-13 23:12:45 +00:00
OldChangesListTest.php tests: Make some PHPUnit data providers static 2023-05-20 01:05:27 +02:00
RCCacheEntryFactoryTest.php Reorg: Namespace the Title class 2023-03-02 08:46:53 -05:00
RecentChangeTest.php rcfeed: Add 'notify_url' and 'title_url' to MachineReadableRCFeedFormatter 2023-05-19 15:48:40 +03:00
TestRecentChangesHelper.php Reorg: Namespace the Title class 2023-03-02 08:46:53 -05:00